Peter Barker
56de7243f5
AP_AHRS: DCM: tidy variable creation
2024-10-08 20:57:25 +11:00
muramura
6c1a5bf3d0
AP_Logger: Align the order of definitions
2024-10-08 20:57:01 +11:00
Peter Barker
c69366ac10
Plane: stop using bit-packing for quadplane state
2024-10-08 20:08:55 +11:00
Thomas Watson
4df758f52a
AP_Bootloader: reject allocation of broadcast node ID
...
It is technically legal to receive an "allocation" of the broadcast node
ID. Fortunately, this was already ignored by `canardSetLocalNodeID`,
though it would trigger an assertion failure if those were enabled.
Fix by rejecting that ID. There is effectively no change in behavior but
the code now correctly ignores that ID and retries the allocation as it
did before.
2024-10-08 11:52:05 +11:00
Peter Barker
41753b43d7
AP_AHRS: DCM: remove unused variable
2024-10-08 11:10:26 +11:00
Peter Barker
3273f58851
AP_HAL: remove defines for boards which don't exist
...
we'll now get compilation failures if code is introduced depending on these...
2024-10-08 11:04:28 +11:00
Peter Barker
93174e3240
AP_HAL: avoid include of non-existant file
...
this file doesn't exist
2024-10-08 11:04:28 +11:00
olliw42
4616fec1be
AP_SerialManager: RegisteredPort, add bytes_per_second/baudrate methods
2024-10-08 10:42:21 +11:00
Thomas Watson
e9e7eba799
AP_DroneCAN: properly convert timeout to deadline for aux frames
...
The timeout specified for auxiliary driver frames was passed to the
driver where a deadline was expected. The transmission was then started
after its "deadline", thereby causing it to be canceled and the data
lost if the frame could not be sent immediately.
Fix by converting the timeout to a deadline before passing to the
driver. The conversion is done in the Canard interface code as it
already does other conversions from timeouts to deadlines.
2024-10-08 10:35:41 +11:00
ARg
47d391fc6d
AP_HAL_ESP32: ADC driver ported to new idf 5.x driver and debugged
2024-10-08 10:29:02 +11:00
Ryan Friedman
88c06e07d7
AP_DDS: Wrap all topics in ifdefs
...
* Give ability to enable/disable any topic in DDS through compile
options
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-10-08 10:18:38 +11:00
Tatsuya Yamaguchi
63663303de
Copter: Keep FIXED mode when WP_YAW_BEHAVIOR is NONE
2024-10-08 08:16:25 +09:00
Nick Exton
77f1efac5e
AP_Mission: Set DO_MOUNT_CONTROL.mode when converting command to MAVLink
2024-10-08 08:05:27 +09:00
Nick Exton
03db86427a
Copter: Handle DO_MOUNT_CONTROL yaw angle as body frame
...
And only accept if the mode is MAV_MOUNT_MODE_MAVLINK_TARGETING. This matches the handlers in AP_Mount.
2024-10-08 08:05:27 +09:00
Nick Exton
3bac3618e1
Copter: Add set_yaw_angle_offset() function to AutoYaw mode
2024-10-08 08:05:27 +09:00
Nick Exton
2c80c702bc
autotest: Add Copter test for AutoYaw with Mount without yaw control
2024-10-08 08:05:27 +09:00
Jonas Niesner
21fc964159
board_types.txt: reservie ID for F4 2-3S 20A AIO FC V1
...
I want to add full support for this board:
https://betafpv.com/products/f4-2-3s-20a-aio-fc-v1
I have all other files ready but want to reserve a board id first
2024-10-08 08:16:01 +11:00
bnsgeyer
e30b4bf090
AP_MotorsHeli: fix cooldown feature with new autorotation RSC library
2024-10-06 14:33:57 +11:00
MattKear
4ce1c5db90
Autotest: Helicopter: Add turbine cooldown test
2024-10-06 14:33:57 +11:00
Randy Mackay
14447c6e2d
Copter: add comment to loc_from_cmd
2024-10-06 13:56:08 +11:00
Randy Mackay
be1c87f3d1
Copter: zigzag uses desired xy instead of actual
2024-10-04 09:25:56 +09:00
Randy Mackay
e06c9048e0
Tools: add copter pos offset test
2024-10-04 09:25:56 +09:00
Leonard Hall
4d116ceefe
AR_PosControl: integrate PSC logging update
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-10-04 09:25:56 +09:00
Leonard Hall
399336f7ce
AC_PID: AC_P_2D comment fix
2024-10-04 09:25:56 +09:00
Leonard Hall
6d2631811d
Blimp: integrate PSC logging update
2024-10-04 09:25:56 +09:00
Leonard Hall
6db90646b9
Sub: updates for offset handling
2024-10-04 09:25:56 +09:00
Leonard Hall
ae01a8f26d
Plane: updates for offset handling
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-10-04 09:25:56 +09:00
Randy Mackay
7c35f967d9
Sub: auto integrates get-closest-point-on-edge dist
2024-10-04 09:25:56 +09:00
Randy Mackay
73dfeac547
AP_Scripting: copter-slung-payload suppresses oscillation
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Randy Mackay
bff288d498
AP_Scripting: mavlink_msgs global-position-int and heartbeat
2024-10-04 09:25:56 +09:00
Randy Mackay
51ec6dfd73
AP_Scripting: add copter-posoffset example script
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Randy Mackay
0c81f111fb
AP_Scripting: add set_posvelaccel_offset binding
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Leonard Hall
1c59ec8b94
Copter: PosHold supports offsets
2024-10-04 09:25:56 +09:00
Randy Mackay
5ca7daf915
Copter: payload place uses desired alt instead of actual
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Randy Mackay
c38bbbd5f4
Copter: RTL path subtracts offsets
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Randy Mackay
0bcff6cec0
Copter: support set_posvelaccel_offset in auto
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Randy Mackay
df2ae532c2
Copter: auto integrates get-closest-point-on-edge dist
2024-10-04 09:25:56 +09:00
Randy Mackay
91926674e9
Copter: minor comment fix to auto mode
2024-10-04 09:25:56 +09:00
Leonard Hall
37a7635c66
AC_Loiter: updates to offset handling
2024-10-04 09:25:56 +09:00
Randy Mackay
e20c7edf68
AC_Loiter: optimise get-posvelaccel-target usage
2024-10-04 09:25:56 +09:00
Randy Mackay
2753b7030b
AC_Circle: get-closest-point-on-circle returns dist
2024-10-04 09:25:56 +09:00
Randy Mackay
9ca47cf465
AC_Circle: integrate pos vel accel offsets
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Leonard Hall
9185b82b7a
AC_WPNav: get_closest_point_on_circle uses is_positive
2024-10-04 09:25:56 +09:00
Randy Mackay
951ff473c3
AC_WPNav: support pos vel accel offsets
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2024-10-04 09:25:56 +09:00
Randy Mackay
c706d01d7f
AC_PosControl: implement singleton
2024-10-04 09:25:56 +09:00
Leonard Hall
9fb8a0f1ac
AC_PosControl: support 3D pos, vel, accel offsets
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-10-04 09:25:56 +09:00
Peter Barker
e40ae8e649
autotest: install terrain handlers in TerrainLoiter test
...
needs terrain, was passing because previous tests were providing hte autopilot with the data
2024-10-02 18:10:45 +10:00
Peter Barker
653aff7f8a
Tools: split Plane tests into tests1a and tests1b
2024-10-02 18:10:45 +10:00
Peter Barker
c330e8e824
.github: split Plane tests into tests1a and tests1b
2024-10-02 18:10:45 +10:00
Peter Barker
23513e3f9a
Tools: use /usr/bin/env to find python3
...
going directly to /usr/bin/python3 means we don't use the venv python
2024-10-02 18:10:34 +10:00