ROS 2 Jazzy on the Onboard PC - Tina-1/Husky-A200-Balto GitHub Wiki
ROS 2 Jazzy on the Onboard PC
Balto's onboard PC runs ROS 2 Jazzy. We work with it from a Python virtual environment (venv) on the onboard PC.
Using the venv
(to do) — fill in the real path and commands, e.g.:
source ~/<venv-folder>/bin/activate
source /opt/ros/jazzy/setup.bash
Notes
(to do) — record:
- the onboard PC's Ubuntu version,
- where the venv is and what was installed into it (
pip list), - why a venv was needed.
References
Build environment (workspace ~/husky_ws)
Sorted out after a long session; follow these rules to avoid repeating it.
- The real workspace is
~/husky_ws. Copies of the packages in~are debris — never build from home. - The shipped
install/was a Humble build from another machine, so it was rebuilt from scratch. Only Jazzy is installed; the old Humble references were dead text in the stale tree. husky_interfacesbuilds with the system Python.husky_rlandhusky_controlmust be built withpython -m colconwith the venv active, after deleting theirbuild/andinstall/directories. Otherwise the console scripts get a system-Python shebang and can't findpathfinding.- The venv needs
stable_baselines3and CPU-only torch. The NumPy 2.x warning fromcv2is harmless.