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
Will we going to have a tutorial series about microROS?
Yes, we want a whole series on it.
Yeah pls
If enough people are interested I will!
@@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 😅😅😅
MicroROS serie, that would be awesome :o
@@ArticulatedRoboticsplease 🥺 make a tutorial series about Micro R.🥺🥺🥺
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.
Very cool! Thanks for the content!
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.
Thanks! Yes, even if I don't do a whole series I might do a video on setting up a normal micro-ROS workspace.
Great as always. bringing new topics. I have suggestion to fututre topic for you Rust+ROS I found it very convinient
This is such a great topic. MicroROS is a very usefull tool. Make more videos on this! 😁
Thanks, I may do!
Just love you for this josh♥️ you’re a Jem 💎
Thanks!
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.
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
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...
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
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
Hi, great video. I have a question for you: can i use microros on the ESP32 embedded inside Arduino R4 Wifi? thx
Also interested in using microros for microcontrollers - specifically would be excited to see you revisiting motors control using microros + ESP/adruino microcontrollers
@@Hanschanhscheck out linorobot2 for a great example of this
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
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.
Thank you for the content. What is the advantage of Micro-ROS over rosserial?
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.
Did you have to use the xrce dds for it to work?
Is it possible to control the previous autonomous robot with this button?
Is it possible to control the autonomous robot using this method?
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)