ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

There isn't much to it. Typically the chain is relatively short:

  • client reads keys
  • client translates key presses into Twist messages and publishes them on the cmd_vel topic
  • a motor control (ROS) node receives these messages since it is subscribed to that topic
  • the motor control node translates the Twist commands into control signals to the motor drivers

You can inspect this chain using rostopic echo cmd_vel, where you will see what the teleop client (joystick, keyboard, rviz, whichever) is sending.