Ryan Friedman
35c8951395
AP_HAL: Add methods for beNto<floatingType> conversions
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
e6f523dad1
AP_Param: Use explicit type instead of auto for crc
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
8d1937866b
Tools: Only enable -Werr for SITL when compiling with g++
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
7b4d37ac43
Tools: Enable -Werr for SITL
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
c382eb192a
AP_Param: Switch from type punning to defined behavior
...
* This was undefined behavior in the C++ standard
* Use the safer options in AP_Common
* Removes a compiler warning
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
d0b8e672c0
AP_ExternalAHRS: Switch from type punning to defined behavior
...
* This was undefined behavior in the C++ standard
* Use the safer options in AP_Common
* Removes a compiler warning
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman
d40b02fbbd
AP_Common: Add type-punning alternative
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Peter Barker
35ebc25172
autotest: restart both CAN nodes in CAN prearm test
...
the node id we put into maintenane mode varies
2023-06-04 15:24:59 +10:00
Peter Barker
a710a75b6b
autotest: add delays around CAN tests - there are races
...
this delay shouldn't exist at all. But without extending this we get a different node ID being allocated (125 vs the expected 124)
2023-06-04 15:24:59 +10:00
Peter Barker
d4c5908773
autotest: remove pause after starting ArduPilot binary
2023-06-04 15:24:59 +10:00
Peter Barker
de61384fa5
autotest: timesync roundtrip after setting parameter
...
may fix flapping test
2023-06-04 09:13:47 +10:00
Andrew Tridgell
146cc3312c
HAL_ChibiOS: implement ff_memalloc, fixing mkdir() after format
...
this implements FATFS memory allocation in the HAL_ChibiOS malloc.c
which fixes mkdir() after a format of the microSD
The strategy is to deny large allocations and try for DMA allocations
if possible. This both fixes mkdir() and makes filesystem operations
faster as we have less copying of memory via the bouncebuffer
2023-06-03 17:07:04 +10:00
Andrew Tridgell
f52c94deff
ChibiOS: submodule update
...
disable ff_memalloc
2023-06-03 17:07:04 +10:00
Andrew Tridgell
4946ce5431
HAL_ChibiOS: revert recent USB changes
...
these are causing some boards to crash on startup. Tested with a
QiotekZealotH743 which doesn't get out of setup_usb_strings()
once we have debugged this we can re-add the functionality
2023-06-03 16:50:30 +10:00
Randy Mackay
388e54458c
Copter: 4.3.7 release notes
2023-06-03 11:31:39 +09:00
Peter Barker
90b91aacc0
autotest: empty buffer after printing prefixed lines
...
these are just accumulating as-is
2023-06-02 23:33:50 +10:00
Peter Barker
28da57f940
autotest: correct duplicate-test-name problems
2023-06-02 22:58:40 +10:00
Peter Barker
f192d2644c
AP_AHRS: make ExternalAHRS an AP_AHRS_Backend
2023-06-01 12:45:56 +10:00
arshPratap
5168f39463
AP_DDS: Add Subscriber support with Joy
...
* Register subscriber and deserialize sensor_msgs/Joy
Co-authored-by: Rhys Mainwaring <rhys.mainwaring@me.com>
Co-authored-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-01 11:37:59 +10:00
Peter Barker
02802c88ad
hwdef: minimize CRUbrain51
...
get it compiling again
2023-06-01 11:37:12 +10:00
Peter Barker
2d7bb4b2f2
autotest: adjust prefix for supplementary binaries
2023-06-01 11:36:49 +10:00
Peter Barker
8c5c436652
autotest: prefix all stdout from SITL binary
2023-06-01 11:36:49 +10:00
Peter Barker
ddcf212c58
autotest: do timesync roundtrip to ensure fresh system time
...
validating stream rates by checking we have received SYSTEM_TIME is no good if we receive data out of a tcp queue somewhere.
2023-06-01 11:36:32 +10:00
Peter Barker
909068e1e5
autotest: reconnect mavlink when starting SITL
...
.... self.mav corresponds to the SITL we're starting here. If we have previously connected to it then reconnect, as we know the connection will be bad
2023-06-01 11:36:32 +10:00
Peter Barker
bfaf024fc3
auotest: wait for a heartbeat when creating connection
...
until we receive a heartbeat we won't "lock on" to a target, and that has implications for validating received packets
2023-06-01 11:36:32 +10:00
Peter Barker
8724e222bd
autotest: improve do_timesync_roundtrip diagnostics
2023-06-01 11:36:32 +10:00
Peter Barker
1181ce2bf8
autotest: poll ftp status at intervals
...
sometimes we're not done in 2 seconds
2023-06-01 11:36:16 +10:00
Peter Barker
2489a2bec4
Tools: compile with debug symbols and provide path to sources
2023-06-01 11:36:02 +10:00
Peter Barker
d2af1f0fa1
Tools: size_compare_branches.py: correct branch name in elf_diff output
2023-06-01 11:36:02 +10:00
Andy Piper
de6f2ef552
AP_HAL_ChibiOS: remove bdshot from speedybeef4 as it doesn't work and increases flash usage
2023-05-31 20:45:27 +01:00
Randy Mackay
49b9b0393e
waf: revert run Tools/gittools/submodule-sync.sh at distclean
...
This reverts commit 22c1470aca
2023-05-31 18:44:35 +10:00
bugobliterator
f7d3969116
AP_HAL_ChibiOS: enable write protection on USB msd
...
also fixes support for MSD on FS
2023-05-31 18:40:17 +10:00
bugobliterator
a9ef3b031e
AP_HAL_ChibiOS: add support for setting baudrate for ACM port in USB MSD
2023-05-31 18:40:17 +10:00
bugobliterator
fa631c11a1
AP_HAL_ChibiOS: fix script for HerePro
2023-05-31 18:40:17 +10:00
bugobliterator
b5f303e5e7
Tools: use HereProAP instead of HerePro
2023-05-31 18:40:17 +10:00
bugobliterator
a05d7ae645
AP_HAL_ChibiOS: do not init usb in sdcard_init
2023-05-31 18:40:17 +10:00
bugobliterator
5d5fdbb44d
AP_HAL_ChibiOS: update HerePro hwdef and move to HereProAP
2023-05-31 18:40:17 +10:00
bugobliterator
0c5d19ff44
AP_HAL_ChibiOS: initialise SDCard before starting USB
2023-05-31 18:40:17 +10:00
bugobliterator
ee45deeda8
AP_HAL_ChibiOS: silence unused functions under sdcard.cpp
2023-05-31 18:40:17 +10:00
bugobliterator
c6631bce57
AP_HAL_ChibiOS: add block filesystem access support when using MSD USB
2023-05-31 18:40:17 +10:00
bugobliterator
414606ba31
AP_Filesystem: add support for blocking filesystem access
2023-05-31 18:40:17 +10:00
bugobliterator
6d6c791fdf
AP_HAL_ChibiOS: add support for mass storage device
2023-05-31 18:40:17 +10:00
bugobliterator
cc302d8b8c
AP_HAL_ChibiOS: add support for OTG HS
2023-05-31 18:40:17 +10:00
bugobliterator
4b3ae60964
AP_OpenDroneID: send dronecan messages directly from update
2023-05-31 17:31:09 +10:00
bugobliterator
cbef055f6b
AP_DroneCAN: add msg period measurement to DroneCAN_sniffer
2023-05-31 17:31:09 +10:00
bugobliterator
efe5fb7e69
AP_DroneCAN: push ESC data out immediately and ensure high priority
2023-05-31 17:31:09 +10:00
Tom Pittenger
f38041567f
AP_DroneCAN: remove unused defines
2023-05-31 17:31:09 +10:00
bugobliterator
5066d48718
AP_Notify: directly send dronecan beep command from the driver
2023-05-31 17:31:09 +10:00
bugobliterator
a1ba65a654
AP_Notify: send dronecan led commands directly from driver
2023-05-31 17:31:09 +10:00
bugobliterator
5026b3d08c
AP_GPS: send RTCM Stream message to over dronecan directly
2023-05-31 17:31:09 +10:00