Skip to content

Commit 272c2df

Browse files
committed
Fix servo board response to status command
1 parent f964e64 commit 272c2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simulator/modules/sbot_interface/boards/servo_board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def handle_command(self, command: str) -> str:
4444
if args[0] == '*IDN?':
4545
return f'Student Robotics:SBv4B:{self.asset_tag}:{self.software_version}'
4646
elif args[0] == '*STATUS?':
47-
return f"{self.watchdog_fail}:{self.pgood}"
47+
return f"{self.watchdog_fail:d}:{self.pgood:d}"
4848
elif args[0] == '*RESET':
4949
LOGGER.info(f'Resetting servo board {self.asset_tag}')
5050
for servo in self.servos:

0 commit comments

Comments
 (0)