Тёмный

Write Python ROS (Robot Operating System) Publisher/Subscriber Nodes and Interface with Arduino 

Aleksandar Haber
Подписаться 21 тыс.
Просмотров 9 тыс.
50% 1

#ros #roboticoperatingsystem #robotics #mechatronics #mechanicalengineering #controltheory #controlengineering #controlsystems #machinelearning #electricalengineering #optimization
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
- Buy me a Coffee: www.buymeacoff...
- PayPal: www.paypal.me/...
- Patreon: www.patreon.co...
- You Can also press the Thanks RU-vid Dollar button
In this Robot Operating System (ROS) tutorial, we explain how to:
1. Write a ROS Python node that will publish (send) messages to Arduino. The Python publisher node will publish messages to a topic, and Arduino will subscribe to the same topic.
2. Write Arduino code that will interpret these messages, change them, and publish them to another topic.
3. Write a ROS Python node that will subscribe itself to a topic, and that will receive the messages back from Arduino.
The significance of this tutorial is in fact that this type of communication is often used in a control system for a mobile robot. Namely, a low-level Arduino microcontroller will control actuators/motors and receive information from sensors. The Arduino microcontroller should receive commands from a higher-level controller. For example, a higher-level controller controlling a mobile robot determined that the center of the mass of the robot should move to the new location. It sends the x and y coordinates of the desired position of the center of the mass to Arduino. Arduino then needs to control the motors such that the robot actually moves to the desired location. At the same time, Arduino needs to send back to the higher-level controller the current robot position and orientation while the robot is moving.

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@aleksandarhaber
@aleksandarhaber Год назад
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way: - Buy me a Coffee: www.buymeacoffee.com/AleksandarHaber - PayPal: www.paypal.me/AleksandarHaber - Patreon: www.patreon.com/user?u=32080176&fan_landing=true - You Can also press the Thanks RU-vid Dollar button
@artchu9886
@artchu9886 5 месяцев назад
Друг, ты великолепен как всегда. Спасибо за лучшие уроки)
@aleksandarhaber
@aleksandarhaber 5 месяцев назад
My native language is not Russian, however, I could understand your message. Thank you! A. Haber
@forrestjone3855
@forrestjone3855 5 месяцев назад
very grateful,appreciate your efforts.
@aleksandarhaber
@aleksandarhaber 5 месяцев назад
Many thanks!
@temilolorunaiyelari3676
@temilolorunaiyelari3676 10 месяцев назад
Great tutorial. Really solved most of my issues as a beginner to ROS. Please can you do a video of integrating an IMU with ROS? Or if there's a link to any document, can you share?
@aleksandarhaber
@aleksandarhaber 10 месяцев назад
Currently, there are no IMU tutorials, however, in the future I will create such tutorials.
@temilolorunaiyelari3676
@temilolorunaiyelari3676 10 месяцев назад
@@aleksandarhaber Thanks a lot. I have tried doing it the way you did in this tutorial but I don't get any value in the subcriber node in ROS. Please can I share the code with you via email?
@aleksandarhaber
@aleksandarhaber 10 месяцев назад
​@@temilolorunaiyelari3676I am not able to provide free help.
@temilolorunaiyelari3676
@temilolorunaiyelari3676 10 месяцев назад
@@aleksandarhaber Oh okay. I already figured it out. Thanks a lot for this tutorial. It really helped me a lot. Please keep up the good work.
@Berat-Tezer
@Berat-Tezer 8 месяцев назад
Helpful video, appreciate your efforts. Hope you achieve great success in your life
@aleksandarhaber
@aleksandarhaber 8 месяцев назад
Thank you!
@emrebahceci9965
@emrebahceci9965 11 месяцев назад
Sir, did you use Mujoco and Python?What do you think about them if you used?
@aleksandarhaber
@aleksandarhaber 11 месяцев назад
I did not. I will check it out. What is your experience?
@emrebahceci9965
@emrebahceci9965 11 месяцев назад
Rudimentary. I am trying to learn basics. My thesis advisor suggested.
@aleksandarhaber
@aleksandarhaber 11 месяцев назад
@@emrebahceci9965 To be honest, I am not a big fan of software that someone makes for me. I would rather make something similar by myself. You do not need that stuff to learn robotics properly.
Далее
кого отпустят гулять чееек
00:53
You can use ANY hardware with ros2_control
47:44
Просмотров 55 тыс.
Building a ROS Robot for Mapping and Navigation #1
19:53
Intro to micro-ROS
13:05
Просмотров 10 тыс.
Autonomous Rover From Scratch (ROS) Part 1
10:46
Просмотров 81 тыс.
The most important Python script I ever wrote
19:58
Просмотров 193 тыс.
10 years of embedded coding in 10 minutes
10:02
Просмотров 396 тыс.
Micro-Ros robot using PlatformIO for esp32 for ROS2
15:57