]> defiant.homedns.org Git - wt_open_manipulator.git/blob - ikfast/create_ikfast.sh
9b8d0ed99c9c8718c85c32bc09777994e0a393f0
[wt_open_manipulator.git] / ikfast / create_ikfast.sh
1 #!/bin/sh
2
3 # urdf to dae
4 rosrun xacro xacro -o $(rospack find wt_open_manipulator)/urdf/open_manipulator.urdf $(rospack find wt_open_manipulator)/urdf/open_manipulator.urdf.xacro
5 rosrun collada_urdf urdf_to_collada $(rospack find wt_open_manipulator)/urdf/open_manipulator.urdf open_manipulator.dae
6
7 export HOME=/tmp
8 #python `openrave-config --python-dir`/openravepy/_openravepy_/ikfast.py --robot=open_manipulator.dae --iktype=translationzaxisangle4d --baselink=0 --eelink=5
9 openrave0.9.py --database inversekinematics --robot=open_manipulator.xml --iktype=translationzaxisangle4d
10
11 # test
12 openrave.py --database inversekinematics --robot=open_manipulator.xml --usecached --iktests=100 --iktype=TranslationZAxisAngle4D
13 openrave.py --database inversekinematics --robot=open_manipulator.xml --usecached --iktests=100 --iktype=TranslationZAxisAngle4D --show