Commit Graph

276 Commits

Author SHA1 Message Date
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
Rhys Mainwaring e05780c446 AP_Vehicle: standardise AP_DDS message prefix
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-20 07:06:13 +11:00
Peter Barker 8cfdf10cf1 AP_Vehicle: use AP_GPS_ENABLED to exclude more code when GPS not compiled in 2023-09-27 16:38:15 +10:00
arshPratap 6a998fd9a8 AP_Vehicle: Added DDS_Command as a new ModeReason 2023-09-11 09:50:14 +10:00
Peter Barker 23ec192854 AP_Vehicle: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Peter Barker f987fa4a4e AP_Vehicle: add missing include for accelcal 2023-09-04 13:55:27 +10:00