ROS2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=ROS2= ROS2 is released in a docker container named <code>ros_docker_epuck</code>.<br/> The ROS2 node can be found here [https://github.com/gctronic/epuck_ros2 https://github....") |
(No difference)
|
Revision as of 08:17, 13 October 2023
1 ROS2
ROS2 is released in a docker container named ros_docker_epuck.
The ROS2 node can be found here https://github.com/gctronic/epuck_ros2.
In order to start the node follow these steps:
docker run -it --privileged --network="host" ros_docker_epucksource /opt/ros/humble/install/local_setup.bashros2 launch epuck_ros2 robot_launch.py
From your computer (pi-puck and computer must be connected to the same network) you can then list the topics with the command ros2 topic list. For example you can read the time of flight sensor values with the command ros2 topic echo /tof