Commit Graph

409 Commits

Author SHA1 Message Date
Randy Mackay dbde36b504 Rover: remove unused do-control-video 2023-03-09 12:24:05 +11:00
Stephen Dade c33f6fc1a4 Rover: Better wording for MIS_DONE_BEHAVE 2023-03-02 18:06:26 +11:00
Randy Mackay 7f1201bb39 Rover: 4.3.0-beta10 release notes 2023-03-02 15:03:02 +09:00
Randy Mackay f7fe4f8856 Rover: integrate camera frontend/backend split 2023-03-01 18:18:51 +11:00
Pierre Kancir 837ebd4491 Rover: add FS_GCS_TIMEOUT 2023-02-24 09:41:17 -08:00
Peter Barker 75fd6cb630 Rover: add support for mavlink in-progress message 2023-02-21 17:07:41 +11:00
Randy Mackay 0cee9b820b Rover: update 4.3.0-beta9 release notes again 2023-02-15 12:32:07 +09:00
Randy Mackay 9030b04c8b Rover: update 4.3.0-beta9 release notes 2023-02-15 12:32:02 +09:00
Randy Mackay 56c50ebb53 Rover: 4.3.0-beta9 release notes 2023-02-15 12:31:59 +09:00
Peter Barker 60940593ee Rover: avoid using struct Location
clang reports this could be a problem when compiling under some EABIs.  Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Iampete1 65a2ec5b6a Rover: use check_enabked hepler to always check if all bit is set 2023-01-24 11:09:51 +11:00
Randy Mackay 3cbdf8b893 Rover: 4.3.0-beta8 release notes 2023-01-20 10:20:59 +09:00
Iampete1 ee2e711fe3 Rover: use shared param info defines 2023-01-11 18:41:34 +11:00
Randy Mackay 1e3b23ed12 Rover: update 4.3.0-beta7 release notes 2023-01-10 10:16:21 +09:00
Randy Mackay 1125fd2edd Rover: 4.3.0-beta7 release notes 2023-01-10 10:16:19 +09:00
Peter Barker 33599bd79c Rover: make check_var_info void
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Peter Barker 6e563dd834 Rover: remove logging of first home location into CMD message set 2023-01-03 11:22:18 +11:00
Peter Barker 9d3c2b167e Rover: implement parameter CopyFieldsFrom and use it 2023-01-03 11:08:43 +11:00
Peter Barker 482b7d746a Rover: iinclude AP_OpticalFlow header as required 2022-12-15 21:07:31 +11:00
Peter Barker 82e7476532 Rover: code-generate chan-fetching methods
A recent PR had to change every single one of these methods, which was kind of unfortunate.

So generate the methods using a #define so the duplication happens at preprocessor-time.
2022-12-15 08:31:54 +11:00
Randy Mackay ac261f5be0 Rover: 4.3.0-beta6 release notes 2022-12-10 10:40:12 +09:00
Stephen Dade 6490436aca Rover: Add optical flow support 2022-12-01 08:03:47 +09:00
Wiktor Maslowski ca0ae1d9c6 Rover: fix long booting 2022-11-25 11:09:43 +09:00
Peter Barker 38ea1b4039 Rover: factor out handle_manual_control_axes 2022-11-23 19:33:46 +11:00
Randy Mackay a48b322a40 Rover: 4.3.0-beta5 release notes 2022-11-21 18:56:32 +09:00
Randy Mackay f74d22135c Rover: integrate balancebot pitch limit protection 2022-11-15 09:00:57 +09:00
Randy Mackay 058d6d4828 Rover: integrate ATC change to balancebot pitch control 2022-11-15 09:00:57 +09:00
Randy Mackay 105dcb7dab Rover: balance bot max pitch default to 10deg 2022-11-15 09:00:57 +09:00
Randy Mackay 3a36a1d405 Rover: add MANUAL_STR_EXPO 2022-11-11 08:52:30 +09:00
Yuri 87d86ec090 Rover: enable HNTCH for Rover 2022-10-25 09:48:51 +09:00
Andrew Tridgell d5f804b7cb Rover: enable EFI_STATUS mavlink message 2022-10-25 11:44:45 +11:00
Peter Barker 7456d8149f Rover: use fence singleton in afs check 2022-10-25 11:31:14 +11:00
Randy Mackay b31099f8da Rover: 4.3.0-beta4 release notes 2022-10-24 22:27:26 +09:00
Andrew Tridgell 680278023f Rover: two more arguments to NAV_SCRIPT_TIME 2022-10-23 18:11:15 +11:00
Andrew Tridgell 8847ff8060 Rover: fix for float16 2022-10-23 12:14:14 +11:00
Henry Wurzburg 38a546a6c6 Rover: update SRX descriptions 2022-10-19 23:26:45 +11:00
Peter Barker ae1bddfb00 Rover: stop sending BATTERY2 by default 2022-10-18 11:12:49 +11:00
Randy Mackay ea3e38f734 Rover: 4.3.0-beta3 release notes 2022-10-14 17:20:22 +09:00
Randy Mackay de70ccc6a7 Rover: 4.3.0-beta2 release notes 2022-10-04 16:55:16 +09:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker 1e4175cc8e Rover: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Peter Barker e2fd4fc782 Rover: do not send MSG_RPM if RPM not enabled 2022-09-28 20:10:21 +10:00
Randy Mackay dc8fbebe54 Rover: version to 4.4.0-dev 2022-09-27 10:46:12 +10:00
Peter Barker 71f77fea6e Rover: add and use AP_CAMERA_ENABLED 2022-09-21 11:58:38 +10:00
Peter Barker f2bfe8d21f Rover: tell the user we're not docking because we have no target 2022-09-19 21:23:06 -04:00
Peter Barker 4b8ab9d8a9 Rover: add and use AP_RPM_ENABLED
... and backend-specific equivalents
2022-09-20 09:28:27 +10:00
Randy Mackay bf8990bdc8 Rover: 4.3.0-beta1 release notes 2022-09-13 14:26:05 +09:00
Michael du Breuil 0dcda81fe4 Rover: Don't send HWSTATUS by default 2022-09-13 14:27:06 +10:00
Randy Mackay 6dd419eff5 Rover: 4.2.3 release notes 2022-09-12 15:23:26 +09:00
Shiv Tyagi 8bdc85f9c6 Rover: fix overshoot beyond stopping dist in dock mode 2022-09-09 18:24:39 +10:00
Shiv Tyagi d8cfb80619 Rover: add DOCK mode in rover
This mode will maneuver the rover towards a docking target automatically
2022-09-06 11:23:51 +09:00
Shiv Tyagi 7b573fa2c4 Rover: handle landing target mavlink message 2022-08-30 03:44:26 -04:00
Shiv Tyagi 82d1750e8c Rover: include precision landing library in rover
This compiles rover with precision landing library included
2022-08-30 03:44:26 -04:00
rishabsingh3003 0ec331dd16 Rover: Convert PRX_ parameters to PRX1_ 2022-08-24 18:26:27 +10:00
Shiv Tyagi a8a952d656 Rover: include fix in mode.h
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-08-22 10:04:22 +10:00
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