To translate micro-ROS topics to be seen by the ROS2 environment we need to initialize a micro-ros agent by running the following command:
sudo docker run -it --rm -v /dev:/dev -v /dev/shm:/dev/shm --privileged --net=host microros/micro-ros-agent:jazzy serial --dev [your USB port] -v4
You should get the following output:
Press the reset button on the ESP32 to get the following:
This indicates that a connection has been established and there exists micro-ROS topics in the ROS2 environment space.
By default, these topics are visible only in ROS_DOMAIN_ID=0 and ROS_LOCALHOST_ONLY should not be initialized.
Run:
If you still do not see your topics, Run:
ros2 daemon stop ; ros2 daemon start
Hopefully the micro-ROS topics will appear.
To translate micro-ROS topics to be seen by the ROS2 environment we need to initialize a micro-ros agent by running the following command:
You should get the following output:
Press the reset button on the ESP32 to get the following:
This indicates that a connection has been established and there exists micro-ROS topics in the ROS2 environment space.
By default, these topics are visible only in ROS_DOMAIN_ID=0 and ROS_LOCALHOST_ONLY should not be initialized.
Run:
If you still do not see your topics, Run:
ros2 daemon stop ; ros2 daemon startHopefully the micro-ROS topics will appear.