Skip to content

Commit

Permalink
Fixing build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrton04 committed Nov 3, 2014
1 parent bb4817e commit eb356bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/imu_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,11 @@ class ImuNode
orientation[2], orientation[5], orientation[8]);

double r, p, y;
tf::Quaternion quat;
mat.getRPY(r, p, y);
quat.setRPY(r, -p, -y)
quat.setRPY(r, -p, -y);
tf::quaternionTFToMsg(quat, data.orientation);

data.header.stamp = ros::Time::now().fromNSec(time);
}

Expand Down

0 comments on commit eb356bd

Please sign in to comment.