Commit Graph

65137 Commits

Author SHA1 Message Date
Peter Barker beb4226740 Plane: add test for MAV_CMD_NAV_LOITER_TO_ALT 2024-09-26 20:23:15 +10:00
Peter Barker decf484702 AP_Mount: use NaN in place of 0 for camera information message
Co-authored-by: muramura <ma2maru@gmail.com>
2024-09-26 19:26:59 +10:00
Peter Barker 06b763ca94 AP_Param: add and use global NaNf float value 2024-09-26 19:26:59 +10:00
Peter Barker edc0e46614 AP_Mount: add and use global NaNf float value 2024-09-26 19:26:59 +10:00
Peter Barker 7710e3c9bc AP_Math: add and use global NaNf float value 2024-09-26 19:26:59 +10:00
Peter Barker 54247833c0 AP_Logger: add and use global NaNf float value 2024-09-26 19:26:59 +10:00
Peter Barker 08b4cc1374 AP_Camera: add and use global NaNf float value 2024-09-26 19:26:59 +10:00
Andy Piper 4c1c326a52 Copter: remove whitespace 2024-09-26 19:25:33 +10:00
Andy Piper eeda86ccb4 AC_AttitudeControl: rate_controller_run_dt() takes dt as last argument 2024-09-26 19:25:33 +10:00
Andy Piper 15de449d12 AC_AttitudeControl: raise a config error if rate_controller_run_dt() is called by accident 2024-09-26 19:25:33 +10:00
Andy Piper 053db86abc AC_AttitudeControl: ensure Write_Rate() can be called from autotune 2024-09-26 19:25:33 +10:00
Andy Piper 02a2c788da AC_AttitudeControl: ensure plane always gets the latest gyro 2024-09-26 19:25:33 +10:00
Andy Piper a647b3914c AC_AttitudeControl: remove unused functions 2024-09-26 19:25:33 +10:00
Andy Piper 70067ea7ae AC_AttitudeControl: Write_Rate() should be thread-safe 2024-09-26 19:25:33 +10:00
Andy Piper 829422ecfb AC_AttitudeControl: add commentary about functions which modify the rate loop target 2024-09-26 19:25:33 +10:00
Andy Piper 79bae8fd1b Plane: reset sysid and other temporary inputs after rate cycle 2024-09-26 19:25:33 +10:00
Andy Piper c67601b19f Copter: reset sysid and other temporary inputs after rate cycle 2024-09-26 19:25:33 +10:00
Andy Piper 6b5da48641 AC_AttitudeControl: provide function to reset target modifiers 2024-09-26 19:25:33 +10:00
Leonard Hall 2cddea8d9f AC_Autotune_Multi: Use rate step command 2024-09-26 19:25:33 +10:00
Leonard Hall ddfccb3098 AC_AttitudeControl: Use rate step command 2024-09-26 19:25:33 +10:00
Andy Piper ff002cba3f AC_AttitudeControl: ensure the rate and attitude controllers can't interfere with the target at the same time 2024-09-26 19:25:33 +10:00
Andy Piper c28e38e9b5 AC_AttitudeControl: pass in gyro sample to rate controller 2024-09-26 19:25:33 +10:00
Andrew Tridgell 88957235d2 Scripting: added Lat,Lon to aerobatics POSM/POST
this makes "map POSM POST" work on aerobatic scripts
2024-09-26 16:44:13 +10:00
Rhys Mainwaring 00163ce988 AP_Camera: add Python examples for GStreamer UDP and RTSP video streams
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-09-26 09:32:27 +09:00
Robert Taylor 1dfb0f8042 bootloaders: switch CAN port definiton on Nucleo-496 hwdef
The CAN port as it was is a valid CAN port for the nucleo, but on the development board the CAN silkscreen is actually on PD0 and PD1. This change makes it easier to get the example running on the Nucleo
2024-09-26 08:31:50 +10:00
Robert Taylor d82e82635f hwdef: switch CAN port definiton on Nucleo-496 hwdef
The CAN port as it was is a valid CAN port for the nucleo, but on the development board the CAN silkscreen is actually on PD0 and PD1. This change makes it easier to get the example running on the Nucleo
2024-09-26 08:31:50 +10:00
Bob Long 8797a07833 AP_ICEngine: clarify ICE_OPTIONS:2 description 2024-09-25 23:44:52 +10:00
Bob Long 8d9ac6451f AP_ICEngine: don't run engine with safety engaged 2024-09-25 23:44:52 +10:00
Henry Wurzburg 1830dd6d75 Tools:clean up displayed text for build options 2024-09-25 23:44:38 +10:00
Peter Barker 01bf3fe6a1 autotest: param_metadata.py: emit bitmask as XML sub-element
make it easy for consumers to get at this data.

leaves the old form, so we don't break older consumers
2024-09-25 23:44:14 +10:00
Peter Barker 14332fad52 hwdef: -Os on MFT-SEMA-100 to avoid flash overflow 2024-09-25 23:44:05 +10:00
Andy Piper a8ecc2386e autotest: GainBackoffTakeoff test 2024-09-25 17:13:03 +10:00
Peter Barker c9de940fc8 hwdef: JHEMCU-GSF405A becomes minimize-fpv-osd 2024-09-25 17:12:44 +10:00
Peter Barker c7c95e086c AP_Bootloader: correct definition of function to match declaration
only returns a `uint8_t`
2024-09-25 08:48:44 +10:00
Peter Barker 1e26441ae6 AP_Common: Integrate methods for converting hexadecimal characters to numbers
Co-authored-by: muramura <ma2maru@gmail.com>
2024-09-25 08:48:44 +10:00
muramura e4ca54b2e4 AP_CANManager: Integrate methods for converting hexadecimal characters to numbers 2024-09-25 08:48:44 +10:00
Iampete1 62a106bd4c Copter: add and use new `allows_GCS_arming_with_throttle_high` mode method 2024-09-25 08:47:57 +10:00
Iampete1 4894675977 AP_Scripting: add binding for vehicle `set_target_rate_and_throttle` 2024-09-25 08:47:30 +10:00
Iampete1 fc327fa370 AP_Vehicle: add support for `set_target_rate_and_throttle` 2024-09-25 08:47:30 +10:00
Iampete1 94944427da Copter: Scripting: add support for `set_target_rate_and_throttle` 2024-09-25 08:47:30 +10:00
Peter Barker 8e6a1a2b02 AP_Arming: retrieve RC channels directly from RC_Channels
... instead of retrieving values from rcmap and then getting the channel from RC_Channels
2024-09-25 08:46:55 +10:00
Peter Barker 1871170f98 RC_Channel: add accessor for channel number
some places want to be able to report this to the user
2024-09-25 08:46:55 +10:00
muramura 8f5861283b Replay: The number of elements in a char array can be obtained using SIZEOF 2024-09-25 08:46:36 +10:00
muramura 1f5b88cf3b AP_Motors: Change to pass-through 2024-09-24 22:51:23 +10:00
timtuxworth bbd9148b4b AP_Scripting: example for use Location::AltFrame for guided_state.target_alt_frame 2024-09-24 22:51:02 +10:00
timtuxworth fdbbd320a4 Tools: test use Location::AltFrame for guided_state.target_alt_frame 2024-09-24 22:51:02 +10:00
timtuxworth 1133f82799 ArduPlane: use Location::AltFrame for guided_state.target_alt_frame 2024-09-24 22:51:02 +10:00
Iampete1 a4753f32ac Copter: guided: `set_angle` call `init_z_controller` when changing from thrust to climb rate control to avoid flow of control error 2024-09-24 22:50:44 +10:00
Peter Barker 24df6f1574 Tools: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Peter Barker 6e0f39e3e1 Rover: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00