Skip to content

Instantly share code, notes, and snippets.

@yijiangh
Last active October 8, 2019 20:30
Show Gist options
  • Save yijiangh/33af5178534b995f57b5d8a3bf9a6108 to your computer and use it in GitHub Desktop.
Save yijiangh/33af5178534b995f57b5d8a3bf9a6108 to your computer and use it in GitHub Desktop.
Dockerfile for tweaking openrave-ros docker image for ikfast
FROM personalrobotics/ros-openrave
RUN apt-get update || true && apt-get install -y --no-install-recommends build-essential python-pip liblapack-dev vim ros-indigo-xacro ros-indigo-collada-urdf && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip install sympy==0.7.1
@yijiangh
Copy link
Author

yijiangh commented Sep 7, 2019

  1. docker build -t $DOCKER_IMAGE .

  2. docker run -it -v "%cd%":/output_urdf $DOCKER_IMAGE

  3. source /opt/ros/indigo/setup.bash

  4. in indigo, try rosrun xacro xacro.py model.xacro > model.urdf
    or in kinetic:rosrun xacro xacro -i ur5_robot.urdf.xacro -o ur5.urdf

  5. copy files out: docker cp <container_name>:/catkin_ws/src/ur_description/urdf/ur3.urdf .

  6. follow tutorial here: http://docs.ros.org/kinetic/api/framefab_irb6600_support/html/doc/ikfast_tutorial.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment