Could this button control your robot? (Beginner micro-ROS Tutorial)

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • ROS runs great on computers, but what about microcontrollers? Enter micro-ROS! This allows us to publish and subscribe and more, all from a tiny board like the Raspberry Pi Pico, opening a whole new realm of possibilities for interfacing with low-level hardware.
    Check out PCBWay at pcbway.com/g/59QIMe
    👨‍💻️
    Code from tutorial github.com/joshnewans/microro...
    Pi Pico C/C++ SDK github.com/raspberrypi/pico-sdk
    -- Follow this readme --- micro-ROS Pi Pico SDK github.com/micro-ROS/micro_ro...
    picotool github.com/raspberrypi/picotool
    PicoLED Library github.com/ForsakenNGS/PicoLED
    📖
    micro-ROS Documentation micro.ros.org/docs/tutorials/...
    Instructions for more complex message memory allocation micro.ros.org/docs/tutorials/...
    💬 Join the discussion at discourse.articulatedrobotics...
    ❤️ Support me on Patreon! www.patreon.com/bePatron?u=55...
    00:00 - Intro
    01:18 - Set up the example code
    06:20 - Run the example
    08:00 - Hardware configuration
    09:35 - Modifying the example publisher
    15:35 - Add a subscriber to change colours
    24:45 - Creating a custom service
    33:36 - Outro

КОМЕНТАРІ • 34

  • @vikaspoddar9456
    @vikaspoddar9456 7 місяців тому +30

    Will we going to have a tutorial series about microROS?
    Yes, we want a whole series on it.

    • @vipulpardeshi2868
      @vipulpardeshi2868 7 місяців тому +2

      Yeah pls

    • @ArticulatedRobotics
      @ArticulatedRobotics  7 місяців тому +16

      If enough people are interested I will!

    • @vikaspoddar9456
      @vikaspoddar9456 7 місяців тому +3

      ​@@ArticulatedRobotics can we have tutorial of platformio, I think platformio is great unified tool for robotics/embedded electronics development, asit make it as easy as software dev cycle do one tutorial/series on platformio.
      I know, I am being greedy but when you have a great teacher with you you can be greedy 😅😅😅

    • @rick_er2481
      @rick_er2481 7 місяців тому +1

      MicroROS serie, that would be awesome :o

    • @SunirnayChatterjee-qy6pu
      @SunirnayChatterjee-qy6pu 7 місяців тому +3

      ​​@@ArticulatedRoboticsplease 🥺 make a tutorial series about Micro R.🥺🥺🥺

  • @user-pc2dz3bd3u
    @user-pc2dz3bd3u 6 місяців тому

    Had to laugh at the colour typo. I saw exactly the same issue on a tutorial on the BBC Basic back in the mid 80s. The English language is a bug you'll never fix!
    Really love how in depth you go with these videos. I am spending my holidays watching each one as I learn ROS. Thank you for creating them.

  • @user-gc7yo4il5f
    @user-gc7yo4il5f 6 місяців тому

    Very cool! Thanks for the content!

  • @kevinwoodrobotics
    @kevinwoodrobotics 7 місяців тому +4

    MicroROS is a great tool that bridges the gap to the embedded world. Great video keep it up! Setting up the environment for each environment is definitely the tricky part.

    • @ArticulatedRobotics
      @ArticulatedRobotics  7 місяців тому

      Thanks! Yes, even if I don't do a whole series I might do a video on setting up a normal micro-ROS workspace.

  • @ronygab
    @ronygab 7 місяців тому

    Great as always. bringing new topics. I have suggestion to fututre topic for you Rust+ROS I found it very convinient

  • @milosnikolic1790
    @milosnikolic1790 7 місяців тому +3

    This is such a great topic. MicroROS is a very usefull tool. Make more videos on this! 😁

  • @hiteshjain2640
    @hiteshjain2640 7 місяців тому

    Just love you for this josh♥️ you’re a Jem 💎

  • @messerschmidtfpv4419
    @messerschmidtfpv4419 6 місяців тому

    It was good, it was fun. Thank you very much.
    RBG ring lights up and the button_tester works wonderfully. thank you very much for this code.
    I would be happy if you found your way back to the ESP32 terminal and explained to us how to play back the camera image or how to program the joysticks.

  • @messerschmidtfpv4419
    @messerschmidtfpv4419 6 місяців тому

    i use a arduino with py-serial, a ESP32 with micro_ros and wlan, now thank you, with a RP2040 with micro_ros and serial connection

  • @valeriovettori4738
    @valeriovettori4738 7 місяців тому

    I followed all your video, very good work... Can I suggest you ti integrate android phone in your Ros project? Smartphone and tablet have a very powerfull hardware, sensor, camera, microphone, processor etcetc... Use It for robot display, read sensor, Imu etcetc.. would be very intresting... Some python program like object recognition, voice recognition, run very well on Android device, touch screen for input and for display robot face for example can left Raspberry free to reserve resource for navigation... Please considere It for your project, some phone cost like a Pi-screen and can do mutch more...

  • @6Belliarh6
    @6Belliarh6 5 місяців тому

    Hi, I am very grateful to you for your work. I have 1 question: can I connect more than one pico to raspberry using an agent

  • @miguelangelgonzalezrodrigu3294
    @miguelangelgonzalezrodrigu3294 6 місяців тому

    Great video, have you tried using udp? I was trying to use the default int32_subscriber node in udp mode in an esp32 for a project but everytime I build the code it gives a lot of errors

  • @lucareitano2737
    @lucareitano2737 7 місяців тому +3

    Hi, great video. I have a question for you: can i use microros on the ESP32 embedded inside Arduino R4 Wifi? thx

    • @Hanschanhs
      @Hanschanhs 7 місяців тому

      Also interested in using microros for microcontrollers - specifically would be excited to see you revisiting motors control using microros + ESP/adruino microcontrollers

    • @atticusrussell1225
      @atticusrussell1225 7 місяців тому

      ​@@Hanschanhscheck out linorobot2 for a great example of this

  • @MuditGupta89
    @MuditGupta89 7 місяців тому +1

    Is there to use micro ROS with the plethora of arduino/micro Python libraries available for the pico? It would be a shame to have to rewrite all those easily available libraries to get micro ROS functionality. I feel like the arduino ROS serial was more forgiving in that regard

    • @ArticulatedRobotics
      @ArticulatedRobotics  7 місяців тому +1

      This is a great question and unfortunately I don't think so! I had this same problem as I found a python library for the neopixels straight away but couldn't use that with micro-ROS - thankfully I found PicoLed.

  • @obensustam3574
    @obensustam3574 7 місяців тому

    Thank you for the content. What is the advantage of Micro-ROS over rosserial?

    • @ArticulatedRobotics
      @ArticulatedRobotics  7 місяців тому

      Great question! The main difference is that micro-ROS is for ROS 2 whereas rosserial is for ROS 1. Also, I believe micro-ROS actually shares some of its code with "real" ROS 2, which has pros and cons.

  • @dima.askarov1900
    @dima.askarov1900 27 днів тому

    Did you have to use the xrce dds for it to work?

  • @EnigmaTales797
    @EnigmaTales797 Місяць тому

    Is it possible to control the previous autonomous robot with this button?

  • @NikunjPatel-lu1gn
    @NikunjPatel-lu1gn 19 днів тому

    Is it possible to control the autonomous robot using this method?

  • @hunrahel
    @hunrahel 6 місяців тому

    Is there no cleaner way than cloning whole repos? I really dislike how microros has the example baked into its pico api. I sure wish PICO_SDK_FETCH_FROM_GIT and external/pico_sdk_import.cmake actually worked (or had enough documentation to ensure it could be used out of the box)