Commit Graph

63632 Commits

Author SHA1 Message Date
Rhys Mainwaring 33d51d52ad AP_DDS: ensure zero rotation quaternions are normalised
- ROS expects quaternions to be normalised and the default message constructor does not enforce this.
- Fix normalisation for pose stamped.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-26 09:46:48 +10:00
Ryan Friedman 8a58affe24 Tools: ros2: Fix plane launch headless
* Install models for other users
* Fix bool parsing in some launch args
2024-05-25 12:04:05 +10:00
Bob Long ead48b6737 Tools: fix handling of include files for Periph
This fix scans all the include files in a hwdef, not just one on the
first line.
2024-05-24 10:40:46 +10:00
Stephen Dade d16ff40162 RC_Channel: detect duplicate aux functions with an ID >256 2024-05-24 09:57:17 +10:00
Paul Riseborough 91423d4c71 AP_NavEKF3: Remove unncessary local position height reporting offset
The offset generated by the EK3_OGN_HGT_MASK parameter bit 2 option is applied to the baro or range finder sensor so it does not have to be applied to the local position height.
2024-05-23 10:35:51 +10:00
Paul Riseborough 5fded75eb6 AP_NavEKF3: Adjust sensor height when EK3_OGN_HGT_MASK bit 2 is set 2024-05-23 10:35:51 +10:00
Peter Barker ee7e8661ed autotest: add test for EK3_OGN_HGT_MASK bug 2024-05-23 10:35:51 +10:00
David O'Connor 77adb5586d AP_HAL_ChibiOS: Added mag and dataflash logging support to AnyLeaf H7 2024-05-23 09:48:02 +10:00
Peter Barker 7194c6e72e Tools: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Peter Barker b7cf418d1e GCS_MAVLink: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Peter Barker 05b8c28ea9 AP_GPS: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Alex Burka 8e399cffbe AP_InternalError: fix signedness issue with snprintf 2024-05-22 23:22:23 +10:00
Andy Piper 17083b54f8 Plane: ensure the dshot type gets set 2024-05-22 18:25:07 +10:00
Iampete1 0c6f396438 AP_Scripting: docs: document all functions currently documented on the wiki 2024-05-22 18:13:53 +10:00
Peter Barker fcebd0c8c2 Copter: avoid Guided submode change unless can change Loc to Vec-from-origin
ordering problem between changing the submode and setting a valid position
2024-05-22 17:10:12 +09:00
Peter Barker 766d92faa6 autotest: add test for Copter behaviour in guided with force-arm 2024-05-22 17:10:12 +09:00
Peter Barker 482342340d hwdef: fold minimal_GPS.inc into sole user 2024-05-22 18:03:06 +10:00
Randy Mackay 72b5efd8b3 AP_Mount: serial backends gets instance 2024-05-22 18:00:22 +10:00
Randy Mackay 99626b73ff AP_Mount: SToRM32_serial inherits from serial backend 2024-05-22 18:00:22 +10:00
Randy Mackay 7fc00efe7e AP_Mount: Viewpro inherits from serial backend 2024-05-22 18:00:22 +10:00
Randy Mackay 790b5e8565 AP_Mount: Siyi inherits from serial backend 2024-05-22 18:00:22 +10:00
Randy Mackay 1e777390b2 AP_Mount: add Backend_Serial 2024-05-22 18:00:22 +10:00
Andy Piper 3a4fdb16a8 AP_RCTelemetry: add support for baro/vario CRSF frames 2024-05-22 17:15:04 +10:00
Andy Piper 1e2621466c AP_Frsky_Telem: factor out vspeed and nav alt 2024-05-22 17:15:04 +10:00
Andy Piper 9112b14414 AP_RCProtocol: add frame ids for CRSF baro/vario 2024-05-22 17:15:04 +10:00
James O'Shannessy a5e11911fc AP_Mount: Only save converted mount if mount was previously set in the first place
The mount library force configures the mount type on conversion, even if the mount was never configured in the first place
2024-05-22 17:11:40 +10:00
Andrew Tridgell 5fd4e23fa9 AP_Compass: removed IST8310 overrun message
this is not useful and just causes concern to users. Any small bus
delay can trigger this. We have health monitoring at a higher level
2024-05-22 14:51:15 +10:00
Mirko Denecke ff426d8354 AP_Bootloader: Reserve ID range for UAV-DEV GmbH 2024-05-22 11:45:48 +10:00
Ashwin Nambiar 20a23d8bf2 Tools: update run_in_terminal_window.sh
Remove the TERM variable dependency
2024-05-21 21:55:48 +10:00
Peter Barker 7e8a69d2b7 autotest: add polygon pre-arm tests 2024-05-21 17:23:31 +10:00
Peter Barker 24e54dac88 AC_WPNav: remove un-needed initialisation 2024-05-21 15:52:51 +10:00
Nick Exton bb0d1cf7b8 autotest: Handle pitch limits when testing achieved mount pitch angle 2024-05-21 14:27:28 +09:00
Nick Exton 0af4649705 AP_Mount: In Servo backend, report attitude as demanded servo angles, not target angles 2024-05-21 14:27:28 +09:00
Nick Exton e17439287b AP_Mount: In Servo backend, add overrides for has_roll_control() and has_tilt_control() 2024-05-21 14:27:28 +09:00
Nick Exton 0e090faf05 AP_Mount: Add roll_range_valid() and pitch_range_valid() functions
Equivalent to yaw_range_valid().
2024-05-21 14:27:28 +09:00
Bob Long 7e8f9c72fb AP_MotorsTri: reverse-frame cleanup and fixes
- fix motor test order for reverse frame
- add frame type string for reverse frame
- fix initialization of _pitch_reversed flag
2024-05-21 15:20:27 +10:00
Bob Long dc3f2c9724 AP_Motors_test: add tri frames to json output 2024-05-21 15:20:27 +10:00
Risto 143c975fb1 AP_Bootloader: ID reserve for FlywooF405HD_AIOv2
See: https://github.com/ArduPilot/ardupilot/pull/27036
2024-05-21 14:29:20 +10:00
Nick Exton 8b5539c055 AP_Mount: Clarify angle frames of set_angle_target() 2024-05-21 14:28:38 +10:00
Peter Barker 562e5c0b72 Rover: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Peter Barker 42966415a9 Blimp: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Peter Barker 633a72e118 ArduSub: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Peter Barker 6a9b8206d4 ArduPlane: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Peter Barker 76950b5994 ArduCopter: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Peter Barker 2779f6ebee AntennaTracker: remove redundant @Values from parameter documentation 2024-05-21 14:27:05 +10:00
Peter Barker 5cef031ce5 Tools: enforce Values/Bitmask sanity check for vehicles as well as libraries
we have enforced this one-of-Values-or-Bitmask in libraries for a long time, and should have been enforcing it in vehicles before now.

MissionPlanner and MAVProxy ignore Values if Bitmask is present
2024-05-21 14:27:05 +10:00
Lokesh-Ramina 55b0c64b5a Plane: CRASH_DETECT Param doc update to add 1 in value set
As this was causing a CI check we made locally to compare param values to param_metadata generated xml file.
2024-05-21 14:27:05 +10:00
Peter Barker 297ff6dfde Plane: correct description of MIN_GROUNDSPEED parameter 2024-05-21 14:24:47 +10:00
Peter Barker 37886b36e0 autotest: neaten Copter Loiter test 2024-05-21 14:23:58 +10:00
Peter Barker f930ba788b autotest: add test showing throttle saturation problem
autotest: verbose minimum_duration in wait_message_field_values
2024-05-21 14:23:36 +10:00