my_robot_esp32_ros is a Platformio package designed for low-level control of a unicycle robot. This package uses an ESP32 board to control a DBH-12 motor controller and enables communication with a differential drive hardware interface (hardware_interface) from ROS2_control.
- Microcontroller: ESP32
- Motor Controller: DBH-12
- Interface: ROS2_control for differential drive systems
- Robot Type: Unicycle robot
- Motor control using commands sent from ROS 2.
- Integration with ROS2_control to ensure compatibility with the ROS 2 differential control stack.
- Real-time transmission of motor feedback and system states.
-
Install Platformio: If you don't have Platformio installed yet, you can install it via the VSCode extension or using the command line:
pip install platformio
-
Clone the repository:
git clone <repository_link> cd my_robot_esp32_ros
-
Configure and upload the firmware:
- Connect the ESP32 to your computer.
- To compile and flash the firmware onto the ESP32, run:
platformio run --target upload
Once the firmware is installed on the ESP32, you can establish communication with ROS 2 by launching the ROS2_control node, which will manage the unicycle robot’s movement commands via the ROS interface.
To use this package with ROS 2, make sure you have configured a differential-type interface in your ROS2_control configuration file.
This project is licensed under the MIT License.
- Axel NIATO - Lead Developer