Commit Graph

1075 Commits

Author SHA1 Message Date
Peter Barker 1c544702d2 ArduSub: handle renaming of AP_InertialNav_NavEKF to AP_InertialNav 2021-10-20 18:09:36 +11:00
Peter Barker 4c1c0e591f ArduSub: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Iampete1 b7db7f8cac Sub: convert to PWM min and max in AP_Motors 2021-10-11 22:19:17 -04:00
Iampete1 44c5153df8 Sub: update_throttle_range don't set_throttle_range 2021-10-11 22:19:17 -04:00
Willian Galvani 0adc4562ad Sub: add exception for linux boards when setting BARO_EXT_BUS 2021-10-11 17:57:52 -03:00
Willian Galvani d5ec5f1dfc Sub: Motor-test: change disarm method on motor test timeout 2021-10-11 17:56:06 -03:00
Peter Barker f3e5e9463b Sub: stop passing current_loc into AP_Camera 2021-09-29 18:33:01 +10:00
Josh Henderson 69997626d3 Sub: modes keep controllers initialized when disarmed 2021-09-28 17:03:16 +10:00
Iampete1 adb58a9b60 Sub: fix RC init order to avoid error message 2021-09-21 17:49:47 +10:00
Iampete1 7e1eb970bc Sub: convert to new ARMDISARM 2021-09-21 09:36:24 +10:00
Andrew Tridgell dbe0bef58b Sub: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
Josh Henderson d6d9577f27 Sub: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Leonard Hall f3dc47ce3d Copter: Add units to the AC_AttitudeControl Library 2021-09-09 08:01:14 +09:00
Andrew Tridgell fd758113ce Sub: no need to fabs() get_default_speed_down() as it does fabs already 2021-09-07 18:55:00 +09:00
Leonard Hall c2f7702094 Sub: Separate landing and terrain following. 2021-09-06 16:00:19 +09:00
Peter Barker 29d2eed9e4 Sub: view update does not take skip_ins_update 2021-08-31 14:28:53 +10:00
Peter Barker 80a56a5fdf ArduSub: eliminate AP::ahrs().get_location 2021-08-31 09:47:31 +10:00
Andrew Tridgell 4daedd4572 Sub: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell bf7f140052 Sub: added slew rate and Dmod for PID_TUNING message 2021-08-19 12:08:54 +10:00
Peter Barker aa22126355 ArduSub: stop sending SENSOR_OFFSETS
Only works for first compass instance.

We have all of these in parameters anyway.
2021-08-18 18:06:24 +10:00
Peter Barker f35a94a730 ArduSub: DCM handles centrifugal correction application internally now 2021-08-17 10:36:46 +10:00
Peter Barker 9f8d01827a ArduSub: move VehicleClass handling to AHRS frontend
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Patrick José Pereira 190f1c5098 Sub: Parameters: Add default value for MNT_TYPE
It's very unlikely that a ROV may exist without a gimbal or any kind of camera control,
the common use case is to use a single servo to control the camera and this is why
we set the default value of MNT_TYPE as 1 (Servo).

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-16 17:49:54 -04:00
bugobliterator 6ec8919bdd Sub: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Willian Galvani 8ee38a7171 Sub: update release notes for 4.0.3 2021-08-02 18:29:15 -04:00
Peter Barker 3e13790039 ArduSub: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
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