When building, make sure you include --symlink-install. Otherwise, when control clicking a dependency in VSCode, it
will take you to a copy of the dependency, instead of the actual source file. For example:
colcon build --symlink-install
source install/setup.bashYou can install all dependencies by running
./scripts/setup.shRun each of these commands in separate terminals:
ros2 launch nav_bringup base.launch.py mode:=<mode> [simulation:=true] [course:=<course>]ros2 launch nav_bringup teleop.launch.py controller:=<ps4/xbox>and / or
ros2 launch nav_bringup navigation.launch.py mode:=<mode> [course:=<course>]See nav_bringup/README.md for mode and course configuration details.
Run in a separate terminal:
ros2 launch nav_bringup visualization.launch.pyThis sends robot data to Foxglove. Then open Foxglove Studio and connect to
ws://localhost:8765.
Alternatively, run rviz2 in a new terminal and add the topics you want to visualize.