pib runs ROS inside Docker containers, so ROS commands are not available until the environment is properly initialized.

To fix this:

  • Enter the ROS container using Docker (docker exec -it ...)
  • Navigate to the workspace (e.g. ros2_ws)
  • Run:
    source install/setup.bash

After this, ROS commands such as topic and node tools should become available.