Skip to content

Commit

Permalink
Fix CAN communication error check
Browse files Browse the repository at this point in the history
  • Loading branch information
pkowalsk1 authored Aug 14, 2023
1 parent 317c16f commit df40f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panther_driver/src/panther_can.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def can_connection_error(self) -> Generator[bool, None, None]:
for controller in self._motor_controllers:
if self._robot_driver_initialized:
faults = [
time_now - cb_time > rospy.Duration(0.5)
time_now - cb_time > rospy.Duration(0.2)
for cb_time in controller.last_time_callback.values()
]
yield any(faults)
Expand Down

0 comments on commit df40f16

Please sign in to comment.