Commit Graph

281 Commits

Author SHA1 Message Date
Michael du Breuil
5005809e74 AP_Vehicle: add stall speed parameter for plane 2024-07-23 10:37:24 +10:00
Peter Barker
fe6b120a73 AP_Vehicle: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Thomas Watson
4cb684e8a9 AP_Vehicle: initialize scripting serial device sim ports early
Necessary for mavlink in particular to notice the port and hook up the
protocol internally.
2024-06-27 12:00:18 +10:00
Iampete1
fe814a66e4 AP_Vehicle: add new mode reason AUX_FUNCTION 2024-06-18 09:49:20 +10:00
Andrew Tridgell
6a96df4792 AP_Vehicle: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker
fe9bcb9b5b AP_Vehicle: cope with AP_Scheduler not being available 2024-04-18 08:25:15 +10:00
Iampete1
03b00cb906 AP_Vehicle: call uart_log in one_Hz_update 2024-04-09 10:00:50 +10:00
Peter Barker
44891ce570 AP_Vehicle: base-class implementation of set_home 2024-04-09 09:35:16 +10:00
Peter Barker
d78e96cc6b AP_Vehicle: move handling of DO_SET_HOME up to GCS_MAVLink base class 2024-04-09 09:35:16 +10:00
Peter Barker
bafd73ba14 AP_Vehicle: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
Andrew Tridgell
e18983780f AP_Vehicle: removed the clamping of notch filters at vehicle level
moved the claiming down into HarmonicNotchFilter
2024-03-16 06:54:27 +11:00
Patrick José Pereira
16926a2df8 AP_Vehicle: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Peter Barker
e22a00680b AP_Vehicle: correct define around SRV_Channels init call 2024-03-12 09:10:22 +11:00
Peter Barker
bff8688ac9 AP_Vehicle: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Peter Barker
32abb5b0ad AP_Vehicle: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Peter Barker
b623b8ec94 AP_SerialManager: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Peter Barker
df8801955d AP_Vehicle: don't create compass singleton if compass not enabled 2024-02-27 11:02:48 +11:00
Peter Barker
9bdb886bb8 AP_Vehicle: move gripper up to AP_Vehicle
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
Peter Barker
37a9fd4e14 AP_Vehicle: add missing include in config.h 2024-02-13 20:56:49 +11:00
Peter Barker
57b0a0db62 AP_Vehicle: add AP_VEHICLE_ENABLED guards for Parameters.cpp 2024-02-13 20:56:49 +11:00
Peter Barker
63c95b32b4 AP_Vehicle: add missing inertialsensor include
we're making this object, so we should include the header
2024-02-13 14:23:47 +11:00
Peter Barker
222fe57915 AP_Vehicle: move parameter storage formatting up to AP_Vehicle 2024-02-13 14:23:35 +11:00
Peter Barker
84913569cd AP_Vehicle: correct compilation when AHRS not available
CubeOrange-periph-heavy was broken
2024-02-13 11:37:00 +11:00
Peter Barker
a158b4f7b9 AP_Vehicle: provide dummy implementations of log structure methods
this allows a vehicle that doesnt' want to use logging to just ignore it, rather than provide dummy methods
2024-02-13 10:54:29 +11:00
Peter Barker
0694154f1c AP_Vehicle: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Peter Barker
185396ee27 AP_Vehicle: compile with AHRS not available 2024-02-10 11:47:10 +11:00
Peter Barker
e7ded62763 AP_Vehicle: compile without ins 2024-02-10 11:47:10 +11:00
Peter Barker
04ae9879f3 AP_Vehicle: compile without scheduler 2024-02-10 11:47:10 +11:00
Peter Barker
a949b52b5a AP_Vehicle: add support for compiling arming out 2024-02-10 11:47:10 +11:00
Peter Barker
6da7cfcf4e AP_Vehicle: move scripting up to AP_Vehicle 2024-02-07 18:24:12 +11:00
Peter Barker
e660a1925e AP_Vehicle: 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
94be9cb8b6 AP_Vehicle: move call to BoardConfig.init to AP_Vehicle 2024-02-01 07:59:11 +11:00
Peter Barker
652d2ec198 AP_Vehicle: move AP_Stats to AP_Vehicle 2024-01-30 11:12:21 +11:00
Andrew Tridgell
3643eb6d2a AP_Vehicle: tidy TRIM_PITCH to PTCH_TRIM_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
cfc30fac44 AP_Vehicle: change LIM_ROLL_CD to ROLL_LIMIT_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
718fff0e96 AP_Vehicle: convert LIM_PITCH_MIN/MAX -> PTCH_LIM_MIN/MAX_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
1f7f4bac73 AP_Vehicle: convert MIN_GNDSPEED_CM to MIN_GROUNDSPEED 2024-01-23 15:00:30 +11:00
Andrew Tridgell
42be3d11ad AP_Vehicle: change TRIM_ARSPD_CM to AIRSPEED_CRUISE 2024-01-23 15:00:30 +11:00
Tim Tuxworth
d749efb40d AP_Vehicle: use new pitch_trim in degrees in AP_FixedWing 2024-01-23 15:00:30 +11:00
Peter Barker
1b288416e1 AP_Vehicle: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker
1183328266 AP_Vehicle: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Peter Barker
17f311ef32 AP_Vehicle: correct compilation when AP_MISSION_ENABLED is false 2024-01-03 16:16:47 +11:00
Ryan Friedman
faa8ac0085 AP_Vehicle: Set position target depends on ext control
* Used to depend on scripting but now it's used in AP_ExternalControl

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-20 02:37:01 +00:00
Peter Barker
8e1fc60550 AP_Vehicle: correct compilation when AP_Vehicle not available 2023-12-13 18:34:40 +11:00
Peter Barker
b0b94f50ed AP_Vehicle: add and use AP_RSSI_ENABLED 2023-12-12 11:37:57 +11:00
Iampete1
433f98fee1 AP_Vehicle: call scripting update from 1Hz loop 2023-12-05 11:03:58 +11:00
Andrew Tridgell
c61ee15c1f AP_Vehicle: init networking after serial manager
init before serial manager led to not seeing any error messages if net
init failed
2023-12-04 10:12:41 +11:00
Peter Barker
e806adb009 AP_Vehicle: correct AP_Filter defines
- checking the build type is very rarely used and definitely not required here
 - fix boilerplate to conform to normal pattern of including the config header and #if'ing based on the _ENABLED directly after that
2023-11-21 21:13:42 +11:00
Andy Piper
6ecb18e027 AP_Vehicle: link in AP_Filter support
allow filters to be compiled out
add filter updates at 1Hz
2023-11-21 13:26:23 +11:00
Andrew Tridgell
ba0598930e AP_Vehicle: added AP_Networking::Port NET_Pn_ parameters 2023-11-17 10:54:24 -08:00