- The easiest way to get started is to get the docker container with all simulation and tutorial resources already installed:
docker pull ghcr.io/automatika-robotics/kompass-tutorials:humble- Run your contaier with DISPLAY access (to launch the simulator GUI)
xhost +
docker run --name=kompass-demos -it --group-add video --volume=/tmp/.X11-unix:/tmp/.X11-unix --env="DISPLAY=$DISPLAY" --network host ghcr.io/automatika-robotics/kompass-tutorials:humble- To attach to the container run:
docker exec -it kompass-demos bash- To start the test simulation, attach to the container and run:
source ros_ws/install/setup.bash && ros2 launch kompass_sim webots_turtlebot3.launch.pyPress 'Y/y' to install Webots on the first run.
- To start a recipe, attach to the container and run:
source ros_ws/install/setup.bash && cd /kompass-tutorial && python3 <recipe_file>- To see the available ROS2 nodes after running a recipe, attache to the container and run:
source ros_ws/install/setup.bash && ros2 node list- To see the available ROS2 topics after running a recipe, attache to the container and run:
source ros_ws/install/setup.bash && ros2 topic list- To see the a topic's data after running a recipe, attache to the container and run:
source ros_ws/install/setup.bash && ros2 topic echo <topic_name>