Commit Graph

1295 Commits

Author SHA1 Message Date
Peter Barker
a8b07a854f ArduSub: create and use a singleton for SRV_Channels
avoid creation of static pointers to objects held within SRV_Channels
2024-11-13 19:47:49 +11:00
Peter Barker
187953b297 ArduSub: add specific defines for sending of GPS mavlink messages 2024-11-13 19:40:19 +11:00
Peter Barker
ba9b123e30 ArduSub: remove stray log_init declaration
this method went away
2024-10-15 10:42:36 +11:00
Gone4Dirt
8ed5a18cf9 Sub: correct comment on prev control mode 2024-10-11 09:54:26 +11:00
Leonard Hall
6db90646b9 Sub: updates for offset handling 2024-10-04 09:25:56 +09:00
Randy Mackay
7c35f967d9 Sub: auto integrates get-closest-point-on-edge dist 2024-10-04 09:25:56 +09:00
Peter Barker
48c9cd6eae ArduSub: adjust for AP_Mission logging mission-item-starts 2024-10-01 10:19:29 +10:00
Peter Barker
456f70d4d9 ArduSub: split sending terrain report from terrain request 2024-10-01 10:13:06 +10:00
Peter Barker
3a4d890a83 ArduSub: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Thomas Watson
1a08590bb1 ArduSub: only send airspeed when enabled
Avoids debug message spam about sending an unknown message.
2024-09-23 18:53:27 +10:00
Clyde McQueen
075a5c3cee Sub: reject guided mode destinations early 2024-09-18 12:32:55 -03:00
Clyde McQueen
9cf63a5407 Sub: fully init yaw control on guided submode start 2024-09-18 12:32:55 -03:00
Andy Piper
3bbf4e6b33 Sub: log ANG attitude message 2024-09-17 10:12:35 +10:00
Iampete1
29646299ef ArduSub: add Airspeed to raw sensor stream rates 2024-09-17 09:10:17 +10:00
Andy Piper
b255b70661 Sub: Write_Rate() moved to AC_AttitudeControl 2024-09-10 16:33:04 +01:00
Andy Piper
ca451f7df4 Sub: log attitude target in degrees 2024-09-10 10:54:55 +10:00
Peter Barker
1f0c31bcef Sub: remove ENABLE/DISABLE defines, use 0/1 instead
same as Plane, Rover, Sub, Tracker
2024-09-02 20:05:14 -03:00
Clyde McQueen
e8bd38092e Sub: reduce PILOT_SPEED_ minimums 2024-08-29 20:00:54 -03:00
Peter Barker
f53fcffbf6 ArduSub: emit MAV_RESULT_DENIED if start/stop item passed to MAV_CMD_MISSION_START 2024-08-20 09:38:43 +10:00
Willian Galvani
9e0fd1c9d5 Sub: make gcs failsafe timeout a parameter 2024-08-01 09:40:16 +10:00
Peter Barker
29ff6a28d1 ArduSub: add build option to not send RC_CHANNELS_RAW
we keep this around in case we break old OSD setups
2024-07-30 10:29:58 +10:00
Clyde McQueen
297fcfd777 Sub: handle MAV_CMD_DO_REPOSITION 2024-07-25 10:44:16 +10:00
Willian Galvani
a3ea80a1f2 Sub: tell ahrs we can fly multiple directions 2024-07-14 17:12:48 +10:00
Willian Galvani
62d9b14a65 Sub: add arming check for backup origin
Co-authored-by: Clyde McQueen <clyde@mcqueen.net>
2024-07-11 14:17:54 -03:00
Willian Galvani
78a7c86bbd Sub: create backup origin for gps-less operation with WMM
Co-authored-by: Clyde McQueen <clyde@mcqueen.net>
2024-07-11 14:17:54 -03:00
Peter Barker
a5d7000ffd ArduSub: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Willian Galvani
2b60e93410 Sub: move servo calc logic to motors_output() and cork SRV_Channels for improved performance 2024-06-28 13:10:15 -03:00
ES-Alexander
b0d89c6862 Sub: update status to include all failsafes 2024-06-28 12:45:10 -03:00
Willian Galvani
12de0d85dd Sub: sync MAVLink system id in 1hz loop 2024-06-27 21:05:19 -03:00
Willian Galvani
9fdf52c59c Sub: motor detection mode does not require valid position 2024-06-22 23:30:52 -03:00
richaravoil
d6ab080060 ArduSub: get MAV_STATE_BOOT on reboot 2024-06-20 19:25:59 -03:00
Willian Galvani
be87aa5191 Sub: set default streamrates 2024-06-04 19:24:51 -03:00
Andrew Tridgell
74dc4f961c ArduSub: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Colin Wong
e27dea7003 ArduSub: implement servo 2 and 3 min/max-toggle button functions 2024-05-29 13:35:58 -03:00
Peter Barker
633a72e118 ArduSub: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Peter Barker
41d0a79ec0 Sub: correct boot on boards with features missing
parameters don't exist for defaulting, so config error loop is entered.  The config error loop also isn't working well this early in the boot, so the board is not perfectly informative.

Config Error: param deflt fail:BARO_PROBE_EXT
no link
Config Error: param deflt fail:BARO_PROBE_EXT
no link
no link
Config Error: param deflt fail:BARO_PROBE_EXT
no link
2024-05-08 18:18:07 +10:00
Iampete1
fd9423b254 Sub: euler_rate_to_ang_vel takes Quaternion attitude 2024-05-07 08:34:40 +09:00
Peter Barker
cccd105ac9 ArduSub: remove Baro accumulate API
no backend actually needs to be prodded, everything is done on timers
2024-04-18 09:19:20 +10:00
Peter Barker
0c2ae35d88 ArduSub: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
Peter Barker
860498d30e Sub: remove redundant home_is_set check
this is already guaranteed to be the case
2024-04-11 20:24:16 -03:00
Thomas Watson
58c51f9fe6 Sub: unmark FORMAT_VERSION as read-only
Matches other vehicles and allows GCSes to use documented behavior of a
zero write to FORMAT_VERSION to reset EEPROM contents.
2024-04-10 17:45:37 +10:00
Peter Barker
3443e1c12f ArduSub: remove far_from_EKF_origin sanity checks
some  flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Peter Barker
89a9a0e6d1 ArduSub: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Clyde McQueen
e4115efa67 Sub: publish filtered alt in mav msgs 2024-04-08 10:51:12 -03:00
Peter Barker
547358c86a ArduSub: stop passing serial manager to GPS init
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker
b03346c096 ArduSub: move AP_OSD into common libraries list 2024-03-19 07:15:10 +11:00
Peter Barker
62f1d40d3b ArduSub: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Clyde McQueen
53db811626 Sub: support ABOVE_TERRAIN frame in auto 2024-03-11 13:38:38 -03:00
Willian Galvani
11127e885c Sub: update Release notes 2024-03-06 23:23:55 -03:00
Willian Galvani
1509a8ea8d Sub: add missing call to calc_pwm() 2024-03-06 17:49:53 -03:00