This project demonstrates how to set up and run a teleoperation controller using ESP-IDF and micro-ROS.
- ESP-IDF installed and configured (ESP-IDF documentation)
- Docker installed (for running micro-ROS agent)
- Git
# Clone ESP-IDF and enter your workspace
cd ~/esp
# Create a new ESP-IDF project
idf.py create-project teleop_controller
cd teleop_controller
# Add micro-ROS component
mkdir -p components
cd components
git clone https://github.com/micro-ROS/micro_ros_espidf_component
cd ..
# Set target to ESP32
idf.py set-target esp32
# Configure project options
idf.py menuconfigStart the micro-ROS agent using Docker:
sudo docker run -it --rm --net=host microros/micro-ros-agent:humble udp4 --port 8888 -v4- Agent IP address should be 192.168.0.32
- Adjust the UDP port as needed (default: 8888).
- Refer to the micro-ROS documentation for further configuration.