Peter Barker
f64fcb78d3
ArduCopter: make AP_RANGEFINDER_ENABLED remove more code
2024-07-02 09:17:26 +10:00
Peter Barker
d462756cbc
ArduCopter: move RC bits in mavlink to common code
...
Plane's semantics change to be like Copter. Rover, Sub and Tracker will start reporting the bits
2024-02-10 11:46:44 +11:00
tzarjakob
97b7e8d1d0
ArduCopter: configuration of Precision Landing for custom build server
2023-03-27 09:04:07 +11:00
Andrew Tridgell
8cabcfc750
Copter: allow for flight mode UI when FRAME_CLASS=0
...
this makes the user experience of a first time install nicer for
copters/helis. At the moment the user finds the GCS is not functional,
for example flight mode drop-downs don't display. This can be
confusing as the user doesn't know about the link between displaying
flight modes and the FRAME_CLASS
2023-01-17 09:40:12 +09:00
Peter Barker
6e25a3d52c
ArduCopter: move setting of MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW sensors flags up
2022-10-19 21:00:48 +11:00
Peter Barker
78c742978e
ArduCopter: rename OpticalFlow class to AP_OpticalFlow
...
Brings us in-line with other classes in ArduPilot.
Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker
285d752143
ArduCopter: create and use AP_OPTICALFLOW_ENABLED
...
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Iampete1
cc53db406d
Copter: treat Auto RTL the same as Auto
2021-07-27 09:00:11 +09:00
Peter Barker
3684741517
ArduCopter: remove AC_TERRAIN compilation option
...
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
2261f94361
ArduCopter: Mark motors un-healthy if any motors are not producing thrust
2021-05-06 16:27:27 +10:00
Peter Barker
6727a6588f
ArduCopter: tidy setting of sensor status flags
2021-04-14 18:03:27 +10:00
Randy Mackay
91fa40aea6
Copter: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED
2021-03-26 16:22:46 +09:00
Tatsuya Yamaguchi
0cce5699b2
Copter: change from control_mode to flightmode
2021-03-23 22:48:20 +11:00
Mark Whitehorn
f405454aba
Copter: add nullptr checks for get_frame_string
...
fix rebase errors
2021-02-09 12:43:53 +11:00
Mark Whitehorn
cb687a6fff
Copter: move get_frame_string to Motors class
2021-02-09 12:43:53 +11:00
Peter Barker
0eb03ba7d5
Copter: make SuperSimple type-safe
2020-06-16 19:39:42 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
d1eb03df30
Copter: Report MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL and MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL as healthy if the flight mode says so.
...
Brings it up to the Sub and Plane status
2020-05-01 08:14:11 +09:00
Randy Mackay
04c3f040a8
Copter: visual odometry moved to AP_Vehicle
2020-04-09 19:41:08 +09:00
Peter Barker
ae2578e5c9
ArduCopter: move initialisation of serial and gcs to AP_Vehicle
2020-02-25 11:50:55 +11:00
Peter Barker
d63788a09f
Copter: move setting of GPS SYS_STATUS bits up to base class
2019-12-05 13:02:19 +11:00
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