Это видео недоступно.
Сожалеем об этом.

ROS and Arduino with ROSserial | ROS tutorial #10

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • 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.
    We will be building up on everything we have learned in the previous tutorials: you can find the complete playlist right here: • What is ROS (Robot Ope...
    🤓 ZERO TO ROS - The course for beginners:
    courses.school...
    Intro video: • Zero to ROS - Course f...
    👉🏼 Find the Code on the "arduino_servo" branch
    github.com/tiz...
    👉🏼 ROSserial package and tutorials
    wiki.ros.org/ro...
    👉🏼 STORE
    - teespring.com/...
    - Raspberry Pi 4 (4 GB RAM): amzn.to/36GqwXf
    - Raspberry Pi 4 (2 GB RAM): amzn.to/2Aj7Pg3
    - Wide angle camera: amzn.to/2Pwc6P7
    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
    / tiziano-fiorenzani
    ** Go to my channel: goo.gl/BjLGnS
    ** Check out my latest video: goo.gl/ZhcNi4
    ** Check out my most popular video: goo.gl/5KMJnU

Комментарии • 39

  • @acevanefan
    @acevanefan 4 месяца назад

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

  • @XxPwnZsxX
    @XxPwnZsxX 2 года назад +1

    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

    • @prandtlmayer
      @prandtlmayer  2 года назад

      I myself have never had issues with that adapter. But this way was more fun and gave me the perfect opportunity to talk about rosserial. Thanks for posting the solution

  • @iitianvlogs9805
    @iitianvlogs9805 3 месяца назад

    How you connected the dc motor

  • @ozcankosar6206
    @ozcankosar6206 7 месяцев назад

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

  • @marcopter
    @marcopter 2 года назад

    Grande, ciao Tiziano!

  • @GiuseppeLabriola
    @GiuseppeLabriola 2 года назад

    Grande Tiziano!!

  • @alexnder8401
    @alexnder8401 5 месяцев назад

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

  • @jirivchi
    @jirivchi Год назад

    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

  • @osaydhussein258
    @osaydhussein258 2 года назад +1

    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

    • @prandtlmayer
      @prandtlmayer  2 года назад +2

      Once you know how to connect them, then you can expand it pretty much as you want.

  • @Elnasir
    @Elnasir Год назад

    Obstacle detection with a sonar

  • @fransflorenza9708
    @fransflorenza9708 2 года назад

    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.

  • @josepablolopezaguado6191
    @josepablolopezaguado6191 2 года назад

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

  • @etiennemekonoudekpanou675
    @etiennemekonoudekpanou675 9 месяцев назад

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

    • @prandtlmayer
      @prandtlmayer  9 месяцев назад

      You can find it on the description of one of the first videos of the series

  • @Drxxx
    @Drxxx 2 года назад

    great video

  • @darmanin703
    @darmanin703 Год назад

    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 !!

  • @jordanducille8600
    @jordanducille8600 Год назад

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

    • @alexnder8401
      @alexnder8401 5 месяцев назад

      you need RPi to run ROS. Neither Arduino nor esp can do that

  • @osaydhussein258
    @osaydhussein258 2 года назад

    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 ?

    • @prandtlmayer
      @prandtlmayer  2 года назад

      Actually not, it was flawless. You can also use the windows version. You can import the ros lib in windows as well

  • @agrimekatronik321
    @agrimekatronik321 2 года назад

    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

    • @prandtlmayer
      @prandtlmayer  2 года назад +1

      The Arduino here is just in between the RC and the vehicle and to control the servos. You can add other sensors to your robot now, no problem

  • @user-dl6ki2oy9y
    @user-dl6ki2oy9y Год назад

    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

    • @prandtlmayer
      @prandtlmayer  Год назад

      ROS2 does not have Rosserial. You need microRos, which is not compatible with 8 bit Arduino boards

    • @prandtlmayer
      @prandtlmayer  Год назад

      Otherwise you just build your own serial interface as a ROS 2 node which communicates with the Arduino board with your custom messages

  • @proplayerplayz
    @proplayerplayz Год назад

    is there something like this for ros2 ? for humble?

    • @prandtlmayer
      @prandtlmayer  Год назад

      Not on my channel. For ROS2 I would use Micro ROS, but they would not run on Arduino

  • @christopherlazo8485
    @christopherlazo8485 Год назад

    Will this work on STM32 instead of Arduino ?

    • @prandtlmayer
      @prandtlmayer  Год назад

      Yes, there is actually a rosserial_stn32 repo on GitHub

  • @moreno7886
    @moreno7886 2 года назад

    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.

  • @osaydhussein258
    @osaydhussein258 2 года назад

    Will this work on ros noetic ?

    • @prandtlmayer
      @prandtlmayer  2 года назад +1

      Yes it will. Any distribution with rosserial will work

  • @nurakhyarnordin3985
    @nurakhyarnordin3985 2 года назад

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

    • @prandtlmayer
      @prandtlmayer  2 года назад

      I don't see why not: answers.ros.org/question/375792/keras-for-ros/

  • @ravidrewett1488
    @ravidrewett1488 2 года назад

    𝐩𝐫𝐨𝐦𝐨𝐬𝐦