Commit Graph

140 Commits

Author SHA1 Message Date
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 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 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 84913569cd AP_Vehicle: correct compilation when AHRS not available
CubeOrange-periph-heavy was broken
2024-02-13 11:37:00 +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 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
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
Peter Barker 8e1fc60550 AP_Vehicle: correct compilation when AP_Vehicle not available 2023-12-13 18:34:40 +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 23ec192854 AP_Vehicle: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Andy Piper 9611baf148 AP_Vehicle: soft reboot iomcu on soft reboot 2023-08-15 06:53:48 +10:00
Andrew Tridgell 8ddaf17184 AP_Vehicle: update networking at 10Hz 2023-08-06 09:20:08 +10:00
Tom Pittenger 169a7b1c73 AP_Vehicle: add support for Networking 2023-08-06 09:20:08 +10:00
Iampete1 f5d6e167b5 AP_Vehicle: dynamic notch use min ratio for RPM tracking 2023-07-18 11:32:39 +10:00
Iampete1 df8aee1567 AP_Vehicle: Add FLTMODE_GCSBLOCK parameter and helper function 2023-06-28 12:56:25 +01:00
Peter Barker 5daa38ffba AP_Vehicle: initialise generator before init_ardupilot
each of the vehicles does a load-defaults-from-files.  Use that fact to ensure any generator backend parameter's defaults are loaded.
2023-06-27 09:54:29 +10:00
Peter Barker 77200da280 AP_Vehicle: move call of notify.update up to AP_Vehicle 2023-05-17 18:41:15 +10:00
Andrew Tridgell 20cbd8dd0b AP_Vehicle: change no airspeed sensor message
it should be INFO not WARNING as not having an airspeed sensor isn't
an issue if it is disabled
2023-05-09 11:26:33 +10:00
arshPratap aa25461bbe AP_Vehicle: split off start() method in DDS
this allows for an DDS_ENABLED parameter
2023-05-03 15:22:42 +10:00
Tom Pittenger af2fc47b4d AP_Vehicle: move AP_KDECAN to AP_Vehicle
ssss
2023-04-17 11:52:52 +10:00
Ryan Friedman d361fec745 AP_Vehicle: Add DDS initialization and params to the vehicle if enabled
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Arsh Pratap <arshpratapofficial@gmail.com>
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
Co-authored-by: Russ Webber <russ@rw.id.au>
2023-03-22 09:22:36 +11:00
Tom Pittenger 468d773391 AP_Vehicle: move AP_NMEA_OUTPUT to a first class library 2023-02-07 21:12:07 +11:00
Peter Barker 8075d33ae5 AP_Vehicle: use minimize.inc for Tramp and SmartAudio
... and rename HAL_SMARTAUDIO_ENABLED
2023-01-24 11:03:27 +11:00
Peter Barker a81bce6da4 AP_Vehicle: add and use AP_VIDEOTX_ENABLED 2023-01-24 11:03:27 +11:00
Peter Barker c71c93e2b0 AP_Vehicle: make check_var_info void
Given all the callers die anyway, make it void
2023-01-10 10:48:15 +11:00
Andrew Tridgell f0bc31cdc3 AP_Vehicle: invalidate param count at end of vehicle startup 2023-01-04 21:50:24 +11:00
Andy Piper d29ccba3f7 AP_Vehicle: constrain FFT notch updates to obey reference frequency 2022-12-28 18:14:56 +11:00
Andy Piper 7acdaf2dd0 AP_Vehicle: add vehicle motor noise check 2022-12-28 18:14:56 +11:00
Peter Barker a623c93370 AP_Vehicle: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00