Rover: include fix in mode.h
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
This commit is contained in:
parent
f8c1c3309d
commit
a8a952d656
@ -19,6 +19,7 @@
|
||||
|
||||
#include <cmath>
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
|
||||
// Libraries
|
||||
#include <AP_Common/AP_Common.h>
|
||||
@ -37,18 +38,21 @@
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <AP_OSD/AP_OSD.h>
|
||||
#include <AR_Motors/AP_MotorsUGV.h>
|
||||
#include <AP_Mission/AP_Mission.h>
|
||||
#include <AP_Mission/AP_Mission_ChangeDetector.h>
|
||||
#include <AR_WPNav/AR_WPNav_OA.h>
|
||||
|
||||
// Configuration
|
||||
#include "defines.h"
|
||||
#include "config.h"
|
||||
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
#include <AP_Scripting/AP_Scripting.h>
|
||||
#endif
|
||||
|
||||
// Local modules
|
||||
#include "mode.h"
|
||||
#include "AP_Arming.h"
|
||||
#include "sailboat.h"
|
||||
// Configuration
|
||||
#include "config.h"
|
||||
#include "defines.h"
|
||||
#if ADVANCED_FAILSAFE == ENABLED
|
||||
#include "afs_rover.h"
|
||||
#endif
|
||||
@ -58,6 +62,8 @@
|
||||
#include "AP_Rally.h"
|
||||
#include "RC_Channel.h" // RC Channel Library
|
||||
|
||||
#include "mode.h"
|
||||
|
||||
class Rover : public AP_Vehicle {
|
||||
public:
|
||||
friend class GCS_MAVLINK_Rover;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
Mode::Mode() :
|
||||
|
10
Rover/mode.h
10
Rover/mode.h
@ -1,14 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <GCS_MAVLink/GCS_MAVLink.h>
|
||||
#include <AP_Math/AP_Math.h>
|
||||
#include <AP_Mission/AP_Mission.h>
|
||||
#include <AP_Mission/AP_Mission_ChangeDetector.h>
|
||||
#include <AR_WPNav/AR_WPNav_OA.h>
|
||||
|
||||
#include "defines.h"
|
||||
#include "Rover.h"
|
||||
|
||||
// pre-define ModeRTL so Auto can appear higher in this file
|
||||
class ModeRTL;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
void ModeAcro::update()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
#define AUTO_GUIDED_SEND_TARGET_MS 1000
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
// initialize follow mode
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
bool ModeGuided::_enter()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
void ModeHold::update()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
bool ModeLoiter::_enter()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
void ModeManual::_exit()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
bool ModeRTL::_enter()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
void ModeSimple::init_heading()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
bool ModeSmartRTL::_enter()
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "mode.h"
|
||||
#include "Rover.h"
|
||||
|
||||
void ModeSteering::update()
|
||||
|
Loading…
Reference in New Issue
Block a user