Parachute: relay parameter description update

This commit is contained in:
Randy Mackay 2014-04-07 11:22:48 +09:00
parent 01e5ae6e5c
commit 3600bed47a
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ const AP_Param::GroupInfo AP_Parachute::var_info[] PROGMEM = {
// @Param: TYPE
// @DisplayName: 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
AP_GROUPINFO("TYPE", 1, AP_Parachute, _release_type, AP_PARACHUTE_TRIGGER_TYPE_RELAY_0),

View File

@ -67,7 +67,7 @@ private:
AP_Int16 _alt_min; // min altitude the vehicle should have before parachute is released
// 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)
bool _released; // true if the parachute has been released
};