Commit Graph

263 Commits

Author SHA1 Message Date
Randy Mackay aea6b48d70 Rover: navigate_to_waypoint supports integrates wpnav set_nuidge_speed_max 2022-03-30 15:34:14 +09:00
Randy Mackay 5341070af4 Rover: integrate rename of AR_WPNav::set_speed_max
range checks are no longer required because they are implemented within AR_WPNav
2022-03-30 15:34:14 +09:00
Randy Mackay a5638f5699 Rover: auto, guided, rtl call wpnav.init instead of set-desired-speed
also smart-rtl
2022-03-30 15:34:14 +09:00
Randy Mackay ee317299fc Rover: sailboats enable wpnav's overspeed support 2022-03-30 15:34:14 +09:00
Randy Mackay c9369b05b3 Rover: auto does not set unused _reached_destination member 2022-03-30 15:34:14 +09:00
Randy Mackay a6b22e4db9 Rover: guided does not set _reached_destination member 2022-03-30 15:34:14 +09:00
Randy Mackay 147b1284c9 Rover: guided mode fix for reached_destination during wpnav 2022-03-30 15:34:14 +09:00
Randy Mackay 34447fa7a8 Rover: integrate AR_WPNav_OA 2022-03-30 15:34:14 +09:00
Randy Mackay 74889f1c7a Rover: guided integrates wpnav's support of fast updates
also guided implements wp_bearing, nav_bearing, crosstrack_error and
get_desired_lat_accel
2022-03-30 15:34:14 +09:00
Randy Mackay c66f6188ea Rover: param conversion for WP_PIVOT params
parameters moved from WPNav to AR_PivotTurn
2022-03-30 15:34:14 +09:00
Randy Mackay 4c6bccc8d5 Rover: incorporate mission change detector 2022-03-30 15:34:14 +09:00
Randy Mackay 315c5fb7d7 Rover: GCS_PID_MASK supports Velocity North and East 2022-03-30 15:34:14 +09:00
Randy Mackay 95c69811cb Rover: integrate position controller 2022-03-30 15:34:14 +09:00
Peter Barker 318678ac96 Rover: split AP_HAL_SITL and HAL_SIM_ENABLED 2022-03-17 14:39:55 +11:00
Randy Mackay a79ad5489c Rover: balance bot stands in acro with no position estimate 2022-03-16 08:08:50 +09:00
Randy Mackay 7c99268541 Rover: 4.2.0-beta2 release notes 2022-03-12 08:07:58 +09:00
murata ff27fb776d Rover: Change the process for errors 2022-03-08 14:36:19 -08:00
Iampete1 26a804eec7 Rover: loiter: sailboats don't try and sail directly into the wind 2022-03-08 08:34:37 +09:00
Randy Mackay 2ede298e8c Rover: version to 4.3.0-dev 2022-03-02 09:58:12 +09:00
Peter Barker bb44cca7ed Rover: add RebootRequred to stream rate parameters 2022-03-01 11:01:12 +11:00
Randy Mackay a843249f11 Rover: 4.2.0-rc1 release notes 2022-02-28 11:43:37 +09:00
Randy Mackay 020262bfe7 Rover: fix nav_script_time timeout 2022-02-24 10:00:42 +09:00
Randy Mackay 8a7a22e707 Rover: fix set_target_location to always use Guided mode
Without this fix, if lua sent a target location while in Guided-within-Auto the Auto submode would be changed out of Guided-within-Auto meaning follow-up commands from lua or a companion computer would be ignored
2022-02-22 12:32:56 +09:00
Randy Mackay bf8ce85b4d Rover: minor format fix 2022-02-22 12:32:56 +09:00
Randy Mackay bf3d322005 Rover: add nav_script_time mission command support 2022-02-22 12:32:56 +09:00
Randy Mackay 828af93e31 Rover: 4.1.5 release notes 2022-02-19 14:10:17 +09:00
Randy Mackay 0ecbfa5ba9 Rover: minor format fixes 2022-02-15 08:01:32 +09:00
Randy Mackay a5e424350d Rover: remove unnecessary constraint on steering sent to motors library 2022-02-15 08:01:32 +09:00
Peter Barker 5db5bbfbb3 Rover: remove un-needed initialisations 2022-02-12 22:02:15 +11:00
Randy Mackay f4e71b40d1 Rover: 4.1.5-rc1 release notes 2022-02-11 08:30:46 +09:00
Peter Barker 8df3c5a346 Rover: create and use location_from_command_t 2022-02-09 09:15:11 +11:00
Randy Mackay a7b43b0ded Rover: 4.1.4 release notes 2022-02-08 12:08:08 +09:00
Peter Barker fba1710fbf Rover: provide default implemenation of handle_change_alt_request
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.

This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
Peter Barker 588e2e0745 Rover: remove logging of STRT message
SType is always 1 - and we're just about to log the entire
mission so CTOT is pointless
2022-02-04 18:28:33 +11:00
Randy Mackay dee3f9dce1 Rover: 4.1.4-rc1 release notes 2022-01-31 19:45:35 +09:00
Rishabh 7265e11b53 Rover: Allow lua script access to turn rate guided command 2022-01-31 14:48:22 +09:00
Shiv Tyagi 10ea19b31a Rover: rename GUID to GUIP 2022-01-26 21:36:48 +09:00
Peter Barker 92e6e69b51 Rover: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library 2022-01-25 10:59:17 +11:00
Peter Barker 03cde13b55 Rover: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Joshua Henderson 5f54daecee Rover: move Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Peter Barker 94dca37d2e Rover: move RPM sensor logging into AP_RPM 2022-01-11 11:09:26 +11:00
Randy Mackay 2c6e5d4b98 Rover: use AR_AttitudeControl::get_throttle_speed_pid_info 2022-01-07 09:36:44 +09:00
Peter Barker 5a421c7eb3 Rover: obey AP_OPTICALFLOW_ENABLED 2022-01-06 13:35:51 +11:00
Iampete1 bb73d31e0b Rover: add video stab log bit and log in ahrs_update 2022-01-05 19:56:03 +11:00
Randy Mackay 9828585400 Rover: 4.1.3 release notes 2021-12-31 14:13:03 +09:00
Randy Mackay 4e405244b9 Rover: 4.1.3-rc2 release notes 2021-12-22 11:02:42 +09:00
Peter Barker ce29501ca8 Rover: tidy log message id definitions
Add a comment indicating only 20 ids are available to the vehicle
2021-12-21 10:42:18 +11:00
Randy Mackay 6fda5b946e Rover: 4.1.3-rc1 release notes 2021-12-20 09:28:19 +09:00
Gone4Dirt 973cf9a043 Rover: Make RPM log independant of RC log mask 2021-12-16 12:48:48 +11:00
Peter Barker 4e42986e19 Rover: use @CopyValuesFrom for MODEn parameters 2021-12-16 07:11:33 +11:00
Shiv Tyagi dbd6cd1a58 Rover: Copter: remove pilot_throttle_checks()
This method is redundant as radio_failsafe_check() takes care of below acceptable value of throttle.
2021-12-15 12:02:51 +09:00
Randy Mackay 0a4bfcea43 Rover: 4.1.2 release notes 2021-12-07 20:11:28 +09:00
Randy Mackay dd6ce1fa73 Rover: guided starts in stop submode 2021-12-07 09:55:31 +09:00
Randy Mackay a0ef7a1476 Rover: stop_vehicle controls turn rate until stopped 2021-12-07 09:55:31 +09:00
Andrew Tridgell ba8ce12b67 Rover: revert compass parameter changes 2021-12-04 16:51:53 +11:00
Iampete1 935fc0f073 Rover: remove compass params underscore 2021-11-30 08:14:43 +09:00
Randy Mackay e6b838000a Rover: 4.1.2-rc1 release notes 2021-11-29 19:15:01 +09:00
Shiv Tyagi 6294b77211 Rover: make Mis_Done_Behave enum public 2021-11-24 11:01:19 +09:00
Shiv Tyagi f319c36de1 Rover: set MIS_DONE_BEHAVE to LOITER in boats
Boats should loiter after completing a mission to avoid drifting off
2021-11-24 11:01:19 +09:00
Randy Mackay 1f28ab0576 Rover: mission started only after EKF origin is set 2021-11-23 11:18:15 +11:00
Randy Mackay 7618241be4 Rover: auto defaults to stop or loiter submode 2021-11-23 11:18:15 +11:00
Peter Barker bc4abea7d5 Rover: allow specification of Scheduler table priorities 2021-11-17 19:00:04 +11:00
Randy Mackay f7e8828f92 Rover: fix NTUN.yaw units
Units now "degheading" instead of just "deg" to better match the WPBrg and DesYaw fields
2021-11-17 08:06:07 +09:00
Peter Barker 9a5520a811 Rover: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker 5cd2c00ea7 Rover: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Randy Mackay e33e94799a Rover: 4.1.1 release notes 2021-11-09 21:34:59 +09:00
Shiv Tyagi dfd7dfc1af Rover: set failsafe_radio flag when RC failsafe is triggered/cleared
This sets failsafe_radio flag when RC failsafe is triggered/cleared which is further used in AP_Arming::manual_transmitter_checks to fail pre-arm checks if failsafe is on
2021-10-30 15:47:53 +09:00
Shiv Tyagi 1b8fc31fcd Rover : add pilot_throttle_checks() to check throttle failsafe
This adds pilot_throttle_checks to check for throttle failsafe and prevents arming if throttle failsafe is triggered
2021-10-30 15:47:53 +09:00
Iampete1 72b821d9da Rover: remove trim radio functionality 2021-10-23 12:32:06 +09:00
Sebastian Quilter 2f56ac45ab Rover: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Randy Mackay 6738bf9edd Rover: remove <startup_ground> message
also remove GROUND_START_DELAY definition
2021-10-20 06:12:43 -04:00
Randy Mackay 9d030e9424 Rover: PILOT_STEER_TYPE param desc fix 2021-10-20 06:10:56 -04:00
Iampete1 f178717212 Rover: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Peter Barker 16498b7aee Rover: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Randy Mackay bb7c3a7fb4 Rover: 4.1.1-rc1 release notes 2021-10-19 07:09:53 +09:00
Shiv Tyagi 6faa586dec Rover : log multiple rangefinder instances in DPTH message
This makes log_dpth method to log multiple instances of rangefinder

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
2021-10-03 09:21:31 -04:00
Peter Barker 88b55aceb3 Rover: stop passing current_loc into AP_Camera 2021-09-29 18:33:01 +10:00
Iampete1 6ebef3fe6b Rover: move from AUX_FUNC::SAVE_TRIM to AUX_FUNC::TRIM_TO_CURRENT_SERVO_RC 2021-09-28 09:16:24 +10:00
Iampete1 4c069d57ea Rover: fix RC init order to avoid error message 2021-09-21 17:49:47 +10:00
Josh Henderson 6c25a8e628 Rover: position_target_global_int() remove rotating yaw for MAV_BODY_FRAMES 2021-09-21 09:44:43 +09:00
Iampete1 1eb26c83e2 Rover: convert to new ARMDISARM 2021-09-21 09:36:24 +10:00
Randy Mackay dafdf26c74 Rover: 4.1.0 release notes 2021-09-20 09:02:51 +09:00
Andrew Tridgell 608f316698 Rover: moved accel cal update to vehicle code 2021-09-17 14:07:14 +10:00
Randy Mackay 05b07468af Rover: 4.1.0-rc3 release notes
also update 4.1.0-rc2 release notes
2021-09-15 16:15:31 +09:00
Josh Henderson b2d9504c3a Rover: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Randy Mackay 0470fb2cb8 Rover: 4.1.0-rc2 release notes 2021-09-10 14:42:01 +09:00
Peter Barker 591c7d55c7 Rover: make bad-mode-number notification consistent across vehicles 2021-09-01 19:45:46 +09:00
Peter Barker 96be74bdc2 Rover: reuse set-mode-by-number method 2021-09-01 19:45:46 +09:00
Peter Barker 44a72cfab1 Rover: remove unimplemented mavlink_set_mode 2021-09-01 19:45:46 +09:00
Randy Mackay 5f8237d1ab Rover: 4.1.0-rc1 release notes 2021-08-28 17:14:12 +09:00
olliw42 1856722b65 Rover: remove send_servo_out() method 2021-08-26 09:44:59 +10:00
olliw42 2fecc02aa6 Rover/GCS_MAVLINK: add send_servo_out() method and use GCS_MAVLINK::receiver_rssi() 2021-08-26 09:44:59 +10:00
Peter Barker 6aed71b75d Rover: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
Andrew Tridgell 52fe9ff5b4 Rover: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell 27ff63b865 Rover: added slew rate and Dmod for PID_TUNING message 2021-08-19 12:08:54 +10:00
Peter Barker f1e2e344f1 Rover: 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
Andrew Tridgell 7b5ab8bb8c Rover: mark logger Write() calls as streaming where appropriate 2021-08-18 10:20:03 +10:00
Peter Barker 683806714c Rover: move VehicleClass handling to AHRS frontend
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Randy Mackay 0b0ca6a9e9 Rover: 4.1.0-beta7 release notes 2021-08-14 11:16:44 +09:00
Peter Barker f32fe77602 Rover: ensure arming when running motor test 2021-08-13 08:00:52 +10:00