Commit Graph

11 Commits

Author SHA1 Message Date
Peter Barker b4537bebd8 Copter: move control_mode_t into being Mode::Number enum class
Fixes this compiler error:

In file included from ../../ArduCopter/sensors.cpp:1:
In file included from ../../ArduCopter/Copter.h:195:
../../ArduCopter/mode.h:1291:9: fatal error: declaration shadows a variable in the global namespace [-Wshadow]
        AUTO,           // after A and B defined, pilot toggle the switch from one side to the other, vehicle flies autonomously
        ^
../../ArduCopter/defines.h:38:5: note: previous declaration is here
    AUTO =          3,  // fully automatic waypoint control using mission commands
    ^
1 error generated.
2019-09-13 13:12:08 +09:00
Peter Barker ab7b4616ff Copter: let GCS base class handle fence sys_status bits 2019-09-03 09:12:24 +10:00
hoangthien94 b741639002 GCS_Copter: Fixed precland condition to set SENSOR_VISION_POSITION flag 2019-06-25 09:42:45 +08:00
Peter Barker 07b8473a20 Copter: move setting of compass sys_status bits up 2019-04-16 09:48:23 +10:00
Peter Barker 2040580ce7 Copter: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
Peter Barker 9a2d5ac5a6 Copter: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker 4f70bdd046 Copter: GCS can report simple/supersimple input modes 2019-03-19 14:39:14 +11:00
Peter Barker e22b29bce4 Copter: FrSky support has moved to GCS 2019-03-19 14:39:14 +11:00
Peter Barker c622645ff1 Copter: move update_sensor_flags to GCS_Copter.cpp 2019-02-20 11:57:00 +11:00
Peter Barker fa2b500e93 Rover: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker d9b45cc202 Copter: create GCS subclass, use inheritted methods 2017-07-07 16:18:37 +01:00