AP_HAL: defer calls to safety_state switch to queue an async attempt.

- this allows for auto-retries if the state does not set correctly
This commit is contained in:
Tom Pittenger 2016-05-26 23:18:36 -07:00 committed by Andrew Tridgell
parent 67aaf7e226
commit d3ac1dc161
1 changed files with 5 additions and 0 deletions

View File

@ -101,6 +101,11 @@ public:
*/
virtual void force_safety_off(void) {}
/*
If we support async sends (px4), this will force it to be serviced immediately
*/
virtual void force_safety_no_wait(void) {}
/*
setup scaling of ESC output for ESCs that can output a
percentage of power (such as UAVCAN ESCs). The values are in