turtlebot3-burger_150.png
turtlebot3-waffle-pi_150.png
turtlebot3-arm_150.png
walking-y2_150.png
turbot3-multi_150.png
turbot3-dl-ros1_150.png
turbot3-ai.png
turbot3-dl-ros2_150.png
turbot3-slam_150.png
turbot3-arm_150.png
turtlebot4-lite_150.png
turtlebot4-pro_150.png
turbot4-dl_150.png
turbot4-ai_150.png
aidriving-racebot_150.png
aidriving-autodrive_150.png
turtlebot-arm_150.png
openmanipulator-x_150.png
Home » Turtlebot4快速入门教程_视频版 » TurtleBot4快速入门教程-键盘控制(含视频)

TurtleBot4快速入门教程-键盘控制(含视频)

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号

TurtleBot4快速入门教程-键盘控制

说明:

  • 本教程主要介绍如何使用键盘控制tb4

相关设备

操作步骤

  • 默认情况下,TB4启动后就会自动发布底盘的相关话题,现只需在远程PC上执行键盘控制程序即可

  • [Remote PC] 启动键盘控制程序

$ ros2 run teleop_twist_keyboard teleop_twist_keyboard
 
This node takes keypresses from the keyboard and publishes them
as Twist messages. It works best with a US keyboard layout.
---------------------------
Moving around:
   u    i    o
   j    k    l
   m    ,    .

For Holonomic mode (strafing), hold down the shift key:
---------------------------
   U    I    O
   J    K    L
   M    <    >

t : up (+z)
b : down (-z)

anything else : stop

q/z : increase/decrease max speeds by 10%
w/x : increase/decrease only linear speed by 10%
e/c : increase/decrease only angular speed by 10%

CTRL-C to quit

currently:	speed 0.5	turn 1.0
  • 分别按 ijkl, 键进行控制机器人
i 是增加线速度
, 是降低线速度
j 是增加角速度
l 是降低角速度
k 是停止
  • 注意:TB4的底盘不支持持续后退操作

演示视频

<iframe height=498 width=100% src="//player.bilibili.com/player.html?aid=899596391&bvid=BV13N4y1V7LE&cid=806369844&page=1&as_wide=1&high_quality=1&danmaku=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号


标签: none