mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 17:48:35 -04:00
uncrustify ArduPlane/Parameters.h
This commit is contained in:
parent
3bee769405
commit
70048f3d6f
@ -11,24 +11,24 @@ class Parameters {
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The value of k_format_version determines whether the existing
|
* The value of k_format_version determines whether the existing
|
||||||
eeprom data is considered valid. You should only change this
|
* eeprom data is considered valid. You should only change this
|
||||||
value under the following circumstances:
|
* value under the following circumstances:
|
||||||
|
*
|
||||||
1) the meaning of an existing eeprom parameter changes
|
* 1) the meaning of an existing eeprom parameter changes
|
||||||
|
*
|
||||||
2) the value of an existing k_param_* enum value changes
|
* 2) the value of an existing k_param_* enum value changes
|
||||||
|
*
|
||||||
Adding a new parameter should _not_ require a change to
|
* Adding a new parameter should _not_ require a change to
|
||||||
k_format_version except under special circumstances. If you
|
* k_format_version except under special circumstances. If you
|
||||||
change it anyway then all ArduPlane users will need to reload all
|
* change it anyway then all ArduPlane users will need to reload all
|
||||||
their parameters. We want that to be an extremely rare
|
* their parameters. We want that to be an extremely rare
|
||||||
thing. Please do not just change it "just in case".
|
* thing. Please do not just change it "just in case".
|
||||||
|
*
|
||||||
To determine if a k_param_* value has changed, use the rules of
|
* To determine if a k_param_* value has changed, use the rules of
|
||||||
C++ enums to work out the value of the neighboring enum
|
* C++ enums to work out the value of the neighboring enum
|
||||||
values. If you don't know the C++ enum rules then please ask for
|
* values. If you don't know the C++ enum rules then please ask for
|
||||||
help.
|
* help.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
@ -379,7 +379,8 @@ public:
|
|||||||
pidTeThrottle (THROTTLE_TE_P, THROTTLE_TE_I, THROTTLE_TE_D, THROTTLE_TE_INT_MAX),
|
pidTeThrottle (THROTTLE_TE_P, THROTTLE_TE_I, THROTTLE_TE_D, THROTTLE_TE_INT_MAX),
|
||||||
pidNavPitchAltitude (NAV_PITCH_ALT_P, NAV_PITCH_ALT_I, NAV_PITCH_ALT_D, NAV_PITCH_ALT_INT_MAX_CM),
|
pidNavPitchAltitude (NAV_PITCH_ALT_P, NAV_PITCH_ALT_I, NAV_PITCH_ALT_D, NAV_PITCH_ALT_INT_MAX_CM),
|
||||||
pidWheelSteer (0, 0, 0, 0)
|
pidWheelSteer (0, 0, 0, 0)
|
||||||
{}
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const AP_Param::Info var_info[];
|
extern const AP_Param::Info var_info[];
|
||||||
|
Loading…
Reference in New Issue
Block a user