Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code to update submodules during installation #950

Merged
merged 4 commits into from
Aug 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions doc/tutorials/getting_started/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@ Next we will download the source code for the rest of MoveIt: ::
The import command may ask for your GitHub credentials.
You can just press Enter until it moves on (ignore the "Authentication failed" error).

Next update submodules: ::

# Loop over all directories that might contain submodules
for dir in */; do
cd "$dir"
# Check if .gitmodules exists and if so, init and update submodules
if [ -f .gitmodules ]; then
echo "Initializing and updating submodules in $dir"
git submodule update --init --recursive
fi
cd ..
done

Build your Colcon Workspace
^^^^^^^^^^^^^^^^^^^^^^^^^^^
First remove all previously installed moveit binaries: ::
Expand Down