Commit Graph

122 Commits

Author SHA1 Message Date
Peter Barker f64fcb78d3 ArduCopter: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
MattKear ae38c96a04 Copter: use new surface distance library 2024-05-28 09:55:36 +10:00
Iampete1 be275e2cac Copter: use new motors thrust linrisation, don't send air density ratio 2023-04-18 09:32:22 +10:00
Randy Mackay e6ad42b851 Copter: fix terrain offset reset 2023-03-07 13:41:35 +11:00
Leonard Hall 7978347044 Copter: Add support for terrain altitude time constant 2023-03-07 13:41:35 +11:00
Randy Mackay 46023318d4 Copter: get_rangefinder_height_interpolated_cm made const 2022-06-21 09:07:36 +09:00
Peter Barker b4ff6ddfb7 ArduCopter: move RPM sensor logging into AP_RPM 2022-01-11 11:09:26 +11:00
Peter Barker 6bfcf2fb53 Copter: remove pointless wrapper around proximity init 2022-01-04 09:02:54 +09:00
Gone4Dirt 320f7477a5 Copter: Make RPM log independant of RC log mask 2021-12-16 12:48:48 +11:00
Josh Henderson 3107c42fca Copter: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Andrew Tridgell ab36dc0ed9 Copter: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
Iampete1 0895cf0a07 Copter: remove gesture compass cal start / stop 2021-08-24 08:51:29 +09:00
Randy Mackay 1cafbe1e65 Copter: add configurable rangefinder filter 2021-06-16 18:54:13 +10:00
Peter Barker b9c1633358 ArduCopter: remove pointless init_optflow wrapper
Hiding a one-line call in a wrapper just adds size to the build
2021-05-28 13:41:50 +09:00
Randy Mackay 91fa40aea6 Copter: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Rishabh e727d08266 Copter: Provide downward facing rangefinder readings to proximity lib 2021-03-09 11:02:26 +09:00
Patrick José Pereira ad82e01270 ArduCopter: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Barker 4136397810 Copter: correct compilation when CIRCLE mode is disabled 2020-10-06 11:25:09 +11:00
Randy Mackay 925f76c048 Copter: integrate winch changes
includes the following changes
winch_update called at 50hz
removed ability to set winch rate from ch6 tuning
remove wheel encoder
call winch library to log at 10hz
fix winch param prefix
2020-08-07 21:55:07 +09:00
Randy Mackay c0ac4bb51c Copter: loiter-turn obeys wpnav-rfnd-use 2020-04-16 17:30:29 +09:00
Randy Mackay 71cbedb178 Copter: support circle with terrain altitude 2020-04-16 17:30:29 +09:00
Randy Mackay 04c3f040a8 Copter: visual odometry moved to AP_Vehicle 2020-04-09 19:41:08 +09:00
Andrew Tridgell dd5fafe30e Copter: added rangefinder height interpolated using inertial alt
this smooths rangefinder heights and allows for good estimated for
precision landing even with loss of some rangefinder samples during landing
2020-02-25 09:10:30 +09:00
Randy Mackay eca0d662f0 Copter: minor format fix to sensors.cpp 2020-02-17 14:30:18 +09:00
Peter Barker dfc8349866 Copter: use enum-class for RangeFinder Status 2019-11-09 08:01:53 +11:00
Peter Barker 94222d0195 Copter: correct compilation when rangefinder tilt correction disabled 2019-11-06 16:36:35 +11:00
Peter Barker 7944692de6 Copter: Proximity uses rangefinder singleton 2019-10-31 11:58:15 +08:00
Randy Mackay 9d5cbbe58f Copter: restore range finder updates to 20hz 2019-09-28 11:13:14 +09:00
Randy Mackay 1c4f47f882 Copter: add upward facing surface tracking 2019-09-28 11:13:14 +09:00
Randy Mackay d5d7fbe761 Copter: rangefinder glitch detection moved to read_rangefinder 2019-09-28 11:13:14 +09:00
Randy Mackay b54cf410ef Copter: increase read_rangefinder to 50hz 2019-09-28 11:13:14 +09:00
Peter Barker 4fa83ed40d Copter: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Randy Mackay 8e095d4a81 Copter: avoid terrain failsafe from a single out-of-range rangefinder reading 2019-07-29 16:01:52 +09:00
Peter Barker 7207035c34 Copter: do no compass stick gesture detection while armed 2019-04-23 10:06:17 +10:00
Peter Barker 3e51d8c7d7 Copter: RangeFinder now handles RFND logging 2019-04-09 22:17:58 +10:00
Michael du Breuil d1246f5868 Copter: Fix RangeFinder init 2019-04-06 09:15:22 +11:00
Peter Barker 2040580ce7 Copter: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
Peter Barker c7e21d95ef Copter: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker 6d87b9316f ArduCopter: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker c622645ff1 Copter: move update_sensor_flags to GCS_Copter.cpp 2019-02-20 11:57:00 +11:00
Peter Barker 5ff80e06d1 Copter: move update_sensor_status_flags into GCS subclasses 2019-02-19 14:09:59 +11:00
Peter Barker f64ad2f433 Copter: move visual odometry update function into AP_VisualOdom 2019-02-16 15:13:59 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 33ca577653 Copter: OpticalFlow takes care of its own logging 2018-11-13 10:40:23 +11:00
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)
2018-11-10 12:20:27 +09:00
Randy Mackay 346e9e36db Copter: remove compass accumulate 2018-08-06 11:05:34 +10:00
Peter Barker c2f9b857a4 Copter: remove unused baro_climbrate variable 2018-07-04 21:08:47 +01:00
Peter Barker 724f34c7e7 Copter: use MAV_SYS_STATUS_SENSOR_PROXIMITY for proximity sensor
Copter: correct laser sensor health bits
2018-06-26 10:25:28 +10:00
Randy Mackay 25475b65d9 Copter: proximity sensor reports laser unhealthy when no data 2018-05-24 12:46:38 +09:00