CopterExpress / clever-show

Software for making the drone show with 🍀
GNU General Public License v3.0
76 stars 42 forks source link

Make failsafe watchdog in standalone node. #59

Closed goldarte closed 4 years ago

goldarte commented 4 years ago

Request description At the current time, there are 2 parts of "Raspberry failsafe" in client's software: delta position detection between setpoint and current position in copter_client.py and visual pose timestamp timeout detection in visual_pose_watchdog.py. In some situations these parts are triggered together and conflict with each other, e.g. when there is error in position and fcu switch to auto.land mode, after that visual_pose_watch try to decrease the motors power in offboard mode, but can't do it, because the fcu is already in auto.land mode.

Describe the solution you'd like Make standalone node called failsafe.py, join all abilities there.

goldarte commented 4 years ago

Made here: c91bb94 But left the old name: visual_pose_watchdog