Commit Graph

453 Commits

Author SHA1 Message Date
Peter Barker 0bcb3ece85 Rover: rely on magic conversion to handle DO_SET_REVERSE as both int/long 2023-08-23 16:12:21 +10:00
Andrew Tridgell 62f9aa5d79 Rover: dummy implementation of AP_ExternalControl 2023-08-22 18:21:23 +10:00
Peter Barker 460faa8659 Rover: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker 95c13faac2 Rover: rely on AP_RALLY_ENABLED for rally support 2023-08-22 09:09:54 +10:00
Randy Mackay 7d34ec6351 Rover: 4.3.0-beta14 release notes 2023-08-16 09:58:48 +09:00
Shiv Tyagi 4f40b31367 Rover: use AP_FOLLOW_ENABLED 2023-08-15 09:57:35 +10:00
Randy Mackay f18d07a591 Rover: 4.4.0-beta4 release notes 2023-08-14 08:51:25 +09:00
Randy Mackay fa9c138fa7 Rover: 4.4.0-beta4 release notes 2023-08-01 20:01:30 +09:00
Randy Mackay ce76e896dc Rover: implement get_steering_and_throttle 2023-08-01 09:16:17 +10:00
Andrew Tridgell e7881077e2 Rover: fixed constructor ordering build error with gcc-12.2
the constructor order comes from the order in the class
2023-07-31 12:17:30 +10:00
Randy Mackay c4e6d83be1 Rover: log MNT at 10hz 2023-07-26 17:33:18 +10:00
Andrew Tridgell 460e19c3e5 Rover: removed set_blocking_writes_all calls 2023-07-12 17:06:02 +10:00
Randy Mackay 40fc35c65f Rover: circle uses lower accel and fix forward-back accel 2023-07-05 11:04:44 +09:00
Randy Mackay f1e3546e9e Rover: circle mode loses input shaping 2023-07-05 11:04:44 +09:00
Randy Mackay 9d60aca85a Rover: circle checks max speed and min radius 2023-07-05 11:04:44 +09:00
Randy Mackay 0f5d2b31ab Rover: update 4.4.0-beta3 release notes 2023-07-04 15:15:36 +09:00
Randy Mackay 3cefc95f2f Rover: update 4.4.0-beta3 release notes 2023-07-04 12:44:43 +09:00
Randy Mackay 428b240304 Rover: 4.4.0-beta3 release notes 2023-07-04 12:44:35 +09:00
Henry Wurzburg 53a4194297 Rover: allow scaled passthru to go to trim on rc failsafe 2023-06-29 21:37:12 +10:00
Iampete1 6fafb26549 Rover: implement FLTMODE_GCSBLOCK bitmask 2023-06-28 12:56:25 +01:00
Stephen Dade c1806e961c Rover: Lower minimum circle tracking distance 2023-06-24 09:36:51 +10:00
Peter Barker cf67b0a71a Rover: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Peter Barker 03e5fa033b Rover: remove AP_ServoRelayEvents from AP_MotorsUGV interface
instead, take it from the singleton
2023-06-17 18:07:43 +10:00
Jeevan K b670615b3a Rover: Comment typo fix in AP_Arming.cpp 2023-06-14 06:54:14 +10:00
Randy Mackay fd6e1c02f9 Rover: update 4.4.0-beta2 release notes 2023-06-08 10:07:10 +09:00
Randy Mackay 0b5ecd36ef Rover: 4.4.0-beta2 release notes 2023-06-08 10:07:03 +09:00
Randy Mackay 3a87d4d2d8 Rover: add circle mode
also auto mode support loiter turns
2023-05-30 10:17:13 +10:00
Randy Mackay 10b05667a0 Rover: auto mode format fix 2023-05-30 10:17:13 +10:00
Randy Mackay 661ef3713a Rover: 4.3.0-beta13 release notes 2023-05-25 11:22:51 +09:00
Peter Barker 0d390e925d APMrover2: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Randy Mackay 2e140eacb7 Rover: version to 4.5.0-dev 2023-04-26 17:45:52 +10:00
Randy Mackay 12fcc9b5c5 Rover: 4.4.0-beta1 release notes update 2023-04-21 08:56:06 +09:00
Randy Mackay a5775fcf77 Rover: 4.4.0-beta1 release notes 2023-04-21 08:55:51 +09:00
Shiv Tyagi 82adf42bd6 Rover: add dock mode to INTIAL_MODE and MODE1 params 2023-04-21 09:22:33 +10:00
Iampete1 779a5d1167 Rover: Arming: still run mandatory checks if ARMING_CHECK 0 2023-04-15 09:02:48 +10:00
Peter Barker 941bb6a45b Rover: AP_Arming ensures mission items present when in auto mode
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-04-14 07:49:54 +10:00
Peter Barker ff21f86a9c Rover: use AP_BEACON_ENABLED instead of BEACON_ENABLED 2023-04-12 09:24:39 +10:00
Henry Wurzburg 02932275ca Rover: move estop pre-arm to AP_Arming and add exception 2023-04-11 09:24:06 +10:00
Henry Wurzburg 09331259bf Rover: allow clearing mission in AUTO when disarmed 2023-03-28 09:43:42 +11:00
Randy Mackay f3eb86bfa9 Rover: 4.3.0-beta12 release notes 2023-03-27 11:19:01 +09:00
tzarjakob caee9f271a Rover: configuration of Precision Landing for custom build server 2023-03-27 09:04:07 +11:00
Randy Mackay 9d9026ce15 Rover: 4.3.6-beta11 release notes 2023-03-26 12:00:02 +09:00
Tom Pittenger 456a87de95 Rover: bugfix PRECISION_LANDING needing AP_GRIPPER_ENABLED 2023-03-21 13:28:11 -07:00
bugobliterator c9f13d0c6e Rover: change INS_ to INS 2023-03-21 10:04:16 +11:00
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