From 9f7793db6810d6d4deeca745ef18aeb86660a444 Mon Sep 17 00:00:00 2001 From: Agustin Alba Chicar Date: Thu, 28 Dec 2023 16:00:38 +0100 Subject: [PATCH] Adds some clarifications about the installation process. (#199) Signed-off-by: Agustin Alba Chicar --- andino_hardware/README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/andino_hardware/README.md b/andino_hardware/README.md index 1d6013b1..c1c3dcf2 100644 --- a/andino_hardware/README.md +++ b/andino_hardware/README.md @@ -260,12 +260,27 @@ Install dependencies via rosdep: ``` cd ~/robot_ws ``` +When it is the first time you run `rosdep`: ``` -rosdep install --from-paths src -i -y +rosdep update ``` -Let's build the packages. +Make sure to export the `ROS_DISTRO` environment variable: ``` -colcon build +export ROS_DISTRO=humble +``` +And then proceed to install the workspace dependencies: +``` +rosdep install --from-paths src -i -y -r +``` +Note that option `-r` has been added. For ARM based processors, there are missing packages, e.g. those related to simulation. We would not try to run the simulation in the compute platform of andino, however for convenience it is added here. + +Let' source the ROS Humble installation: +``` +source /opt/ros/humble/setup.bash +``` +Let's build the packages (`andino_gz_classic` and `andino_navigation` work only in simulation): +``` +colcon build --packages-skip andino_gz_classic andino_navigation ``` After building is completed: ```