Skip to content

Commit b593c18

Browse files
author
Felix Exner
committed
Only reflect RobotMode::RUNNING in motion_possible
1 parent 6915b0e commit b593c18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ur_robot_driver/src/ros/hardware_interface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,8 +695,8 @@ void HardwareInterface::extractRobotStatus()
695695
{
696696
robot_status_resource_.motion_possible = TriState::FALSE;
697697
}
698-
else if (robot_mode_ == ur_dashboard_msgs::RobotMode::RUNNING ||
699-
robot_mode_ == ur_dashboard_msgs::RobotMode::BACKDRIVE)
698+
else if (robot_mode_ == ur_dashboard_msgs::RobotMode::RUNNING)
699+
700700
{
701701
robot_status_resource_.motion_possible = TriState::TRUE;
702702
}

0 commit comments

Comments
 (0)