|
WUT Velma robot API
|
Integration test. More...
Functions | |
| def | planAndExecute (q_dest) |
Variables | |
| dictionary | q_map_starting |
| dictionary | q_map_1 |
| velma = VelmaInterface() | |
| timeout_s | |
| diag = velma.getCoreCsDiag() | |
| p = Planner(velma.maxJointTrajLen()) | |
| start_time | |
| error = velma.waitForJoint() | |
| js = velma.getLastJointState() | |
| tolerance | |
| js_init = velma.getLastJointState() | |
| T_B_Wr = velma.getTf("B", "Wr") | |
| T_B_Wl = velma.getTf("B", "Wl") | |
| T_B_Trd = PyKDL.Frame(PyKDL.Rotation.Quaternion( 0.0 , 0.0 , 0.0 , 1.0 ), PyKDL.Vector( 0.7 , -0.3 , 1.3 )) | |
| T_B_T_diff = PyKDL.diff(T_B_Trd, velma.getTf("B", "Tr"), 1.0) | |
| T_B_Tr = velma.getTf("B", "Tr") | |
| T_B_Tr_old = T_B_Tr | |
| synchronized_time = rospy.Time.now() + rospy.Duration(0.5) | |
| T_B_Tl = velma.getTf("B", "Tl") | |
| T_B_Tld = T_B_Tl * PyKDL.Frame(PyKDL.Rotation.RotZ(-30.0/180.0*math.pi)) | |
| stamp | |
Integration test.
| def scripts.test_cimp_pose.planAndExecute | ( | q_dest | ) |
Definition at line 94 of file test_cimp_pose.py.
| scripts.test_cimp_pose.diag = velma.getCoreCsDiag() |
Definition at line 81 of file test_cimp_pose.py.
| scripts.test_cimp_pose.error = velma.waitForJoint() |
Definition at line 124 of file test_cimp_pose.py.
| scripts.test_cimp_pose.js = velma.getLastJointState() |
Definition at line 137 of file test_cimp_pose.py.
| scripts.test_cimp_pose.js_init = velma.getLastJointState() |
Definition at line 144 of file test_cimp_pose.py.
| scripts.test_cimp_pose.p = Planner(velma.maxJointTrajLen()) |
Definition at line 87 of file test_cimp_pose.py.
| dictionary scripts.test_cimp_pose.q_map_1 |
Definition at line 57 of file test_cimp_pose.py.
| dictionary scripts.test_cimp_pose.q_map_starting |
Definition at line 48 of file test_cimp_pose.py.
| scripts.test_cimp_pose.stamp |
Definition at line 288 of file test_cimp_pose.py.
| scripts.test_cimp_pose.start_time |
Definition at line 123 of file test_cimp_pose.py.
| scripts.test_cimp_pose.synchronized_time = rospy.Time.now() + rospy.Duration(0.5) |
Definition at line 283 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_T_diff = PyKDL.diff(T_B_Trd, velma.getTf("B", "Tr"), 1.0) |
Definition at line 181 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_Tl = velma.getTf("B", "Tl") |
Definition at line 286 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_Tld = T_B_Tl * PyKDL.Frame(PyKDL.Rotation.RotZ(-30.0/180.0*math.pi)) |
Definition at line 287 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_Tr = velma.getTf("B", "Tr") |
Definition at line 188 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_Tr_old = T_B_Tr |
Definition at line 232 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_Trd = PyKDL.Frame(PyKDL.Rotation.Quaternion( 0.0 , 0.0 , 0.0 , 1.0 ), PyKDL.Vector( 0.7 , -0.3 , 1.3 )) |
Definition at line 174 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_Wl = velma.getTf("B", "Wl") |
Definition at line 163 of file test_cimp_pose.py.
| scripts.test_cimp_pose.T_B_Wr = velma.getTf("B", "Wr") |
Definition at line 162 of file test_cimp_pose.py.
| scripts.test_cimp_pose.timeout_s |
Definition at line 76 of file test_cimp_pose.py.
| scripts.test_cimp_pose.tolerance |
Definition at line 138 of file test_cimp_pose.py.
| scripts.test_cimp_pose.velma = VelmaInterface() |
Definition at line 74 of file test_cimp_pose.py.
1.8.13