ROS and Raspberry Pi for beginners | Tutorial on a Donkey Car

Technically speaking there is no mention of any autopilot in my tutorial. But, as ROS (Robot Operating System) becomes more and more popular, I kinda felt like it was time to create a Tutorial for beginner that was actually fun to do (and watch, I hope).

So I decided to go for a real example. I had my Donkey Car ( parked somewhere (too many things to do) and I thought that would have been a perfect robot to start with.

This video covers (it's long, but I wrote down the time marks in the description on YouTube):

  • setting up a Raspberry Pi 3 with an SD card image from Ubiquity Robotics, with ROS Kinetic installed. 
  • installing ROS on Ubuntu
  • ROS master, ROS_MASTER_URI and ROS running on multiple platforms
  • Packages installation and creation
  • topics and messages
  • writing a script (publisher and subscriber) in Python
  • lots of fun outdoor

You are all welcome to contribute with your own packages!

CODE: Find the code on Github


Views: 1631

Comment by Rana on January 6, 2019 at 4:18am

It was really awesome !, if possible pls use gaming joystick to control the car and in your further testing pls include object recognition and collision avoidance using OpenCV.

Comment by Andreas Gazis on January 6, 2019 at 5:58am

Nice, thanks.

Comment by Tiziano Fiorenzani on January 7, 2019 at 5:20pm

Sure guys. The idea is moving step by step towards something a little more complicated. 

Comment by Tiziano Fiorenzani on January 14, 2019 at 7:49am

The first video is going great, but I received lots of comments and questions that made me feel I have gone too fast.

So I decided to take a step back and divide the series is smaller, slower videos, where I guide step by step into the ROS concepts.

Episode #1: launching nodes, compiling packages, launch files, rosrun, roslaunch....

Comment by Tiziano Fiorenzani on January 21, 2019 at 12:23pm

Episode #2: Topics and rqt_graph

Comment by Tiziano Fiorenzani on January 27, 2019 at 8:38am

Episode #3: How to write your first Publisher node using Python

Comment by Tiziano Fiorenzani on February 12, 2019 at 10:35am

Episode #4: Simple Subscriber Node

Comment by Tiziano Fiorenzani on February 12, 2019 at 10:35am

Episode #5: Define a Custom message

Comment by Tiziano Fiorenzani on March 16, 2019 at 5:21am

Episode #6: SONARS for Obstacle Avoidance


You need to be a member of DIY Drones to add comments!

Join DIY Drones


Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service