Commit Graph

304 Commits

Author SHA1 Message Date
Randy Mackay 8ddaf74f59 Rover: 4.2.3-rc3 release notes 2022-08-20 12:28:03 +09:00
Peter Barker e51a99763f Rover: rename OpticalFlow class to AP_OpticalFlow
Brings us in-line with other classes in ArduPilot.

Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
2022-08-18 14:24:01 +10:00
Peter Barker 082eb83f30 Rover: return true straight away in prearm checks if armed
mirrors equivalent clause in Plane
2022-08-17 17:44:48 +10:00
Randy Mackay 99858e021d Rover: replace send-mount-status with send-gimbal-device-attitude-status 2022-08-15 20:29:25 -04:00
Peter Barker b75696e4e6 Rover: move call to compass cal update up to AP_Vehicle 2022-08-16 10:06:44 +10:00
Randy Mackay bfda1d979f Rover: 4.2.3-rc2 release notes 2022-08-15 11:07:48 +09:00
Randy Mackay 3097eb763e Rover: 4.2.3-rc1 release notes 2022-08-12 15:56:33 +09:00
Peter Barker aec179ca40 Rover: fix stick mixing in auto mode 2022-08-11 20:03:12 -04:00
Henry Wurzburg 1f819e11fb Rover: update logging bitmask metadata to new style 2022-08-09 11:38:16 +10:00
Iampete1 3614a8e634 Rover: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 9d4d0c10eb Rover: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 eac067a5c4 Rover: fence moved to vehicle 2022-07-27 19:04:56 +10:00
Iampete1 ff103e309e Rover: set defualt format version 2022-07-20 17:59:59 +10:00
Iampete1 7fd157acb4 Rover: move AIS to vehicle
This reverts most of commit e86665a989.
2022-07-12 09:39:54 +10:00
TunaLobster 717a729128 Rover: Add manual speed scaled steering option 2022-07-07 20:46:19 +01:00
Yuri f1d6574fe5 Rover: implement set_desired_speed 2022-07-07 19:34:10 +09:00
Peter Barker cb591993f8 Rover: remove non-functional FRSKY_TELEM_ENABLED define 2022-06-29 10:59:50 +09:00
Randy Mackay e4859ee4b3 Rover: 4.2.2 release notes 2022-06-28 08:53:33 +09:00
murata 65cfded501 Rover: Initialize a string array 2022-06-22 17:25:56 +10:00
Randy Mackay c334fbe069 Rover: 4.2.2-rc1 release notes 2022-06-21 20:17:21 +09:00
Peter Barker e9e52304c6 Rover: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker 74bd48f1d1 Rover: stop passing serialmanager into beacon constructor 2022-06-11 16:02:37 +10:00
Peter Barker 686f2f8ef4 Rover: reduce and move includes
A lot of this stuff has moved up to AP_Vehicle or is only used in Parameters.h
2022-06-08 21:14:57 +10:00
Pierre Kancir f7facecd3c Rover: fix createTags permission 2022-06-08 08:16:42 +09:00
Randy Mackay a714384e1c Rover: 4.2.1 release notes 2022-06-07 07:59:08 +09:00
Randy Mackay 04d11ba93e Rover: 4.2.1-rc1 release notes 2022-05-28 16:31:34 +09:00
Tom Pittenger 2d09b3fcef Rover: fix compiler warning, uninitialized variables in GCS msg 2022-05-24 15:30:05 +09:00
Randy Mackay 3d1ce3dc0e Rover: 4.2.0 release notes 2022-05-23 16:17:09 +09:00
Randy Mackay 66d56b39ab Rover: 4.2.0-rc4 release notes 2022-05-16 08:21:46 +09:00
Randy Mackay ba9587725c Rover: 4.2.0-rc3 release notes 2022-05-07 08:45:58 +09:00
Randy Mackay 9cf065072b Rover: 4.2.0-rc2 release notes 2022-04-29 08:11:58 +09:00
Iampete1 2056525cdd Rover: wscript: remove AP_L1_Control 2022-04-27 18:41:25 +01:00
yuri-rage ce1f0343c7 Rover: added "SaveWP: Mission cleared!" message 2022-04-23 08:57:23 +09:00
Peter Barker 29785dabca Rover: use rangefinder distance() rather than distance_cm 2022-04-19 10:26:10 +10:00
Peter Barker 134e4ff705 Rover: move logging of Beacon into Beacon library 2022-04-13 16:22:19 +10:00
Peter Barker 2327218822 Rover: move logging of Proximity into Proximity library 2022-04-13 16:22:19 +10:00
Peter Barker 3d854c7e92 Rover: move logging of RPM into RPM library 2022-04-13 16:22:19 +10:00
Randy Mackay 1240ed13b1 Rover: 4.2.0-rc1 release notes 2022-04-09 20:39:17 +09:00
Peter Barker 4db1e6a914 Rover: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Randy Mackay beb13d91fb Rover: 4.2.0-beta3 release notes 2022-03-30 19:55:54 +09:00
Randy Mackay f7a33a8900 Rover: navigate-to-waypoint leaves simple avoidance to position controller
also navigate-to-waypoint may trigger tacking
2022-03-30 15:34:14 +09:00
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