Package to detect interrupted connection?
Hey everybody,
I have built the following setup (simplified):
Moving base with Pixhawk running APM Rover <-> MavRos (executed on a Pi2, together with the ROS Master) <-> Wifi Link <-> Desktop Machine with Joystick
The joystick is sending RC override messages via a mavros_extras teleop node which are correctly executed by the moving base.
Before I let the setup loose in the wild, I wanted to think about savety a little. For example: What happens if the Wifi link is interrupted while the joystick is not in idle position? It turned out that mavros will execute that last command it received, which mean my base will keep moving ..
So I figured it might make sense to have a monitoring node (running on the moving base side of the Wifi link) which makes sure that the rc override messages are still arriving (and sends out some default value if they dont). In fact I wondered if there is such a node already, as I have the impression that this could be a fairly generic usecase.
If anybody knows a package that contains code to do that I'd be very grateful if you told me where to find it!