Generic Keyboard Teleoperation for ROS
To run: 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
stamped (bool, default: false)
- If false (the default), publish a
geometry_msgs/msg/Twist
message. If true, publish ageometry_msgs/msg/TwistStamped
message.
- If false (the default), publish a
frame_id (string, default: '')
- When
stamped
is true, the frame_id to use when publishing thegeometry_msgs/msg/TwistStamped
message.
- When