Iampete1
0420f13c30
AP_Mission: move to AuxFuncTrigger structure
2024-12-20 21:25:06 +00:00
Iampete1
435aff1d86
AP_Button: move to AuxFuncTrigger structure
2024-12-20 21:25:06 +00:00
Iampete1
62eb4993e5
Tools: autotest: quadplane: MAV_CMD_DO_ENGINE_CONTROL: wait after RC input change before sending command
2024-12-20 21:25:06 +00:00
Iampete1
b1e1585a1c
AP_ICEngine: fully move to aux function removing dedicated min PWM and high low thresholds
2024-12-20 21:25:06 +00:00
Iampete1
16f50e9719
Plane: `do_aux_function` call `ice_control.do_aux_function`
2024-12-20 21:25:06 +00:00
Peter Barker
cb6907992b
AP_Proximity: prevent buffer overflow in LD06 driver
...
We're using a value off the wire before it has been validated. That value is used to limit indexing into a buffer, and that buffer isn't big enough to handle all possible "bad" values that index could take on. Note that "read" here returns int16_t....
2024-12-19 22:58:29 +11:00
Bob Long
3982d576eb
autotest: plane: enable ICE frames in FlyEachFrame
...
Now that starter control is an aux channel, engine commands are no
longer blocked by default, so it's easy to enable ICE frames by adding
an engine start command to the beginning of the missions.
2024-12-19 22:11:00 +11:00
Bob Long
b908f1cb9c
autotest: update broken reason for plane-tailsitter
2024-12-19 22:11:00 +11:00
Bob Long
058f66fbe6
autotest: plane: fix flyeachframe param loading
...
This was previously fixed in copter
2024-12-19 22:11:00 +11:00
Eric Katzfey
5c9003dd02
AP_Volz_Protocol: Moved member variable definition within proper #define block to prevent unused variable warning
2024-12-18 21:50:27 +11:00
bugobliterator
42e2e23464
AP_Networking: fix memory error generated by CAN mcast driver
2024-12-18 21:48:54 +11:00
Andreas Gising
300e5ccedd
AP_Scripting: add glide-into-wind example without RC override
2024-12-18 19:35:34 +11:00
Peter Barker
f5d81abb42
AP_AHRS: return EAS from get_unconstrained_airspeed_EAS
...
Co-authored-by: luweiagi <luweiagi@163.com>
2024-12-18 19:10:15 +11:00
Peter Barker
46b9f06011
AP_AHRS: use TAS in DCM drift correction code
...
Co-authored-by: luweiagi <luweiagi@163.com>
2024-12-18 19:10:15 +11:00
Siddharth Purohit
92241daef1
AP_InertialSensor: do not read FIFO faster than requested rate for ICM45686
2024-12-18 19:05:20 +11:00
Randy Mackay
523b34fbb9
AP_Scripting: add follow-target-send applet
2024-12-18 18:28:12 +11:00
Randy Mackay
5c7cfa13cf
AP_Scripting: add FOLLOW_TARGET msg definition
2024-12-18 18:28:12 +11:00
Randy Mackay
56cb20ac50
AP_Scripting: add get_vel_target poscontrol binding
2024-12-18 18:28:12 +11:00
Randy Mackay
74c702674b
AC_PosControl: add get_vel_target and get_accel_target
2024-12-18 18:28:12 +11:00
Randy Mackay
f02b1ddea2
Rover: mavlink stream rate requests not saved to params
2024-12-18 18:16:29 +11:00
Bob Long
726e05afb2
autotest: update SIM_ENGINE_FAIL to mask
2024-12-18 18:06:50 +11:00
Bob Long
dee88b4ecb
SITL: default SIM_ENGINE_MUL to 0
...
This makes SIM_ENGINE_FAIL work a little more intuitively, since it is
usually used to simulate a complete failure.
Also, drive-by fix of the SIM_ENGINE_MUL documentation.
2024-12-18 18:06:50 +11:00
Bob Long
58c3854325
SITL: make SIM_ENGINE_FAIL a mask
...
The param docs already claimed it was one.
2024-12-18 18:06:50 +11:00
Peter Barker
7c084e9955
autotest: use perfect sim gps to avoid races in frsky test
...
can't get mavlink and frsky to agree on a value!
2024-12-17 21:31:15 +11:00
Peter Barker
31ec6f66d9
autotest: fix FRSkyPassThroughSensorIDs test
...
need to clear the read buffers before re-polling sensors - just in case we don't need to!
2024-12-17 21:31:15 +11:00
Peter Barker
84440108e3
AP_AHRS: rename DCM members to clarify EAS vs TAS
2024-12-17 20:17:48 +11:00
Peter Barker
73710d888d
Rover: tidy WATER_DEPTH send checks
2024-12-17 20:17:19 +11:00
Peter Barker
07edfdd323
Rover: only send WATER_DEPTH for boat frames
2024-12-17 20:17:19 +11:00
Peter Barker
9f2253a109
Rover: move sending of WATER_DEPTH into Rover code
...
only compiled in on Rover at the moment.
need to add an additional Rover-specific check for frame type, so move this code into Rover for now.
2024-12-17 20:17:19 +11:00
Peter Barker
33a788ebb5
GCS_MAVLink: move sending of WATER_DEPTH into Rover code
...
only compiled in on Rover at the moment.
need to add an additional Rover-specific check for frame type, so move this code into Rover for now.
2024-12-17 20:17:19 +11:00
Peter Barker
c5284c6fdf
Rover: allow WATER_DEPTH mavlink message rate to be specified
...
... and reduce the default rate
this is currently unconditionally streamed at 50Hz, chewing up all available bandwidth on some telemetry radios.
2024-12-17 20:17:19 +11:00
Peter Barker
6e49333a40
AP_HAL_ChibiOS: do not build QuickTune on peripherals
...
kills heavy peripherals
../../libraries/AP_Quicktune/AP_Quicktune.cpp: In member function 'void AP_Quicktune::update(bool)':
../../libraries/AP_Quicktune/AP_Quicktune.cpp:177:32: error: 'vehicle' is not a member of 'AP'
177 | const auto &vehicle = *AP::vehicle();
| ^~~~~~~
compilation terminated due to -Wfatal-errors.
[ 688/1225] Compiling libraries/AP_TemperatureSensor/AP_TemperatureSensor_TSYS03.cpp
Waf: Leaving directory `/home/pbarker/rc/ardupilot/build/CubeOrange-periph-heavy'
2024-12-17 20:16:30 +11:00
Peter Barker
439c85e793
AP_Airspeed: correct compilation when AP_AIRSPEED_AUTO_CAL_ENABLE is false
...
CubeNode was trying to check a parameter which doesn't exist
../../libraries/AP_Airspeed/Airspeed_Calibration.cpp: In member function 'void AP_Airspeed::send_airspeed_calibration(const Vector3f&)':
../../libraries/AP_Airspeed/Airspeed_Calibration.cpp:179:23: error: 'class AP_Airspeed_Params' has no member named 'autocal'
179 | if (!param[i].autocal && !calibration_enabled) {
| ^~~~~~~
compilation terminated due to -Wfatal-errors.
2024-12-17 11:32:55 +11:00
Andy Piper
7a16bf1987
AP_HAL_ChibiOS: ICM42688 for OrqaF405Pro
2024-12-17 11:21:54 +11:00
Eric Katzfey
1ae898d623
Tools: Frame_params: Added parameter set for the ModalAI Sentinel with IO board and PWM ESCs
2024-12-17 11:21:02 +11:00
Peter Barker
f19eddad74
AP_NavEKF3: apply -O2 to AP_NavEKFx.h
...
the core.h file adjusts the optimisation level; use it when including the AP_NavEKFx.h header file
2024-12-17 11:18:54 +11:00
Peter Barker
c6ec6cb428
AP_NavEKF2: apply -O2 to AP_NavEKFx.h
...
the core.h file adjusts the optimisation level; use it when including the AP_NavEKFx.h header file
2024-12-17 11:18:54 +11:00
Peter Barker
52291b622a
AP_Generator: apply -Os to all cpp files
2024-12-17 11:11:27 +11:00
Henry Wurzburg
223d683441
ArduPlane: update FS actions metadata with DO_RETURN_PATH_START
2024-12-17 09:34:49 +11:00
Henry Wurzburg
7ee8893820
ArduCopter: update FS actions metadata with DO_RETURN_PATH_START
2024-12-17 09:34:49 +11:00
Henry Wurzburg
85258153ac
AP_BattMonitor: update FS actions metadata with DO_RETURN_PATH_START
2024-12-17 09:34:49 +11:00
Peter Barker
535830665c
Tools: stop making python python3
...
this isn't something we should be doing to people's environments
2024-12-17 09:19:20 +11:00
Peter Barker
c8b2663593
.github: stop making python python3
...
this isn't something we should be doing to people's environments
2024-12-17 09:19:20 +11:00
Peter Barker
ab4614dd98
AP_HAL_ESP32: stop making python python3
...
this isn't something we should be doing to people's environments
2024-12-17 09:19:20 +11:00
Peter Barker
05e5d2e6bb
AP_SerialManager: move serial port init of Volz protocol into Volz library
2024-12-17 09:14:08 +11:00
Peter Barker
4e0bc79002
AP_Volz_Protocol: move serial port init of Volz protocol into Volz library
2024-12-17 09:14:08 +11:00
Peter Barker
061097ac31
AP_SerialManager: add a method to set the default baud
...
this allows a library to change what the GCS will see in the parameter for a serial port's baud rate.
2024-12-17 09:14:08 +11:00
iwashitakirio
8717921c56
board_types.txt: reserve board ID for JFB200
2024-12-17 08:41:00 +11:00
Peter Barker
aec7cc24d1
AP_Mount: rearrange methods and variables per PR review
2024-12-16 19:16:25 +09:00
Peter Barker
0b8ad6f1d9
AP_Mount: privatise various fields and methods
...
We are hoping to pull more target calculations into the frontend.
Having these non-private threatens for calculations to move into the separate backends instead, so privatise them
2024-12-16 19:16:25 +09:00