heuristicus / spot_ros

ROS driver for controlling Boston Dynamics' Spot robot
https://heuristicus.github.io/spot_ros/
Other
275 stars 143 forks source link

Print errors when the connection to the robot is lost #72

Closed heuristicus closed 2 years ago

heuristicus commented 2 years ago

Currently there is no error shown when the robot is disconnected while the driver is running. This PR adds another async task to monitor the status queue of the estop keepalive object. If the robot is disconnected it will print errors to console. This only happens if the lease is claimed.

This also fixes #69 by initialising the estop keepalive attribute to none in the initialiser.

heuristicus commented 2 years ago

Superseded by #87.