Skip to content
Snippets Groups Projects
Commit 7132c77b authored by armar-user's avatar armar-user
Browse files

fixed robotstatecomponent on a3

parent a988a5e2
No related branches found
No related tags found
No related merge requests found
......@@ -356,10 +356,10 @@ namespace armarx
insertPose(time, globalRobotPose.transform);
_synchronized->setGlobalPose(globalRobotPose.transform);
_sharedRobotServant->setGlobalPose(new Pose(globalRobotPose.transform));
if (_sharedRobotServant)
{
_sharedRobotServant->setGlobalPose(new Pose(globalRobotPose.transform));
_sharedRobotServant->setTimestamp(time);
}
}
......@@ -703,6 +703,7 @@ namespace armarx
const Eigen::Matrix4f globalPose = math::Helpers::Pose(position, orientation);
IceUtil::Time time = IceUtil::Time::microSeconds(currentPose.timestampInMicroSeconds);
// ARMARX_IMPORTANT << VAROUT(currentPose.timestampInMicroSeconds);
TransformStamped stamped;
stamped.header.frame = armarx::GlobalFrame;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment