Peter Barker
4959cee694
Rover: add option to require position for Rover before arming
2025-02-05 10:39:20 +11:00
Peter Barker
0fb5a2105c
AP_Arming: add option to require position for Rover before arming
2025-02-05 10:39:20 +11:00
Peter Barker
3acb03b26e
autotest: add test for Rover's require-location-for-arming flag
2025-02-05 10:39:20 +11:00
bugobliterator
f8726ee646
AP_HAL_ChibiOS: disable mcast bridging in bootloader
2025-02-05 10:23:46 +11:00
bugobliterator
402936abf3
bootloaders: update bootloaders using networking
2025-02-05 10:23:46 +11:00
bugobliterator
51471a0a7e
AP_Networking: make can multicast an endpoint by default
...
also add option to enable multicast with bridging to CAN bus in application
and disabled in bootloader
2025-02-05 10:23:46 +11:00
bugobliterator
f9a8d9b034
AP_CANManager: use updated frame callback types
...
also change to IsForwardedFrame from IsMAVCAN
2025-02-05 10:23:46 +11:00
bugobliterator
4bad4f856b
AP_HAL: change IsMavCAN to IsForwardedFrame
2025-02-05 10:23:46 +11:00
Davide Iafrate
131c0f8e2d
SITL: Clarification for timestamp in JSON interface
2025-02-05 10:03:52 +11:00
Tdogb
bac78b54bf
Tools: allow selection of AUAV airspeed in custom build server
2025-02-04 16:17:28 +11:00
Tdogb
9c12476d39
AP_Airspeed: AUAV airspeed support
2025-02-04 16:17:28 +11:00
Peter Barker
eed3e147a0
AP_BattMonitor: remove use of ownptr
2025-02-04 11:57:58 +11:00
Peter Barker
613aa6028f
waf: move setting of -cl-single-precision-constant into cxx-flags block
...
we have two separate blocks, one for setting c flags, one for setting cxx flags.
Move cxx set into correct area
2025-02-04 11:55:39 +11:00
Peter Barker
6f40c80d65
AP_Notify: move enabling of AP_NOTIFY_TONEALARM_ENABLED out of AP_Notify_config.h
...
this is looking at chibios-specific defines, which is bad
2025-02-04 11:53:25 +11:00
Peter Barker
8a9a1826e1
AP_HAL: move enabling of AP_NOTIFY_TONEALARM_ENABLED out of AP_Notify_config.h
...
this is looking at chibios-specific defines, which is bad
2025-02-04 11:53:25 +11:00
Peter Barker
8fdfed5249
AP_Notify: use only AP_NOTIFY_TONEALARM_ENABLED to guard tonealarm backend
...
... instead of checking the HAL and *then* checking this define
2025-02-04 11:53:25 +11:00
Peter Barker
cdfe93918a
Plane: remove dead store of cruise_speed
...
../../ArduPlane/quadplane.cpp:4260:15: warning: Value stored to 'approach_speed' during its initialization is never read [deadcode.DeadStores]
float approach_speed = cruise_speed;
^~~~~~~~~~~~~~ ~~~~~~~~~~~~
1 warning generated.
2025-02-04 11:34:39 +11:00
Henry Wurzburg
a2ca9be645
Plane:adjust CTUN.Pitch to remove PITCH_TRIM
2025-02-04 11:29:06 +11:00
Shiv Tyagi
505b373f09
gitignore: ignore .python-version file used by pyenv
2025-02-04 11:24:16 +11:00
Peter Barker
5dc7751654
Tools: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
...
while Copter is the only user at the moment, will be useful on Rover shortly
2025-02-04 09:02:16 +09:00
Peter Barker
569386cfa5
ArduCopter: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
...
while Copter is the only user at the moment, will be useful on Rover shortly
2025-02-04 09:02:16 +09:00
Peter Barker
fe0a0dbf92
AP_Arming: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
...
while Copter is the only user at the moment, will be useful on Rover shortly
2025-02-04 09:02:16 +09:00
Bob Long
4eab74fbc5
AP_Vehicle: add comment for ESC Telem update rate
2025-02-04 10:46:34 +11:00
Bob Long
0b7a56e2fd
AP_ESC_Telem: fix RPM timeout race
...
The RPM telemetry data structure can get updated by another thread at
any time. This can cause (now - last_update_us) to be negative, which
looks like the data is nearly UINT32_MAX microseconds stale. To fix
this, we copy the last_update_us value before we get the current time
so it's guaranteed to be positive.
We also minimize the number of places we explicitly check the timestamp
and rely on the `data_valid` where possible to minimize the performance
impact of this change.
2025-02-04 10:46:34 +11:00
Iampete1
31fe3d31f3
Tools: autotest: suite: add check_parameter_value
to to check parmamter is withing a given percentage of the expected value
2025-02-04 10:41:56 +11:00
Iampete1
f59f28b03a
Tools: autotest: arduplane: check param values after autotune
2025-02-04 10:41:56 +11:00
Iampete1
022c43c644
AP_HAL_SITL: Add getter for SITL_State
2025-02-04 10:41:56 +11:00
Iampete1
63fecc76d4
APM_Control: examples: AP_FW_Controller_test: update to use HAL SITL
2025-02-04 10:41:56 +11:00
Iampete1
44d2fc1ac1
AMP_Control: move pitch and roll autotune_start
into base AP_FW_Controller
2025-02-04 10:41:56 +11:00
Iampete1
790290d359
APM_Control: AP_AutoTune: add static axis_string
method
2025-02-04 10:41:56 +11:00
Iampete1
f8dd0b2d76
APM_Control: add AP_FW_Controller as common base class to roll and pitch controllers
2025-02-04 10:41:56 +11:00
Iampete1
4db73d3883
APM_Control: add test for roll and pitch controllers
2025-02-04 10:41:56 +11:00
Wdiy
9a1dc96a67
board_types.txt: add SULILGH7-P1-P2
2025-02-04 09:41:13 +11:00
Peter Barker
e5e3e9a40b
autotest: do not assert COMPASS_LEARN value after we set it
...
the autopilot can instantly reset this back to 0 after we set it, so we never receive the set value:
2025-01-30T06:49:04.2029371Z AT-0931.7: COMPASS_LEARN want=3.000000 autopilot=0.0 (attempt=3/10)
2025-01-30T06:49:04.2029876Z AT-0931.7: Sending set (COMPASS_LEARN) to (3.000000) (old=0.000000)
2025-01-30T06:49:04.2030299Z AT-0931.7: AP: CompassLearn: Initialised
2025-01-30T06:49:04.2030653Z AT-0931.7: AP: CompassLearn: Finished
2025-01-30T06:49:04.2031166Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=0.000000
2025-01-30T06:49:04.2031653Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=3.000000
2025-01-30T06:49:04.2032117Z AT-0931.7: Received wanted PARAM_VALUE COMPASS_LEARN=0.000000
2025-01-30T06:49:04.2032732Z AT-0931.7: COMPASS_LEARN want=3.000000 autopilot=0.0 (attempt=4/10)
2025-02-04 09:31:40 +11:00
ES-Alexander
a1421e7ece
AP_Baro: update MS5837_BA30 temperature compensation
2025-02-03 15:40:52 -03:00
Clyde McQueen
ab46ca2098
Sub: support MASK_LOG_IMU_FAST (loop rate logging)
2025-02-03 13:05:22 -03:00
Clyde McQueen
1df67446f6
autotest: test poshold bounceback
2025-02-03 13:05:01 -03:00
Clyde McQueen
2a28b77ef6
Sub: limit poshold xy velocity to PILOT_SPEED to avoid bounceback
2025-02-03 13:05:01 -03:00
Clyde McQueen
025df2550a
Sub: poshold requires GPS
2025-02-03 13:05:01 -03:00
Clyde McQueen
7667a04e03
Sub: remove dead variable
2025-02-03 13:05:01 -03:00
Iampete1
e5efe490d9
Plane: takeoff: use tkoff_option_is_set
helper
2025-02-03 10:14:00 +00:00
Iampete1
3e37b01e35
Plane: remove unused method set_target_altitude_current_adjusted
2025-02-03 10:14:00 +00:00
Iampete1
4ddd78e310
Plane: plane.h: remove unused definitions
2025-02-03 10:14:00 +00:00
Iampete1
f6a6e356bf
AP_AIS: fix multi part message decoding
2025-02-03 10:13:42 +00:00
D.J. Morvay
8c94c6e992
Reserving IDs for Lumenier.
2025-02-03 13:09:03 +11:00
Shiv Tyagi
c324143866
Tools: create and use AP_PERIPH_RANGEFINDER_ENABLED
2025-02-03 10:06:04 +11:00
Shiv Tyagi
5790e0e38e
AP_HAL_ChibiOS: use AP_PERIPH_RANGEFINDER_ENABLED in place of HAL_PERIPH_ENABLE_RANGEFINDER
2025-02-03 10:06:04 +11:00
Peter Barker
2cd3970e36
GCS_MAVLink: add capability to send autopilot to config error loop
...
Co-authored-by: Bob Long <robertlong13@gmail.com>
Co-authored-by: Michelle Rossouw <michelleros128@gmail.com>
another one of our "do nasty thing to autopilot" commands, useful for testing what ground control stations do when the autopilot is in this state
2025-02-02 21:33:27 +11:00
Leonard Hall
e5f719b65a
Copter: SystemID: Fix unutilized variables
2025-02-01 18:59:07 +11:00
Andrew Tridgell
0cacc900d6
Tools: added TBS periph bootloader
2025-02-01 16:59:29 +11:00