Peter Barker
c0fd999e45
Sub: correct build when rangefinder not anabled
...
../../ArduSub/sensors.cpp: In member function 'void Sub::read_rangefinder()':
../../ArduSub/sensors.cpp:80:23: error: 'struct Sub::<unnamed>' has no member named 'alt_cm'
80 | rangefinder_state.alt_cm = 0;
| ^~~~~~
compilation terminated due to -Wfatal-errors.
2025-03-09 11:16:38 +11:00
Iampete1
77b8d90226
ArduSub: move from MAV_MODE
enum to uint8_t
2025-02-17 17:20:24 +11:00
Clyde McQueen
ab46ca2098
Sub: support MASK_LOG_IMU_FAST (loop rate logging)
2025-02-03 13:05:22 -03:00
Clyde McQueen
2a28b77ef6
Sub: limit poshold xy velocity to PILOT_SPEED to avoid bounceback
2025-02-03 13:05:01 -03:00
Clyde McQueen
025df2550a
Sub: poshold requires GPS
2025-02-03 13:05:01 -03:00
Clyde McQueen
7667a04e03
Sub: remove dead variable
2025-02-03 13:05:01 -03:00
Peter Barker
12ca8ec473
ArduSub: make compass LearnType enum-class and parameter AP_Enum
2025-01-29 19:21:59 +11:00
Iampete1
8d1a6f2bdb
Sub: use new misison present method
2025-01-28 10:30:06 +11:00
Peter Barker
9ba3206097
Sub: log desired rangefinder alt (DSAlt) in metres not cm
2025-01-21 10:54:05 +11:00
Peter Barker
cf9b74d2ea
ArduSub: allow for more than 327m range rangefinders
2025-01-21 10:54:05 +11:00
muramura
c8d21083ad
Sub: fix param increment description
2025-01-13 20:33:33 +09:00
muramura
dcafda890b
Sub: Change division to multiplication
2025-01-02 23:22:42 +11:00
Ryan Friedman
e401d81cdd
ArduSub: reserve offboard mode ID
...
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-12-27 07:15:31 +11:00
Peter Barker
f2d0607b90
ArduSub: adjust for renaming of RC_Channel and GCS_MAVLink headers
2024-12-26 11:01:22 +11:00
Peter Barker
e9cf45ac46
ArduSub: make RC_Channel and GCS_MAVLink filenames consistent
2024-12-26 11:01:22 +11:00
Iampete1
b0f821a96f
Sub: add support for AVAILABLE_MODES
msg
2024-11-13 20:11:50 +11:00
Peter Barker
afadb7e6c0
ArduSub: make SRV_Channels::cork non-static
...
for symmetry with the push function
2024-11-13 19:47:49 +11:00
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