Inside dev container: ros2 command not found

ros2 not found in dev container—source ROS2 + workspace setup.bash overlays.

You need to source the ROS2 environment and the workspace overlays in each new shell session.

Inside the dev container, run:

source /opt/botbrain_ws/install/setup.bash
source install/setup.bash

After that, ROS2 commands like ros2 topic list should work normally.

Did this answer your question?
😞
😐
🤩