Hi @pablogs
I am Usama and I am trying to make a robot using microros and esp32. And I want to learn the channel configuration with esp32 in microros and all other details related to it.
I want to use stepper motors, imu, encoders with esp32. But i donāt have enough knowledge.
From where can I find the documentation of esp32 channel configuration, PWM configuration, and all this stuff. Any tutorial you can recommend?
So far i could find this. But its not enough for my project.
I will be waiting for your response.
Thank you
Hi, Usama! Iām Ezic, a developer from Espressif. Iām trying to apply MicroROS to ESP32 early this year, controlling a (MicroROS) car using ROS2 turtle node. Hereās some tips:
After a long time of browsing and trying, I found that MicroROS do not support much features in ROS2, and itās hard to use great packages in ROS2(esp32 cannot run packages written in Python, or you can spend some effort to use micro-python). Basically, you can build one esp32 as one node in your ROS2 network(not like Raspberry), a bit samilliar to ROS-Serial in ROS.
If you want to use esp32 to control motors or output PWM signals, you can refer to ESP-IDF documents PWM, control servos by mcpwm, step motors. You can use idf APIs in your codes.
Thatās my opinion after practcing. Please point out if something is wrong.
Iām now developing a new esp32 quadruped robot. We can keep in touch if you need help or communication.
I am very thankful to both of you guys, as this information drove me in the right direction. @zzMiao123 my approach will be:-
I will make a node in esp32 and create
Subscriber: cmd_vel
Publisher: odom, imu
The link you provided seems quite helpful. But I also get confused that this code is written in CPP. Will that be okay? because we use C in esp32.
I will inform you about the progress . And thanks again.
Unleash Your Creativity with the Lineturtle Drawing Robot! Dive into the exciting world of robotics as you learn to build a drawing robot powered by ESP32, MicroROS, and ROS2. Join our comprehensive guide/course to discover how to interface sensors, control actuators, and master the art of creating intricate designs on any surface. Whether youāre a beginner or a seasoned enthusiast, this journey promises hands-on learning, innovation, and endless fun. Letās draw, create, and explore robotics together! Course