Andrew Tridgell
c95624a040
AC_Fence: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Andrew Tridgell
18e5da78d2
AC_CustomControl: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Andrew Tridgell
c36c37099d
AC_Avoidance: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Andrew Tridgell
aa2f885e2f
AP_Common: added checks for new without std::nothrow
...
and add NEW_NOTHROW macro
2024-06-04 09:20:21 +10:00
Andrew Tridgell
4f6653e5c7
HAL_SITL: avoid std::vector in command line handling
...
use ObjectArray instead
2024-06-04 09:20:21 +10:00
Andrew Tridgell
c764e60aa0
HAL_SITL: avoid use of std::queue
...
use ObjectArray instead
2024-06-04 09:20:21 +10:00
muramura
eec7876028
SITL: correct valgrind failure in SIM_GPS_SBP2
2024-06-03 21:30:32 +10:00
Peter Barker
db6245bb66
AP_CRSF_Telem: add missing VideoTX include
...
We use the vtx singleton in here, so we need the header.
... also fix up the includes and ifdefs a little.
2024-06-03 17:51:47 +10:00
Bron2002
165b0e929f
AP_GPS: add checking of instance number before update with incoming data
2024-06-03 12:18:11 +10:00
Andy Piper
07f0bfc8c9
AP_IOMCU: correct TCIE setting and add more debug
2024-06-02 10:54:14 +10:00
Andy Piper
ae8a2d9513
AP_HAL_ChibiOS: reset pwm peripheral on F1 when deallocating IC DMA
2024-06-02 10:54:14 +10:00
Andrew Tridgell
c2a9bc93b5
SITL: added --uartA alias for SITL
...
needed for MissionPlanner SITL
see https://github.com/ArduPilot/MissionPlanner/pull/3359
we will need this till a new stable release of MissionPlanner is done
2024-06-01 21:35:55 +10:00
Andrew Tridgell
4e0e20aee1
SITL: added plane-steering model for ground steering
...
needs to be updated with improved yaw rate calculation
2024-06-01 20:09:25 +10:00
Iampete1
51c77fe098
Filter: Testes: notch: interpolate crossing points for acurate phase lag
2024-06-01 16:37:07 +10:00
Andrew Tridgell
c908636cde
Filter: added test of phase lag vs attenuation
2024-06-01 16:37:07 +10:00
Henry Wurzburg
f5a6193cbf
AP_HAL_ChibiOS:correct pin to be pulled high during boot
2024-06-01 10:23:52 +10:00
Peter Barker
b2b8eb93a6
SITL: correct valgrind failure in SIM_GPS_SBP
2024-05-31 13:23:03 +10:00
Ryan Friedman
513938b0ff
AP_DDS: Use common quaternion initialization function
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-30 16:57:28 +10:00
Leonard Hall
0accc61107
AC_AutoTune: Move functions out of HAL_LOGGING_ENABLED
2024-05-29 18:29:23 +10:00
Leonard Hall
20edb9185d
Copter: Autotune: Remove double call to AC_Attitude_Control
2024-05-29 18:29:23 +10:00
Leonard Hall
b9e06402af
Copter: Autotune: Increase waiting for level timeout.
2024-05-29 18:29:23 +10:00
Leonard Hall
cebcbf0044
Copter: Autotune: Virtual methods to separate Heli and Multi
2024-05-29 18:29:23 +10:00
Leonard Hall
45525a40b8
Copter: Autotune: Don't Fail min D for Yaw Filter
2024-05-29 18:29:23 +10:00
Leonard Hall
a7962c35b6
Copter: Autotune: Reduce MIN_D
2024-05-29 18:29:23 +10:00
Leonard Hall
858d90cb95
Copter: Autotune: Improve angle limit test
2024-05-29 18:29:23 +10:00
Leonard Hall
712cf3696b
Copter: Autotune: Small changes for clarity
2024-05-29 18:29:23 +10:00
Leonard Hall
79f4e0a2d8
Copter: Autotune: Level requirement improvements
2024-05-29 18:29:23 +10:00
Leonard Hall
41a5a1b8fe
Copter: Autotune: Notify user of min Rate D for action
2024-05-29 18:29:23 +10:00
Leonard Hall
fcd3c8502f
Copter: Autotune: Twitch direction enhancements
2024-05-29 18:29:23 +10:00
Leonard Hall
e2560371cf
Copter: Autotune: Base angles limits on lean_angle_max
2024-05-29 18:29:23 +10:00
Leonard Hall
54618dd903
Copter: Autotune: Fail when bad tune is expected
2024-05-29 18:29:23 +10:00
Leonard Hall
13fb69be7c
Copter: Autotune: Look for bounce earlier in test
2024-05-29 18:29:23 +10:00
Leonard Hall
18d18d14fc
Copter: Autotune: Set D = 0 for Yaw test
2024-05-29 18:29:23 +10:00
Leonard Hall
c000efdabe
Copter: Autotune: Increase test timeout
2024-05-29 18:29:23 +10:00
Leonard Hall
327fd034da
Copter: Autotune: Reduce default AGGR
2024-05-29 18:29:23 +10:00
Leonard Hall
c47b3b8f03
Copter: Autotune: Reduce chance of desync
2024-05-29 18:29:23 +10:00
Tom Pittenger
9669699405
AP_Networking: enable Socket IP reuse
2024-05-29 18:29:03 +10:00
Andy Piper
304751e162
AP_RCTelemetry: only update VTX parameters if CRSF provider was enabled
2024-05-29 17:49:08 +10:00
Andy Piper
607249d73d
AP_VideoTX: add autobauding to Tramp
...
Record enabled backends
2024-05-29 17:49:08 +10:00
Rhys Mainwaring
88926a38cf
AP_DDS: make all subscriber QoS best effort reliability
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-29 17:47:52 +10:00
Rhys Mainwaring
840f4b142d
AP_DDS: fix type string for navsat msg
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-29 17:47:52 +10:00
Rhys Mainwaring
c71ef23657
AP_DDS: create entities by binary
...
- Add topic name and type to topic table.
- Use binary creation functions for participants and topics.
- Add constant for domain ID.
- Create publishers and datawriters by binary
- Create subscribers, datareaders and services by binary
- Add extra fields to the services table.
- Remove dds_xrce_profile.xml
- Document additional service table fields
- Add QoS struct to topic and service tables
- Replace profile labels with enums.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-29 17:47:52 +10:00
xingchengGE
3ba16eb933
AP_Motor: Fix a typo
2024-05-29 16:28:02 +09:00
radityankn
4cab322356
Update RCOutput.cpp
...
erasing additional curly brackets
2024-05-29 17:02:48 +10:00
radityankn
119f822583
AP_HAL_ESP32: support for Safety Switch
...
modified RCOutout.cpp to read specified pin for safety switch and light
the LED on another specified pin
2024-05-29 17:02:48 +10:00
David Buzz
1c9a44c33e
AP_HAL_ESP32:LOWERING the MAIN_PRIO gets a 400hz loop rate on s3 "empty" board
...
loop_rate: actual: 400.000000Hz, expected: 400Hz
loop_rate: actual: 400.000000Hz, expected: 400Hz
loop_rate: actual: 400.000000Hz, expected: 400Hz
[ setup esp32 build env ]
./waf configure --board=esp32s3empty --debug
./waf copter --debug --disable-scripting --upload
after upload:
cd build/esp32s3empty/esp-idf_build && ninja monitor && cd -
[watch console output for 2 minutes]
ctrl-right-square-bracket to stop watching console.
2024-05-29 13:12:37 +10:00
David Buzz
07092715a7
AP_HAL_ESP32: print loop rate
...
loop rate getting 262Hz from console after approx 2 minutes boot
loop_rate: actual: 262.022766Hz, expected: 400Hz
loop_rate: actual: 262.022766Hz, expected: 400Hz
t
2024-05-29 13:12:37 +10:00
David 'Buzz' Bussenschutt
529d783e0e
AP_HAL_ESP32: automatic S3 sdkconfig changes generated by IDF
2024-05-29 13:12:37 +10:00
Pierre Kancir
9623e7a249
AP_HAL_SITL: Give tcp client 3 attempts to connect
...
This make tcp client connection easier when connecting multiple sitl instances
2024-05-29 13:12:09 +10:00
Andrew Tridgell
d305cb47f8
AP_Scripting: added GPS yaw binding
...
useful for seeing if switching to a GPS yaw source set in EK3 will work
2024-05-29 12:56:57 +10:00