Commit Graph

45632 Commits

Author SHA1 Message Date
Paul Riseborough ed17d8e48f AP_NavEKF3: Improve parameter display names 2020-12-11 15:21:41 +11:00
Paul Riseborough 4cf78c34e7 Tools: Add autotest for copter wind estimation and baro correction 2020-12-11 15:21:41 +11:00
Paul Riseborough 171f0b399f AP_NavEKF3: Remove commented code 2020-12-11 15:21:41 +11:00
Andrew Tridgell b86c014400 AP_NavEKF3: rename drag parameters to start with EK3_DRAG_ 2020-12-11 15:21:41 +11:00
Andrew Tridgell 3e2ff71750 AP_Baro: rename params to suit new BARO param naming 2020-12-11 15:21:41 +11:00
Paul Riseborough a3b5901218 autotest: Fix failing copter fly_square test
This test should be flown in ALT_HOLD, not  STABILIZE as that is better mode to test the record waypoint function becasue it removes the need to fine tune the RC3 value to match thrust/weight variation as the hover thrust is not learned fast enough at the start of the test.
2020-12-11 15:21:41 +11:00
Paul Riseborough 47d4506e68 AP_NavEKF3: Add drag and sideslip innovation logging 2020-12-11 15:21:41 +11:00
Paul Riseborough b258cb0539 SITL: Add momentum drag to Z axis to work around thrust model deficiencies 2020-12-11 15:21:41 +11:00
Paul Riseborough e835da41fa Tools: Define momentum drag 2020-12-11 15:21:41 +11:00
Paul Riseborough a907c10733 SITL: Add momentum drag to multicopter model 2020-12-11 15:21:41 +11:00
Andrew Tridgell abd3ae8f3b Copter: added mavlink reporting of airspeed and wind
when we have EKF3 estimation available
2020-12-11 15:21:41 +11:00
Andrew Tridgell b7f68e87b4 SITL: added barometer wind coefficients 2020-12-11 15:21:41 +11:00
Andrew Tridgell 567de3047b AP_Baro: added modelling of baro wind effects in SITL 2020-12-11 15:21:41 +11:00
Andrew Tridgell 5fc68a1ce5 autotest: adjust for new baro SITL param names 2020-12-11 15:21:41 +11:00
Andrew Tridgell e552fd7e5a AP_Baro: adjust for new baro params in SITL 2020-12-11 15:21:41 +11:00
Andrew Tridgell 3456bdb4eb SITL: added a separate param class for SITL baro params
makes it easier to add more
2020-12-11 15:21:41 +11:00
Andrew Tridgell 9563c1ed33 AP_Baro: rename wind coefficient params to be clearer 2020-12-11 15:21:41 +11:00
Paul Riseborough 4884476c09 AP_NavEKF3: Formatting and comment fixes 2020-12-11 15:21:41 +11:00
Andrew Tridgell be4d10a95e AP_NavEKF3: rework parameter handling
and fixed indentation
2020-12-11 15:21:41 +11:00
Andrew Tridgell 1c1c067dee AP_Baro: rework to separate out wind coefficient params
- disable on low flash boards
 - add an enable parameter per baro for wind coeffients
2020-12-11 15:21:41 +11:00
Paul Riseborough 5da62aeaa2 AP_NavEKF3: Fix CI build errors 2020-12-11 15:21:41 +11:00
Paul Riseborough 0d2c235027 AP_NavEKF3: Fix #define typo 2020-12-11 15:21:41 +11:00
Paul Riseborough ab05e8ed4a AP_NavEKF3: Update param descriptions 2020-12-11 15:21:41 +11:00
Paul Riseborough 4f4a2f446d AP_NavEKF3: Remove unsupported parameter unit descriptions 2020-12-11 15:21:41 +11:00
Paul Riseborough 0be0498801 AP_Baro: Add static pressure positoin error correction 2020-12-11 15:21:41 +11:00
Paul Riseborough 3a0105fcc3 AP_AHRS: Add accessor function for body frame airspeed vector 2020-12-11 15:21:41 +11:00
Paul Riseborough b372d62f35 AP_NavEKF2: Add accessor function for body frame airspeed vector 2020-12-11 15:21:41 +11:00
Paul Riseborough c9ab4b18b0 AP_NavEKF3: Add multicopter wind estimation 2020-12-11 15:21:41 +11:00
Peter Barker ab444e1d26 RC_Channel: correct function initialisation 2020-12-11 15:21:22 +11:00
Andrew Tridgell ac4a05ffbf AP_NavEKF3: fixed null dereference of airspeed
this caused a segfault in replay
2020-12-11 14:22:46 +11:00
Andrew Tridgell 2071a19a40 AP_NavEKF3: only fuse airspeed if healthy 2020-12-11 09:59:49 +11:00
Andrew Tridgell 5e72907730 AP_NavEKF2: only fuse airspeed if healthy 2020-12-11 09:59:49 +11:00
Andrew Tridgell d16af5448b AP_DAL: added healthy() method for airspeed 2020-12-11 09:59:49 +11:00
Peter Barker ca41a19072 AP_AHRS: AHRS itself must also be healthy to arm, not just the "backend" 2020-12-11 09:55:40 +11:00
Peter Barker 813723d0b7 autotest: add test for needing AHRS to be healthy to arm 2020-12-11 09:55:40 +11:00
Peter Barker 9ad2961664 autotest: allow regex for matching wait_statustext 2020-12-11 07:35:02 +11:00
Peter Barker 50957fff89 Tools: autotest: bisect-helper.py can run autotest by name 2020-12-11 07:35:02 +11:00
Dr.-Ing. Amilcar do Carmo Lucas ccd4c0b93f Mavlink: update to 2020-12-09 2020-12-11 06:37:32 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 1d0e7d2974 GCS_MAVLink: Added cells 11...14 voltage information (13 and 14 are 0 for now) 2020-12-11 06:37:32 +11:00
yaapu 89f0ed2f8f AP_Scripting: added bindings and example for waypoint info 2020-12-10 12:39:44 +11:00
yaapu 2e69ba1091 ArduSub: added virtual getters for waypoint info 2020-12-10 12:39:44 +11:00
yaapu 8ea896e138 Rover: added virtual getters for waypoint info 2020-12-10 12:39:44 +11:00
yaapu 141010ac39 ArduPlane: added virtual getters for waypoint info 2020-12-10 12:39:44 +11:00
yaapu 497dbd1414 ArduCopter: added virtual getters for waypopint info 2020-12-10 12:39:44 +11:00
yaapu edf2291fb0 AP_Vehicle: added getters for waypoint info, refactored osd publish_nav_info() 2020-12-10 12:39:44 +11:00
Tom Pittenger 68b2982cc6 AP_HAL_ChibiOS: CubeBlack/Orange-periph to use default HAL_SUPPORT_RCOUT_SERIAL 2020-12-09 07:53:09 -08:00
Tom Pittenger 6630645915 AP_HAL: ap_periph should disable HAL_SUPPORT_RCOUT_SERIAL by default 2020-12-09 07:53:09 -08:00
Tom Pittenger 0c5cc16d7b AP_Periph: populate more fields in batteryinfo 2020-12-09 07:52:15 -08:00
Peter Barker 449b0fb145 SITL: add simulated SF45B 2020-12-09 21:32:36 +11:00
Peter Barker c1202e4878 AP_HAL_SITL: add simulated SF45B 2020-12-09 21:32:36 +11:00