Skip to content
Snippets Groups Projects
Commit 38724b17 authored by Christian Dreher's avatar Christian Dreher
Browse files

feat: Implement new method

parent bdea99ae
No related branches found
No related tags found
1 merge request!462SS2 handling
Pipeline #19716 failed
......@@ -87,6 +87,21 @@ namespace armarx::RobotUnitModule
emergencyStopTopic->reportEmergencyStopState(state);
}
bool
checkAndSetEmergencyStopState(EmergencyStopState targetState,
EmergencyStopState checkState,
const ::Ice::Current&) final override
{
if (getEmergencyStopState() != checkState)
{
return false;
}
setEmergencyStopState(targetState);
return true;
}
EmergencyStopState
getEmergencyStopState(const Ice::Current& = Ice::emptyCurrent) const final override
{
......
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