Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Jan 6, 2015
1 parent c7300ae commit d6d7b53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hironx_ros_bridge/test/test_hironx_ros_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ def test_tf_and_controller(self):
goal = self.goal_LArm()
for av in [[ 25,-139,-157, 45, 0, 0]]:
goal = self.setup_Positions(goal, [av])
self.rarm.send_goal_and_wait(goal)
self.larm.send_goal_and_wait(goal)
# check if tf and current link is same
rospy.sleep(1)
now = rospy.Time.now()
self.listener.waitForTransform("WAIST", "LARM_JOINT5_Link", now, rospy.Duration(1.0))
(pos_tf, rot_tf) = self.listener.lookupTransform("WAIST", "RARM_JOINT5_Link", now)
(pos_tf, rot_tf) = self.listener.lookupTransform("WAIST", "LARM_JOINT5_Link", now)
rot_tf = quaternion_matrix(rot_tf)[0:3,0:3]
pos_c = self.robot.getCurrentPosition('LARM_JOINT5','WAIST')
rot_c = self.robot.getCurrentRotation('LARM_JOINT5','WAIST')
Expand Down

0 comments on commit d6d7b53

Please sign in to comment.