ROS and Arduino with ROSserial | ROS tutorial #10

preview_player
Показать описание
How to integrate Arduino in your ROS project! In this example we will be using ROSserial to convert an Arduino nano into an interface for the RC receiver and to the two servos. The Arduino will read the PWM signal from the receiver and convert to ROS topic, and, at the same time, will subscribe to incoming topic commands from the raspberry pi and actuate the two servos.

🤓 ZERO TO ROS - The course for beginners:

👉🏼 Find the Code on the "arduino_servo" branch

👉🏼 ROSserial package and tutorials

👉🏼 STORE

Disclaimer: as an Amazon Associate I earn from qualifying purchases

⌚️ Time Marks
00:00 - Let's start
1:07 - Zero to ROS
1:26 - What is this tutorial about?
2:20 - What is ROSSerial
2:50 - Install Arduino IDE in Linux Ubuntu
3:15 - Arduino Sketch for RC input
5:04 - Arduino Sketch in between RC receiver and Servos
6:02 - The ROS tutorial explained
7:03 - Install ROSserial in the Arduino IDE and Servo example
10:49 - The Arduino Proxy node
11:54 - Modifying the DK_LLC node with the new servo interface
13:34 - Running everything together and outdoor test

******** Find me on Linkedin


Рекомендации по теме
Комментарии
Автор

This is a really good demo. Unfortunately the author is no more active on the channel.

alexnder
Автор

I'm thinking to run Keras with ROS for this donkey car... is it possible?

nurakhyarnordin
Автор

I am going to link ROSserial to RP Lidar. Yes, you are welcome to share useful links friends.

acevanefan
Автор

This was very helpful thank you so much, any chance you could do one where ros will send message to the arduino based on lidar information something like SLAM

osaydhussein
Автор

Unfortunately, there is no encoder in the engine of my RC vehicle. So how can I calculate odometry?

ozcankosar
Автор

Amazing tutorials Tiziano Fiorenzani. I can't run sudo apt-get install ros-humble-rosserial-arduino. any idea? thanks in advanced. it looks like I have to change command

jirivchi
Автор

Updating to Ubuntu 18.04 solved the i2c pwmboard dependency problem but ubiquity robotics doesn’t have a prebaked image for 18.04. Great work as always

XxPwnZsxX
Автор

HI tiziano, after watching your tutorial im try to subscribe into tf topic. everything looks work fine. the serial node can subscribe to tf topic and the tf topic data is well. but when i check the serial monitor i see that the data only update once after the serial node is started and then the data looks static. im using esp32. can you help me pls? or there are better methode? thx

fyi im using lidar carthographer and wants to get the coordinates data into arduino esp32.

fransflorenza
Автор

I want to communicate between Matlab (on my laptop) and ROS (on another Linux computer). I am using a serial communication (USB to RS232) between the 2 computers. Do I need rosserial in my case ? or do I just publish topics directly from Matlab ? Thanks in advance, and well done on your videos, very informative !!

darmanin
Автор

Hello again 😅, i am having problems installing the arduino ide on my Ubuntu 20.04 its on a raspberry pi, i followed the same steps but the arduino ide wont open any ideas ?

osaydhussein
Автор

Great project
please, could you share the link to buy the chassi of your robot ?

etiennemekonoudekpanou
Автор

How to solve this problem:
[ERROR] [1524089506.982801]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino.

I have tried several solutions available on the internet, but none has helped.

moreno
Автор

Hello, first of all thanks a lot for these great tutorials.
If we can control rover via teleop keyboard(raspberry pi) and arduino, what we need to do if we want to add lidar on rover and to do navigation. Thanks

agrimekatronik
Автор

Why do I need the raspberry pi....
Could it be done with the Arduino alone or a esp32 chipset

jordanducille
Автор

Thanks so much, could you make one on microRos with ros2?

josepablolopezaguado
Автор

is there something like this for ros2 ? for humble?

proplayerplayz
Автор

Will this work on STM32 instead of Arduino ?

christopherlazo
Автор

GREAT VIDEO AM USING ROS 2 GALACTIC SO I HAVE BEEN TRYING FOR WEEKS FOR IT TO WORK WITH ARDUINO CAN YOU HELP ME ON HOW TO SET IT UP

SIRIMULONDO
welcome to shbcf.ru