Skip to content

Commit

Permalink
Correct problem with non normalized quaternions
Browse files Browse the repository at this point in the history
  • Loading branch information
buschbapti committed Sep 13, 2017
1 parent 89ebc82 commit 26c274a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/human_tracker
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class HumanTracker(object):
# publish it wrt to the sensor frame
self.tfb.sendTransform([0, 0, 0], [0, 0, 0, 1],
rospy.Time.now(), 'tracker/' + self.prefix + '/base', self.prefix + '/base')
self.tfb.sendTransform(SensorTHuman[0], SensorTHuman[1],
self.tfb.sendTransform(SensorTHuman[0], np.array(SensorTHuman[1])/np.linalg.norm(SensorTHuman[1]),
rospy.Time.now(), self.prefix + '/base', frame[0] + '_frame')
# loop through all the recorded frames
obs_dict = {}
Expand Down

0 comments on commit 26c274a

Please sign in to comment.