ClemensElflein/open_mower_ros

Include information about submodules in ReadMe build steps.

Closed this issue · 1 comments

What?

The ReadMe's Getting Started section jumps directly into using rosdep to install dependencies.

When following along, these errors occurred during the rosdep install --from-paths src --ignore-src --default-yes step.

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
open_mower: Cannot locate rosdep definition for [ftc_local_planner]
mower_comms: Cannot locate rosdep definition for [vesc_driver]
mower_msgs: Cannot locate rosdep definition for [vesc_msgs]
mower_logic: Cannot locate rosdep definition for [slic3r_coverage_planner]

Why?

The errors were caused by not having the sources for the listed packages.

How to fix?

To fix the issue, I had to update the submodules. They were not included with the default clone settings (git@github.com:ClemensElflein/open_mower_ros.git)

Fix

To update the submodules

git submodule update --init --recursive

This command will update and initialize (--init) the repository's sub modules, as well as any of the submodule's submodules (--recursive).

After successfully cloning the submodules, rosdep install --from-paths src --ignore-src --default-yes works as intended.

Silly buttons!