Commit Graph

501 Commits

Author SHA1 Message Date
Peter Barker
6ca3f31143 Rover: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Randy Mackay
6fa2829ad4 Rover: 4.4.0 release notes 2023-12-19 10:31:37 +09:00
Michael du Breuil
3937e96738 Rover: Fix AP_Relay param naming 2023-12-19 10:01:01 +11:00
Thomas Watson
93724d9e75 Rover: remove references to legacy UART order 2023-12-19 06:53:15 +11:00
Randy Mackay
47c02b76cd Rover: 4.4.0-beta11 release notes 2023-12-05 19:14:18 +09:00
Randy Mackay
875960a4c6 Rover: boats keep navigating at WP if loiter fails 2023-11-28 12:46:46 +09:00
Randy Mackay
d88dfa4428 Rover: auto navigates while stopped 2023-11-28 12:46:46 +09:00
Randy Mackay
fc2ba985bb Rover: SYSID_MYGCS param increment 2023-11-28 07:54:45 +09:00
Randy Mackay
cb1c912edf Rover: circle mode aux function support 2023-11-28 07:54:45 +09:00
Andy Piper
e327691540 Rover: update PID notch centers at 1Hz with average loop rate 2023-11-21 13:26:23 +11:00
Peter Barker
fc834caf38 Rover: stop streaming trying SIM_STATE messages outside sim 2023-11-20 19:25:25 +11:00
Peter Barker
84afe993d7 Rover: tidy sending of WATER_DEPTH messages 2023-11-20 19:25:25 +11:00
Peter Barker
cfb78a43ec Rover: tidy sending of esc telem generator messages 2023-11-20 19:25:25 +11:00
Peter Barker
0fe9030b42 Rover: tidy sending of queued mcu status messages 2023-11-20 19:25:25 +11:00
Peter Barker
71c1886c74 Rover: tidy sending of queued opticalflow messages 2023-11-20 19:25:25 +11:00
Peter Barker
7229664ecd Rover: tidy sending of queued mount messages 2023-11-20 19:25:25 +11:00
Randy Mackay
47521b145e Rover: 4.4.0-beta10 release notes 2023-11-14 12:44:53 +09:00
Randy Mackay
289db1e84b Rover: 4.4.0-beta9 release notes 2023-11-07 17:40:17 +09:00
Ryan Friedman
8f130f962e Rover: Add WARN_IF_UNUSED
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-01 18:30:54 +11:00
Peter Barker
988d917384 Rover: correct compilation if rangefinder disabled 2023-10-27 14:16:47 +11:00
Peter Barker
98d6e365d7 Rover: tidy use of GPS mavlink defines 2023-10-27 14:16:47 +11:00
Peter Barker
33962cdaf5 Rover: save bytes when AP_AIS_ENABLED is false 2023-10-27 14:16:47 +11:00
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