We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3121b commit de535e1Copy full SHA for de535e1
ur_robot_driver/src/ros/hardware_interface.cpp
@@ -695,10 +695,14 @@ void HardwareInterface::extractRobotStatus()
695
{
696
robot_status_resource_.motion_possible = TriState::FALSE;
697
}
698
- else
+ else if (robot_mode_ == ur_dashboard_msgs::RobotMode::RUNNING || robot_mode_ == ur_dashboard_msgs::RobotMode::BACKDRIVE)
699
700
robot_status_resource_.motion_possible = TriState::TRUE;
701
702
+ else
703
+ {
704
+ robot_status_resource_.motion_possible = TriState::FALSE;
705
+ }
706
707
// the error code, if any, is not transmitted by this protocol
708
// it can and should be fetched separately
0 commit comments