Created
September 2, 2015 14:18
-
-
Save varhub/d0535ae4e67adebf3245 to your computer and use it in GitHub Desktop.
JdeRobot post-install step: config files injection into Gazebo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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