Back to Learn
Intermediate20 min read3 parts

Drive a Differential Base with cmd_vel and Twist

Understand `cmd_vel` and Twist messages, then teleoperate and test the robot safely.

Goal

Understand cmd_vel and Twist messages, then teleoperate and test the robot safely.

Procedure

  1. Raise the drive wheels or clear the test area.
  2. Launch the base controller.
  3. Use keyboard teleoperation.
  4. Send small manual Twist commands and verify direction.

Verification

Record the command output, confirm the expected ROS 2 topic or behaviour, and resolve power, TF and device-permission errors before continuing.

// partsUsed in this tutorial

MOTOR-001
ROS 2 Metal-Gear Serial Bus Servo
Motor
CONTROLLER-001
ROS 2 Motion Controller Board
Controller
BATTERY-001
24V 5Ah Lithium Battery Pack
Battery