teleop_twist_keyboard

this package can adjust the speed of the robot to avoid robot drive too fast 

teleop_twist_keyboard

Generic Keyboard Teleoperation for ROS

Run

ros2 run teleop_twist_keyboard teleop_twist_keyboard

Publishing to a different topic (in this case my_cmd_vel).

ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args --remap cmd_vel:=my_cmd_vel

Usage

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

Parameters

  • stamped (bool, default: false)
    • If false (the default), publish a geometry_msgs/msg/Twist message. If true, publish a geometry_msgs/msg/TwistStamped message.
  • frame_id (string, default: '')
    • When stamped is true, the frame_id to use when publishing the geometry_msgs/msg/TwistStamped message.

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-11 07:04:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-11 07:04:03       100 阅读
  3. 在Django里面运行非项目文件

    2024-01-11 07:04:03       82 阅读
  4. Python语言-面向对象

    2024-01-11 07:04:03       91 阅读

热门阅读

  1. Buffer(缓冲)、Cache(缓存)

    2024-01-11 07:04:03       62 阅读
  2. 【c++笔记】总结!c++与c语言的不同之处

    2024-01-11 07:04:03       50 阅读
  3. 前端要了解的k8s、CI/CD、Devops概念

    2024-01-11 07:04:03       55 阅读
  4. mysql中使用IN的注意事项

    2024-01-11 07:04:03       59 阅读
  5. bat脚本sqlserver 不同数据库同步

    2024-01-11 07:04:03       58 阅读
  6. 存储服务器有什么功能?

    2024-01-11 07:04:03       54 阅读
  7. 记录 | ubuntu给ssh远程的服务器起别名

    2024-01-11 07:04:03       59 阅读