Skip to content

2. ROS2 communication

SamVanderstraeten edited this page Mar 10, 2023 · 2 revisions

Start the (standalone) Unity scene. You should see the main camera of the simulation, showing an overview of the warehouse. Use the 'C' button to switch camera's.

Build and run the ROS2 Unity Docker container.

Read all documentation first to understand how everything works.

Summary: start container, attach to it and start the ./01... script so it connects to your (local) Unity instance. Unity can run on your local host machine, the Docker container should pick this up automatically.

When attaching a second terminal to the Docker container, a ros2 topic list command should reveal the ROS topics below, because they are exposed by the Unity environment.

If all of this works, you can start writing your own scripts that use all different topics. Make sure you use ROS2 !!

Clone this wiki locally