Commit Graph

473 Commits

Author SHA1 Message Date
bugobliterator 5a4931b596 Rover: fix version setting in CheckFirmware app descriptor 2024-02-21 18:54:17 +11:00
Andy Little d867364088 Rover: Sailboat: revert friends and private Sailboat functions. See https://github.com/ArduPilot/ardupilot/pull/26152#discussion_r1495156661 2024-02-21 16:37:07 +09:00
Andy Little 057d7dca96 Rover Sailboat: reset and Tidy up https://github.com/ArduPilot/ardupilot/pull/26152 2024-02-21 16:37:07 +09:00
Andy Little 5c26b40c7e Rover Sailboat: refactor the mainsail/wingmast/mast_rotation logic and make non const sailboat functions private to the sailboat class.
Saves around 128 bytes of text image size (in SITL anyway)
2024-02-21 16:37:07 +09:00
Ryan Friedman aec0821d9a Rover: Add DDS release details
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-02-20 08:34:06 +09:00
Andy Little 883d57b286 Rover : class Mode : Add const attribute to some 'getter' member function signatures. 2024-02-19 12:15:35 +09:00
Peter Barker 4b5553ac33 Rover: use AUX_FUNC instead of typedef aux_func_t 2024-02-15 08:41:30 +11:00
Andrew Tridgell 6b1edfb097 Rover: release notes for 4.5.0-beta2 2024-02-14 11:22:25 +11:00
Peter Barker 5f24f33711 Rover: move parameter storage formatting up to AP_Vehicle 2024-02-13 14:23:35 +11:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker aa4a805bb6 Rover: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Peter Barker b315192dcf Rover: move scripting up to AP_Vehicle 2024-02-07 18:24:12 +11:00
Peter Barker 13af81ba61 Rover: add comment for lost AP_Stats object params 2024-02-07 18:24:12 +11:00
Peter Barker 17145bea46 Rover: move can_mgr.init call up to AP_Vehicle
... also adds the call for Blimp...
2024-02-06 11:03:54 +11:00
Peter Barker 17c7a7de5d Rover: move call to BoardConfig.init to AP_Vehicle 2024-02-01 07:59:11 +11:00
Randy Mackay 1b7dc5e584 Rover: version to 4.6.0-dev 2024-01-31 10:03:09 +09:00
Randy Mackay 9b0602cc1e Rover: 4.5.0-beta1 release notes 2024-01-31 10:00:11 +09:00
Peter Barker e4cf674891 Rover: move AP_Stats to AP_vehicle 2024-01-30 11:12:21 +11:00
Peter Barker 75dec6fcc7 Rover: handle RADIO_STATUS is GCS base class 2024-01-24 18:43:15 +11:00
Peter Barker 03fe367459 Rover: use virtual method for GCS_MAVLink::handle_message
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
J.R. Bronkar 1ec61c57ba Rover: fractional Loiter Turn Support
Adds special storage handling for loiter turns. Fractional Loiter
Turns 0<N<1 are stored by multiplying the turn number by 256, then
dividing that number by 256 on retrieval.
2024-01-22 20:27:20 -08:00
Peter Barker 8bdd0294b8 Rover: correct compilation when HAL_LOGGING_ENABLED is false 2024-01-17 18:25:55 +11:00
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