Driving around - NTheuws/linorobot2_software GitHub Wiki

We'll be enabling the Micro-ROS agent. This will allow the robot to receive Twist messages to control the robot, and publish odometry and IMU data straight from the microcontroller.

Run the agent:

ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0

2. Drive around

Run teleop_twist_keyboard package:

ros2 run teleop_twist_keyboard teleop_twist_keyboard 

On the screen you'll be able to see the options to drive the robot around using your keyboard.



Previous step: Testing robot

Next step: IMU data

⚠️ **GitHub.com Fallback** ⚠️