Commit Graph

9 Commits

Author SHA1 Message Date
Randy Mackay 69e8158a9d Copter: CTUN logging fix for SAlt
sonar altitude was not being logged in modes that don't use surface tracking including Auto
SAlt scaling was also incorrect
2019-12-16 15:17:36 +09:00
Peter Barker d4438f0a1c Copter: correct compilation when avoidance disabled 2019-12-16 15:16:33 +09:00
Peter Barker d1c2e0017e Copter: remove redundant SurfaceTracking enumeration namespacing
Also rename State to Surface to be more specific about what is being
set/tracked.
2019-12-16 15:16:01 +09:00
Randy Mackay a5d0f55bdc Copter: upward surface tracking never closer than avoidance margin 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 5d24d0e4dd Copter: surface tracking always includes ekf alt error when setting target rangefinder alt 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 808efa4c79 Copter: surface tracking format fixes 2019-09-28 11:13:14 +09:00
Randy Mackay d41e7dcbee Copter: move surface tracking implementation to surface_tracking.cpp 2019-09-28 11:13:14 +09:00