Skip to content
Snippets Groups Projects
Commit 64a184bd authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add a function to RobotUnitModule::ControlThread to set the rt robots global pose

parent 3e592440
No related branches found
No related tags found
No related merge requests found
......@@ -572,5 +572,10 @@ namespace armarx
}
}
}
void ControlThread::rtSetRobotGlobalPose(const Eigen::Matrix4f &gp, bool updateRobot)
{
rtRobot->setGlobalPose(gp, updateRobot);
}
}
}
......@@ -203,6 +203,8 @@ namespace armarx
{
return rtIsInEmergencyStop_ ? EmergencyStopState::eEmergencyStopActive : EmergencyStopState::eEmergencyStopInactive;
}
void rtSetRobotGlobalPose(const Eigen::Matrix4f& gp, bool updateRobot = true);
// //////////////////////////////////////////////////////////////////////////////////////// //
// //////////////////////////////////// implementation //////////////////////////////////// //
// //////////////////////////////////////////////////////////////////////////////////////// //
......@@ -243,7 +245,6 @@ namespace armarx
std::vector<std::size_t>& rtGetActivatedJointToNJointControllerAssignement();
void rtSyncNJointControllerRobot(NJointController* njctrl);
// //////////////////////////////////////////////////////////////////////////////////////// //
// ///////////////////////////////////////// Data ///////////////////////////////////////// //
// //////////////////////////////////////////////////////////////////////////////////////// //
......
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