Skip to content

Instantly share code, notes, and snippets.

@varhub
Created September 2, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save varhub/d0535ae4e67adebf3245 to your computer and use it in GitHub Desktop.
Save varhub/d0535ae4e67adebf3245 to your computer and use it in GitHub Desktop.
JdeRobot post-install step: config files injection into Gazebo
#!/bin/sh
# This script injects JdeRobot requirements into Gazebo user settings.
# This step should be done *once* installed. But also each time you
# fetch and compile newest code in order to update these files.
# Notice that cp `-f` could be mandatory instead.
# State: beta.
# Inject cfg files (=Ice configs)
mkdir -p ~/.gazebo/cfg
cp -r /usr/local/share/jderobot/gazebo/plugins/*/*cfg ~/.gazebo/cfg
# Add custom Models
cp -r /usr/local/share/jderobot/gazebo/models ~/.gazebo
# Add custom Worlds
cp -r /usr/local/share/jderobot/gazebo/worlds ~/.gazebo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment