ROS and SONARS for OBSTACLE AVOIDANCE | Tutorial #6 | ROS and Raspberry Pi @prandtlmayer
ROS and SONARS for OBSTACLE AVOIDANCE | Tutorial #6 | ROS and Raspberry Pi  @prandtlmayer
Uploaded March 2019 | Updated September 2026, 2 hours ago
** Visit my brand new portal at tiziano-school.thinkific.com where you can find this ROS series as a FREE course **

Let's write our first OBSTACLE AVOIDANCE algorithm, using ROS Kinetic, a Raspberry Pi and our Donkey Car. Thanks to 3 cheap sonar sensors we define new nodes for creating an obstacle avoidance action, to be fused with the controls coming from our laptop.

*** Propose your own algorithm and be part of my next shout out! **

*** This is a ROS tutorial series for beginners that uses a Raspberry Pi and a cheap RC Car ***

** You can find all the previous episodes here: youtube.com/watch?v=N6K2LWG2kRI&list=PLuteWQUGtU9BU0sQIVqRQa24p-pSBCYNv

** Watch the setup episode here: youtu.be/iLiI_IRedhI

*** Skip to the scene:
1:07 - How to connect the sonar to a Raspberry Pi
1:30 - How does the sonar work
2:12 - Main Algorithm explained
3:29 - ROS architecture
4:30 - Coding
7:00 - Sonar test
8:13 - Final testing

*** Find the Code: github.com/tizianofiorenzani/ros_tutorials

** Go to my channel: goo.gl/BjLGnS
** Check out my latest video: goo.gl/ZhcNi4
** Check out my most popular video: goo.gl/5KMJnU

******* DONKEY CAR PROJECT *******
donkeycar.com

******* GET A CHEAP RC CAR *******
- Magnet or HSP94186: amzn.to/2QL6gy4
- Exceed Racing Desert Blue: amzn.to/2QLtrbp
- Exceed Short course: amzn.to/2PydaC3
- Exceed Truck: amzn.to/2PAp5j3
- Exceed Monster: amzn.to/2PyAyj1

******* RASPBERRY PI AND CAMERA *******
- Raspberry Pi 4 (4 GB RAM): amzn.to/36GqwXf
- Raspberry Pi 4 (2 GB RAM): amzn.to/2Aj7Pg3
- Raspberry Pi 3 Model B: amzn.to/2PwbMjn
- Raspberry Pi 3 Model B+: amzn.to/2PxkWfn
- Wide angle camera: amzn.to/2Pwc6P7

******* SERVOS *******
- Adafruit 16Ch Servo board: amzn.to/2LbxF7b

******* SONAR *******
- HC-SR04 (5pcs): amzn.to/2IVXEBZ

- SONARS withs stands (5 pcs): amzn.to/2XHtZA3


******** Find me on Facebook
facebook.com/tizianotutorials

******** Find me on Reddit
reddit.com/user/tizianofiorenzani

******** Find me on Linkedin
linkedin.com/in/tiziano-fiorenzani

******** Find me on Twitter
twitter.com/TFiorenzani

#ros #rostutorial #sonar #obstacle
ROS and SONARS for OBSTACLE AVOIDANCE | Tutorial #6 | ROS and Raspberry PiMaixPy Dock, $20 Machine Learning kit | Openbox, Setup and ExamplesBuilding an RC F-35B with Eric Maglio | Talking with developersInterdrone 2018 | Interviews | Straight Up ImagingWhat is ROS (Robot Operating System)| Introduction to the TutorialsDIY Laser Scanner with TfMini and Raspberry Pi | ROS Tutorial for beginners #7Interdrone 2018 | Interviews | HiTEC Commercial SolutionsPRE-SALE!!! - Engineering 101 for the Drone IndustryInterdrone 2018 | Interviews | Electrafly and their flying bikeOpenCv and Camera Calibration on a Raspberry Pi 3RPLidar and Hector SLAM for Beginners | ROS Tutorial #8Interdrone 2018 | Interviews | Skydio R1 and new SDK
Tiziano Fiorenzani |

ROS and SONARS for OBSTACLE AVOIDANCE | Tutorial #6 | ROS and Raspberry Pi

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER