Skip to content

Commit

Permalink
Merge pull request #90 from adamantivm/fix-extrinsics
Browse files Browse the repository at this point in the history
Fix TF error due to inprecise quaternion
  • Loading branch information
adamantivm authored Apr 26, 2017
2 parents d143e4d + 1b89c46 commit 151f9b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class DefaultRobotTfPublisherNode extends ExtrinsicsTfPublisherNode {
// in the Tangobot wiki: http://wiki.ros.org/tangobot/tutorials/kinetic/hardware%20setup
public static final Transform TRANSFORM_PHAB2PRO = new Transform(
new Vector3(0, -0.05, 0.1),
new Quaternion(0, 0.707, 0, 0.707));
new Quaternion(0, Math.sqrt(2)/2.0, 0, Math.sqrt(2)/2.0));

// Identity transform, only for debugging and error cases.
public static final Transform TRANSFORM_IDENTITY = new Transform(
Expand Down

0 comments on commit 151f9b2

Please sign in to comment.