Commit Graph

9 Commits

Author SHA1 Message Date
Randy Mackay e36e00ddd6 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
2020-02-05 10:51:30 +11:00
Peter Barker 654fa722c3 Copter: correct compilation when avoidance disabled 2020-02-05 10:51:30 +11:00
Peter Barker 31338912d5 Copter: remove redundant SurfaceTracking enumeration namespacing
Also rename State to Surface to be more specific about what is being
set/tracked.
2020-02-05 10:51:30 +11:00
Randy Mackay dbaf6c470d Copter: upward surface tracking never closer than avoidance margin 2020-02-05 10:10:20 +11:00
Randy Mackay 3fe61476bf Copter: add upward facing surface tracking 2020-02-05 10:10:20 +11:00
Randy Mackay 972c916f1b Copter: surface tracking always includes ekf alt error when setting target rangefinder alt 2020-02-05 10:09:54 +11:00
Randy Mackay 7d66b904ef Copter: rangefinder glitch detection moved to read_rangefinder 2020-02-05 10:09:54 +11:00
Randy Mackay e4ccb10524 Copter: surface tracking format fixes 2020-02-05 10:09:54 +11:00
Randy Mackay c7d8f60469 Copter: move surface tracking implementation to surface_tracking.cpp 2020-02-05 10:09:54 +11:00