|
|
|
@ -537,17 +537,17 @@ void setup() {
@@ -537,17 +537,17 @@ void setup() {
|
|
|
|
|
// load the default values of variables listed in var_info[] |
|
|
|
|
AP_Param::setup_sketch_defaults(); |
|
|
|
|
|
|
|
|
|
notify.init(false); |
|
|
|
|
|
|
|
|
|
// rover does not use arming nor pre-arm checks |
|
|
|
|
AP_Notify::flags.armed = true; |
|
|
|
|
AP_Notify::flags.pre_arm_check = true; |
|
|
|
|
AP_Notify::flags.pre_arm_gps_check = true; |
|
|
|
|
AP_Notify::flags.failsafe_battery = false; |
|
|
|
|
|
|
|
|
|
notify.init(false); |
|
|
|
|
|
|
|
|
|
rssi_analog_source = hal.analogin->channel(ANALOG_INPUT_NONE); |
|
|
|
|
|
|
|
|
|
init_ardupilot(); |
|
|
|
|
init_ardupilot(); |
|
|
|
|
|
|
|
|
|
// initialise the main loop scheduler |
|
|
|
|
scheduler.init(&scheduler_tasks[0], sizeof(scheduler_tasks)/sizeof(scheduler_tasks[0])); |
|
|
|
|