mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 00:13:59 -04:00
Parachute: relay parameter description update
This commit is contained in:
parent
01e5ae6e5c
commit
3600bed47a
@ -21,7 +21,7 @@ const AP_Param::GroupInfo AP_Parachute::var_info[] PROGMEM = {
|
|||||||
// @Param: TYPE
|
// @Param: TYPE
|
||||||
// @DisplayName: Parachute release mechanism type (relay or servo)
|
// @DisplayName: Parachute release mechanism type (relay or servo)
|
||||||
// @Description: Parachute release mechanism type (relay or servo)
|
// @Description: Parachute release mechanism type (relay or servo)
|
||||||
// @Values: 0:Relay 0,1:Relay 1,2:Relay 2,3:Relay 3,10:Servo
|
// @Values: 0:First Relay,1:Second Relay,2:Third Relay,3:Fourth Relay,10:Servo
|
||||||
// @User: Standard
|
// @User: Standard
|
||||||
AP_GROUPINFO("TYPE", 1, AP_Parachute, _release_type, AP_PARACHUTE_TRIGGER_TYPE_RELAY_0),
|
AP_GROUPINFO("TYPE", 1, AP_Parachute, _release_type, AP_PARACHUTE_TRIGGER_TYPE_RELAY_0),
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ private:
|
|||||||
AP_Int16 _alt_min; // min altitude the vehicle should have before parachute is released
|
AP_Int16 _alt_min; // min altitude the vehicle should have before parachute is released
|
||||||
|
|
||||||
// internal variables
|
// internal variables
|
||||||
AP_Relay& _relay; // pointer to relay object from the base class Relay. The subclasses could be AP_Relay_APM1 or AP_Relay_APM2
|
AP_Relay &_relay; // pointer to relay object from the base class Relay. The subclasses could be AP_Relay_APM1 or AP_Relay_APM2
|
||||||
uint32_t _release_time; // system time that parachute is ordered to be released (actual release will happen 0.5 seconds later)
|
uint32_t _release_time; // system time that parachute is ordered to be released (actual release will happen 0.5 seconds later)
|
||||||
bool _released; // true if the parachute has been released
|
bool _released; // true if the parachute has been released
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user