DDD: ROS2 Twist – Driving Raspberry PI & Pico Robot from Dual Shock 4

DDD: ROS2 Twist – Driving Raspberry PI & Pico Robot from Dual Shock 4

In this video, I take DDD, my DIY Dev Droid, out for a drive. For the first time I have had the Robot off of the bench. I use a Dual Shock 4 as a controller to drive the Robot around like a remove control car.

In addition to the Raspberry PI Pico managing the motors it now runs MicroROS and subscribes to the Twist propulsion message from ROS2. In this video I explain how I subscribe to this message and convert it into instructions for the two motors. To test this out I use a Dual Shock 4 connecting to a Raspberry PI 4 over Bluetooth. The ROS2 teleop-twist-joy package and Aditya Kamath: ROS2 Packages akros2_drive and akros2_msgs

All of the source code for this experiment is included in the GitHub Repo.

This video is based on the work I have previously done around MicroROS and in building my Video Turntable Mk2 a simple ROS2 robot. It also uses the skills in FreeRTOS I teach on my Udemy course.

Leave a comment