You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched other issues and no duplicate issues were found.
I'm convinced that this is not my fault but a bug.
Description
I am facing an issue where, after successfully launching the planning_simulator.launch.xml in the Autoware Universe (CUDA version) Docker container, I am unable to list any ROS 2 topics or nodes using the commands ros2 topic list or ros2 node list. Both commands return no output, even though the simulator itself seems to be functioning normally, and RViz is displayed correctly.
Expected behavior
I expect to see a list of active topics and nodes after launching the Planning Simulator, allowing me to monitor and interact with the simulation.
Actual behavior
No output is generated by the ros2 topic list or ros2 node list commands. The Planning Simulator and RViz display correctly, but it seems like the topics and nodes are not available or not properly advertised.
I believe the issue is that the network/DDS configuration is not the same between the docker environment (where Autoware and Rviz are running), and your host environment (where you are running ros2 topic list).
If that is the case, you have 2 possible solutions:
Fix the network settings (I think following these instructions should work).
Run the commands from inside the docker container. (docker exec -it <mycontainer> sh to start a new shell in the container).
Checklist
Description
I am facing an issue where, after successfully launching the planning_simulator.launch.xml in the Autoware Universe (CUDA version) Docker container, I am unable to list any ROS 2 topics or nodes using the commands ros2 topic list or ros2 node list. Both commands return no output, even though the simulator itself seems to be functioning normally, and RViz is displayed correctly.
Expected behavior
I expect to see a list of active topics and nodes after launching the Planning Simulator, allowing me to monitor and interact with the simulation.
Actual behavior
No output is generated by the ros2 topic list or ros2 node list commands. The Planning Simulator and RViz display correctly, but it seems like the topics and nodes are not available or not properly advertised.
You can see my terminal output from here.
Steps to reproduce
docker run -it --rm --net=host --gpus all \ -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix/:/tmp/.X11-unix \ -e XAUTHORITY=/run/user/1000/gdm/Xauthority \ -e XDG_RUNTIME_DIR=/run/user/1000 \ -e NVIDIA_DRIVER_CAPABILITIES=all \ -v /etc/localtime:/etc/localtime:ro \ -v /home/batu/autoware_map/sample-map-rosbag:/autoware_map:ro \ -v /dev/dri:/dev/dri \ ghcr.io/autowarefoundation/autoware:universe-cuda \ ros2 launch autoware_launch planning_simulator.launch.xml \ map_path:=/autoware_map \ vehicle_model:=sample_vehicle \ sensor_model:=sample_sensor_kit
Versions
Possible causes
No response
Additional context
Any guidance or suggestions on how to resolve this issue would be greatly appreciated!
The text was updated successfully, but these errors were encountered: