mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
9904b397d8
commit
b8360a08c7
|
@ -57,7 +57,7 @@ const AP_Param::GroupInfo AP_Vehicle::var_info[] = {
|
|||
// @Path: ../AP_ExternalAHRS/AP_ExternalAHRS.cpp
|
||||
AP_SUBGROUPINFO(externalAHRS, "EAHRS", 8, AP_Vehicle, AP_ExternalAHRS),
|
||||
#endif
|
||||
|
||||
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
|
@ -125,7 +125,7 @@ void AP_Vehicle::setup()
|
|||
// call externalAHRS init before init_ardupilot to allow for external sensors
|
||||
externalAHRS.init();
|
||||
#endif
|
||||
|
||||
|
||||
// init_ardupilot is where the vehicle does most of its initialisation.
|
||||
init_ardupilot();
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "ArduPilot Ready");
|
||||
|
|
|
@ -89,7 +89,7 @@ public:
|
|||
*/
|
||||
struct FixedWing {
|
||||
AP_Int8 throttle_min;
|
||||
AP_Int8 throttle_max;
|
||||
AP_Int8 throttle_max;
|
||||
AP_Int8 throttle_slewrate;
|
||||
AP_Int8 throttle_cruise;
|
||||
AP_Int8 takeoff_throttle_max;
|
||||
|
@ -100,7 +100,7 @@ public:
|
|||
AP_Int8 crash_detection_enable;
|
||||
AP_Int16 roll_limit_cd;
|
||||
AP_Int16 pitch_limit_max_cd;
|
||||
AP_Int16 pitch_limit_min_cd;
|
||||
AP_Int16 pitch_limit_min_cd;
|
||||
AP_Int8 autotune_level;
|
||||
AP_Int8 stall_prevention;
|
||||
AP_Int16 loiter_radius;
|
||||
|
@ -318,7 +318,7 @@ protected:
|
|||
#if HAL_EXTERNAL_AHRS_ENABLED
|
||||
AP_ExternalAHRS externalAHRS;
|
||||
#endif
|
||||
|
||||
|
||||
static const struct AP_Param::GroupInfo var_info[];
|
||||
static const struct AP_Scheduler::Task scheduler_tasks[];
|
||||
|
||||
|
|
Loading…
Reference in New Issue