-
-
Save FirefoxMetzger/01e9da90ccdb8abfc8737c6ec0da1232 to your computer and use it in GitHub Desktop.
Build script for the panda gazebo simulator
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/bash | |
# generate the .urdf | |
docker run --rm -v ${PWD}/assets/panda_xacro:/xacro osrf/ros:kinetic-desktop-full rosrun xacro xacro --inorder /xacro/panda_arm_hand.urdf.xacro > ${PWD}/assets/catkin_ws/src/panda_description/urdf/panda.urdf | |
# build the ROS packages | |
docker run --rm -it -v ${PWD}/assets/catkin_ws:/catkin_ws osrf/ros:kinetic-desktop-full-xenial bash -c "apt update && apt install -y python-catkin-tools && cd /catkin_ws && catkin build" | |
# Build the image | |
docker build -t panda_gazebo_sim:latest ${PWD} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment