Commit Graph

1049 Commits

Author SHA1 Message Date
Peter Barker e98af90749 ArduSub: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Willian Galvani da906f6b0f Sub: use BARO instead of GND prefix to set default baro parameters
This updates the code to deal with the changes from 3f6fd49507
2021-07-13 06:50:24 +10:00
Peter Barker 088120b8f3 ArduSub: use singleton to access AP_Terrain data 2021-07-12 17:34:44 +10:00
Peter Barker ed0b0451cf ArduSub: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Leonard Hall 48a99df2b3 Sub: seperate kinimatic shaping from pid limit setting 2021-07-10 20:25:05 +09:00
Leonard Hall 5a133dac84 Sub: adjust for AttitudeControl library changes 2021-07-10 20:25:05 +09:00
Andrew Tridgell c059f8c044 Sub: fixes for use of longitude_scale() 2021-07-10 07:20:41 +10:00
Willian Galvani 6ef37daaad Sub: use scheduler.get_loop_period_s() instead of MAIN_LOOP_SECONDS 2021-07-08 13:09:34 -04:00
Peter Barker bc4ee95004 ArduSub: remove misleading NOINLINE comment
NOINLINE hasn't been used in years in these files
2021-07-08 21:28:38 +10:00
Stephen Dade 2a1f6e1b31 ArduSub: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10:00
Andrew Tridgell 702f95d4c6 Sub: fixed longitude wrap 2021-06-25 15:33:55 +10:00
Andrew Tridgell 70f874e288 Sub: update for new double precision position APIs 2021-06-24 21:34:30 +10:00
Andrew Tridgell 18dd373ff5 Sub: use cleaned up APIs 2021-06-24 20:28:45 +10:00
Peter Barker 6f81c250be ArduSub: remove optical flow pointer from AP_AHRS
Nothing was ever using it.
2021-05-30 10:44:42 +10:00
Peter Barker 26d1e34c19 ArduSub: 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 05d74ba50d Sub: call AC_PosControl::write_log in modes with only vertical control like AltHold 2021-05-26 18:58:31 +10:00
Hwurzburg 8a6c09c39a ArduSub: make centideg metadata incr and range consistent 2021-05-25 10:10:18 +10:00
Leonard Hall 4c3a5c0918 Sub: Fix before squash 2021-05-24 20:13:37 +10:00
Leonard Hall 266bd22df3 Sub: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Leonard Hall 74d22594db Sub: integrate AC_PosControl::get_roll_cd rename 2021-05-12 17:16:00 +10:00
Josh Henderson 7e5ac5b648 ArduSub: Privatize AP_IntertialSensor Logging 2021-04-29 19:19:12 +10:00
Peter Barker cb7ac6fb54 ArduSub: tidy setting of sensor status flags 2021-04-14 18:03:27 +10:00
Peter Barker 2e23822b27 ArduSub: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Randy Mackay 224cd5a0d3 Sub: auto-yaw-correct-xtract uses target velocity instead of position error
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2021-04-03 12:07:59 +09:00
Randy Mackay afa59b9a60 Sub: integrate s-curves, remove spline support 2021-04-03 12:07:59 +09:00
Josh Henderson f7b39b19f0 ArduSub: make Location(Vector3f) require ALTFRAME 2021-03-30 08:56:35 +09:00
Randy Mackay dbecf363f3 Sub: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Peter Barker 34d6094838 ArduSub: remove Log_Write_Performance which is not called anywhere 2021-03-26 16:35:08 +11:00
Siddharth Purohit f95fe1d464 ArduSub: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Tom Pittenger 5b684e5e2b Sub: change SRx_ docs value 1 50 2021-03-03 18:17:22 +11:00
Peter Barker 840bdbba62 Sub: show frame class as part of banner
Similar to how Copter does in its equivalent method.

frame type is not used on Sub ATM
2021-02-12 08:37:20 +09:00
Willian Galvani e448910ff0 Sub: don't override default RNGFND1_TYPE
This is causing side-effects in QGC 4.1, as it reports the Range-
finder to be in bad health, which causes qgc to show "not ready to
fly" instead of "ready to fly" which might confuse users
2021-02-11 10:43:50 -08:00
Peter Barker 82edfc6237 Sub: remove unused prev_control_mode_reason 2021-02-03 19:22:25 +11:00
Patrick José Pereira 678cbdfb4f ArduSub: 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 2b890eda53 ArduSub: move control_mode_reason up to AP_Vehicle 2021-02-03 18:24:52 +11:00
Randy Mackay e7c2eb1705 Sub: ahrs pre-arm skips position checks 2021-01-26 10:46:49 +11:00
Peter Barker f6f19eeeb2 ArduSub: add do_disarm_checks boolean to disarm call
this creates symmetry between arming and disarming, at least as far as
the top-level arm() and disarm() calls are concerned.
2021-01-12 08:48:44 +09:00
Josh Henderson aaa1341b75 ArduSub: privatize AHRS logging 2021-01-12 10:13:22 +11:00
Tom Pittenger d45ff51bd1 Sub: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER 2020-12-29 07:52:09 -07:00
yaapu 2e69ba1091 ArduSub: added virtual getters for waypoint info 2020-12-10 12:39:44 +11:00
Andrew Tridgell cd2f2f96eb rename barometer parameters to BARO prefix 2020-12-08 13:22:17 +11:00
Andrew Tridgell aca46c177d ArduSub: moved init_safety to AP_Vehicle 2020-12-08 11:14:24 +11:00
Peter Barker 1c19a228ac Sub: nail GND_EXT_BUS down to bus 1 on Pixhawk1 2020-12-04 16:37:10 +11:00
Peter Barker 6e5e73ef2c Sub: initialise celsius library on configured (barometer) external bus 2020-12-04 16:37:10 +11:00
Peter Barker 64e1784cb7 Sub: use set_default_by_name for GND_EXT_BUS 2020-12-04 16:37:10 +11:00
Randy Mackay a8f4ab3d43 Sub: guided pos hold init loses redundant set-auto-yaw-mode
also use wpnav's 3d stopping point method
2020-11-27 10:52:17 +09:00
Jacob Walser c2e3520add Sub: update release notes for 4.0.2 2020-11-23 12:41:39 -05:00
Willian Galvani 4415d4ed56 Sub: update release notes for 4.0.1 2020-11-23 12:41:30 -05:00
Iampete1 d197ec4072 Sub: add airspeed sensors 2020-10-27 11:24:49 +11:00
Randy Mackay 4bf4872504 Sub: integrate ahrs::get_variances change
offset is no longer returned
2020-10-21 08:58:45 +09:00