Peter Barker
285d752143
ArduCopter: create and use AP_OPTICALFLOW_ENABLED
...
Including a define for each backend.
3 years ago
Iampete1
cc53db406d
Copter: treat Auto RTL the same as Auto
4 years ago
Peter Barker
3684741517
ArduCopter: remove AC_TERRAIN compilation option
...
Use AP_TERRAIN_AVAILABLE instead
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
2261f94361
ArduCopter: Mark motors un-healthy if any motors are not producing thrust
4 years ago
Peter Barker
6727a6588f
ArduCopter: tidy setting of sensor status flags
4 years ago
Randy Mackay
91fa40aea6
Copter: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED
4 years ago
Tatsuya Yamaguchi
0cce5699b2
Copter: change from control_mode to flightmode
4 years ago
Mark Whitehorn
f405454aba
Copter: add nullptr checks for get_frame_string
...
fix rebase errors
4 years ago
Mark Whitehorn
cb687a6fff
Copter: move get_frame_string to Motors class
4 years ago
Peter Barker
0eb03ba7d5
Copter: make SuperSimple type-safe
5 years ago
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
5 years ago
Randy Mackay
04c3f040a8
Copter: visual odometry moved to AP_Vehicle
5 years ago
Peter Barker
ae2578e5c9
ArduCopter: move initialisation of serial and gcs to AP_Vehicle
5 years ago
Peter Barker
d63788a09f
Copter: move setting of GPS SYS_STATUS bits up to base class
5 years ago
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.
5 years ago
Peter Barker
ab7b4616ff
Copter: let GCS base class handle fence sys_status bits
6 years ago
hoangthien94
b741639002
GCS_Copter: Fixed precland condition to set SENSOR_VISION_POSITION flag
6 years ago
Peter Barker
07b8473a20
Copter: move setting of compass sys_status bits up
6 years ago
Peter Barker
2040580ce7
Copter: move enabled parameter into compass library
6 years ago
Peter Barker
9a2d5ac5a6
Copter: move various sensor status flag updates up
6 years ago
Peter Barker
4f70bdd046
Copter: GCS can report simple/supersimple input modes
6 years ago
Peter Barker
e22b29bce4
Copter: FrSky support has moved to GCS
6 years ago
Peter Barker
c622645ff1
Copter: move update_sensor_flags to GCS_Copter.cpp
6 years ago
Peter Barker
5ff80e06d1
Copter: move update_sensor_status_flags into GCS subclasses
6 years ago
Peter Barker
f64ad2f433
Copter: move visual odometry update function into AP_VisualOdom
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
33ca577653
Copter: OpticalFlow takes care of its own logging
6 years ago
Peter Barker
176ee507a2
Copter: make mavlink rangefinder health bit depend just on data available
...
This means the sensor is healthy even if it is out of range.
This is a partial revert of commit 724f34c7e7 (diff-577a72d2550199fabbdfd77fa5890368R408)
6 years ago
Randy Mackay
346e9e36db
Copter: remove compass accumulate
7 years ago
Peter Barker
c2f9b857a4
Copter: remove unused baro_climbrate variable
7 years ago
Peter Barker
724f34c7e7
Copter: use MAV_SYS_STATUS_SENSOR_PROXIMITY for proximity sensor
...
Copter: correct laser sensor health bits
7 years ago
Randy Mackay
25475b65d9
Copter: proximity sensor reports laser unhealthy when no data
7 years ago
Peter Barker
6dd9f50f7c
Copter: move try_send_message handling of RC_CHANNELS up
7 years ago
Peter Barker
c95ff96263
Copter: Baro does its own dataflash logging
7 years ago
Peter Barker
d58e2214d2
Copter: tidy handling of barometer calibrations
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
d633ba8c46
Copter: Add option to disable RPM module
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
Peter Barker
b8e1f03599
Copter: add define for disabling beacon
7 years ago
murata
c31c2a4cf1
Copter: optionalize the winch
7 years ago
Peter Barker
40d74584ac
Copter: remove shims used in scheduler
7 years ago
Andrew Tridgell
f442b91ea5
Copter: added FLOWHOLD flight mode
...
This flight mode allows for position hold with optical flow without
needing a rangefinder for height. It can estimate its height from the
flow data and IMU
7 years ago
Andrew Tridgell
15166eff2e
Copter: enable temperature calibration library
7 years ago
Michael du Breuil
69da4041ac
Copter: Move logging battery logging code to AP_BattMonitor
7 years ago
Michael du Breuil
0ddcb0a6fb
Copter: Support AP_BattMonitor_Params
7 years ago
Peter Barker
6bcdab55d0
Copter: rename sys_status methods from geofence_ to sys_status_
7 years ago
Peter Barker
7222380598
Copter: populate system status bits for fence
7 years ago
Randy Mackay
9a03ba1bfb
Copter: move barometer_accumulate to sensors.cpp
...
non-functional change
7 years ago
Randy Mackay
787954fa37
Copter: integrate winch library
...
fixes after peer review:
rename winch-disable to winch-relaxed
add DO_WINCH to do-verify
winch release-length accepts rate
7 years ago
Michael du Breuil
516709fc72
Copter: Check GPS health
7 years ago