Andy Piper
be49a06f04
AP_Vehicle: remove runcam singleton
2024-12-13 11:07:09 +00:00
Andrew Tridgell
6ac35ce9af
AP_Vehicle: use update_dynamic_notch() directly in rate loop
2024-12-04 07:45:05 +11:00
Iampete1
38c3257151
AP_Vechicle: add `AP_Servo_Telem` and call at 50Hz
2024-12-03 07:38:17 +11:00
Iampete1
fddfaaa1fc
Vehicle: add and return `custom_mode_state` struct on `register_custom_mode`
2024-11-26 08:44:31 +09:00
Iampete1
8bf3f5e347
AP_Vehicle: add `register_custom_mode`
2024-11-26 08:44:31 +09:00
snktshrma
f5c28cc12d
AP_Vehicle: Added method to takeoff for use by external control
2024-11-23 09:00:27 +09:00
Peter Barker
f60d059618
AP_Vehicle: 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
George Zogopoulos
db6a52581e
AP_Vehicle: Added parameter TKOFF_THR_IDLE
2024-11-13 19:32:00 +11:00
Simon Hancock
df9c36fee3
AP_Vehicle: Add @LoggerEnum tags around APM_BUILD #defines
2024-11-12 11:11:45 +11:00
Iampete1
fc327fa370
AP_Vehicle: add support for `set_target_rate_and_throttle`
2024-09-25 08:47:30 +10:00
timtuxworth
c2a5554e9f
AP_Vehicle: Bindings for crosstrack in Lua
2024-08-20 09:10:42 +10:00
Peter Barker
8c6a427107
AP_Vehicle: correct compilation when network port registering disabled
...
the ports member doesn't exist in this case
2024-08-13 10:46:45 +10:00
Andy Piper
fd19c3f401
AP_Vehicle: support per-motor throttle based notches
2024-08-07 18:45:50 +10:00
Nicole Ashley
126d54bc93
AP_Vehicle: Initialise i-BUS telemetry when enabled
2024-08-07 14:01:44 +10:00
Pierre Kancir
d9eabcf411
AP_Vehicle: fix compile when AP_EXTERNAL_CONTROL_ENABLED disabled
2024-08-01 10:00:07 +10:00
George Zogopoulos
e227187e72
AP_TECS: Converted parameter TKOFF_MODE to TKOFF_OPTIONS
2024-07-29 15:50:32 +10:00
George Zogopoulos
b163e13964
AP_TECS: Fixes to reset state
...
These concern the TAKEOFF flight stage and address #27147 .
* Logging metadata fixes
* Disabled continuous TECS reset during takeoff
* Fixed bug in reached_speed_takeoff calculation
* Limited SPDWEIGHT=2 to only first part of takeoff climb
* _post_TO_hgt_offset set to constant
* Takeoff I-gain now defaults to 0 and is used
* Use at least TRIM_THROTTLE during the climb
* Updated description of TECS_TKOFF_IGAIN with new behaviour
* Forced max throttle while below TKOFF_LVL_ALT
* Added throttle constraints in no-airspeed mode
Additionally, set_min_throttle() has been created, that allows one to
set the minimum TECS throttle for the next update_pitch_throttle() loop.
Additionally, the throttle limits system has been reworked. TECS will
receive external throttle limits from Plane and will always take them
into account and respect them.
2024-07-29 15:50:32 +10:00
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