File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -670,7 +670,7 @@ void HardwareInterface::extractRobotStatus()
670670 TriState::FALSE ;
671671
672672 // Note that this is true as soon as the drives are powered,
673- // even if the breakes are still closed
673+ // even if the brakes are still closed
674674 // which is in slight contrast to the comments in the
675675 // message definition
676676 robot_status_resource_.drives_powered =
@@ -682,7 +682,7 @@ void HardwareInterface::extractRobotStatus()
682682 // I found no way to reliably get information if the robot is moving
683683 robot_status_resource_.in_motion = TriState::UNKNOWN;
684684
685- if ((safety_status_bits_ | in_error_bitset_).any ())
685+ if ((safety_status_bits_ & in_error_bitset_).any ())
686686 {
687687 robot_status_resource_.in_error = TriState::TRUE ;
688688 }
@@ -692,7 +692,7 @@ void HardwareInterface::extractRobotStatus()
692692 }
693693
694694 // the error code, if any, is not transmitted by this protocol
695- // it can and should be fetched seperately
695+ // it can and should be fetched separately
696696 robot_status_resource_.error_code = 0 ;
697697}
698698
You can’t perform that action at this time.
0 commit comments