Commit Graph

479 Commits

Author SHA1 Message Date
Peter Barker 14e0a1028c Rover: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false 2023-10-26 13:23:57 +11:00
Michael du Breuil 5e44b2ea52 Rover: Support not sending a status text on state change 2023-10-25 09:39:51 -07:00
Rhys Mainwaring 23244eda9e Rover: implement external control
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>

Rover: update comment in Rover/AP_ExternalControl_Rover.h

Co-authored-by: Nick E <NExton@sypaq.com.au>
2023-10-25 10:05:08 +11:00
Randy Mackay 407b503591 Rover: update 4.4.2-beta1 release notes 2023-10-13 16:32:09 +09:00
Randy Mackay 08ea4ba16d Rover: 4.4.0-beta8 release notes 2023-10-13 16:31:41 +09:00
Peter Barker 7393876217 Rover: allow for compilation without AP_RTC_ENABLED 2023-10-11 19:17:27 +11:00
Peter Barker e71baf4a6a Rover: don't send fence_status mavlink message if fence not compiled in 2023-10-04 19:13:23 +11:00
Pierre Kancir 911a467e37 Rover: make Mode::Number enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir 3a11a1cf0d Rover: add mission Terminate action for fence breach 2023-09-27 08:12:23 +10:00
Pierre Kancir 0029457dc6 Rover: add missing Terminate action for Failsafe 2023-09-27 08:12:23 +10:00
Pierre Kancir 7dc0c567ce Rover: make Failsafe_Action enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir 499dd5ea5b Rover: make smartrtk substate enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir c7f3d0046d Rover: make Auto submode enum class 2023-09-27 08:12:23 +10:00
Pierre Kancir f088f0df9e Rover: make guided submode enum class 2023-09-27 08:12:23 +10:00
Peter Barker b7e4e9747a Rover: remove COMPASS_CAL messages from streamrates if tumble cal disabled
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10:00
Randy Mackay 802167ede1 Rover: 4.4.0-beta7 release notes 2023-09-14 16:24:18 +09:00
Peter Barker 0894cfc0c8 Rover: support preflight calibration via command_int 2023-09-13 17:24:07 +10:00
Ep Pravitra 9700e65d19 AP_AdvancedFailsafe: option to automatically set mode to auto when datalink is loss
When enabled, it ensures vehicle enters AUTO even if it is currently in other autonomous modes (for example Guided)
2023-09-12 09:09:39 +10:00
Randy Mackay b2daa3b219 Rover: 4.4.0-beta6 release notes 2023-09-05 19:51:27 +09:00
Peter Barker cc3fe56a08 Rover: deprecate MAV_CMD_NAV_SET_YAW_SPEED 2023-08-28 12:54:33 +10:00
Peter Barker a3038e7e6b Rover: correct comments on MAV_CMD_NAV_SET_YAW_SPEED packet fields
these are wrong and misleading; the packet contains metres/second and degrees
2023-08-26 18:24:09 +10:00
Peter Barker 76c6d537ed Rover: support running MAV_CMD_NAV_SET_YAW_SPEED as command_int 2023-08-26 18:24:09 +10:00
Peter Barker d44b51fa4d Rover: allow MAV_CMD_MISSION_START as both command_long and command_int 2023-08-26 08:59:30 +10:00
Peter Barker 4e44ee1a07 Rover: allow motor test to be issued as COMMAND_INT 2023-08-25 09:57:29 +10:00
Peter Barker 8decb9d43f Rover: rely on magic long-to-int conversion to handle MAV_CMD_DO_CHANGE_SPEED 2023-08-24 13:06:00 +09:00
Peter Barker 380a1fe738 Rover: accept MAV_CMD_NAV_RETURN_TO_LAUNCH as both long and int 2023-08-23 21:29:00 +10:00
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