Commit Graph

45664 Commits

Author SHA1 Message Date
Andrew Tridgell
6f4bfed82d HAL_ChibiOS: fixed build with alarm and no PWM channels
this fixes a build error due to conditional always being false when
NUM_GROUPS==0 by using a C++ iterator. It also makes the code neater
2021-01-04 09:04:06 +11:00
Peter Barker
8e34388a20 SITL: move simulated maxsonari2c to bus 0
.... where the driver expects it by default
2021-01-03 20:36:54 +11:00
Peter Barker
e5fd661caf SITL: correct I2C multi-bus support 2021-01-03 20:36:54 +11:00
Peter Barker
21ffa4d259 SITL: add sanity check for duplicate bus/addr I2C devices 2021-01-03 20:36:54 +11:00
auturgy
ac69cfe2b3 Update README.md
Replaced gitter links with discord links, plus cleaned a few things up.
2021-01-03 20:36:13 +11:00
Peter Barker
995f5d1dad SITL: increase quad scanner range to 18m
Matches the value we send for Rover, which is useful until we can
reflect on the simulation to discover its maximum range
2021-01-03 18:54:54 +11:00
Rishabh
2f5f55f680 SITL: Added quadcopter morse example with laser scanner 2021-01-03 18:54:54 +11:00
Peter Barker
b1239dcd06 SITL: correct OBSTACLE_DISTANCE message output from SIM_Morse 2021-01-03 17:49:44 +11:00
Michael du Breuil
2909623057 Plane: Ensure that only one form of throttle nudging is active at once 2021-01-03 12:47:14 +11:00
Pierre Kancir
61d1f747ba Tools: completion: bash better completion for binaries 2021-01-03 12:33:25 +11:00
Pierre Kancir
d52c69af81 Tools: completion: bash better completions for sim_vehicle.py 2021-01-03 12:33:25 +11:00
Pierre Kancir
bee767a9aa Tools: completion: better completion for waf 2021-01-03 12:33:25 +11:00
Pierre Kancir
60f2e119a5 Tools: completion: bash complete subtest on autotest.py 2021-01-03 12:33:25 +11:00
Pierre Kancir
5f033a551a Tools: completion: add --target completion 2021-01-03 12:33:25 +11:00
hendjosh
7f999ef64a Tools: Change Cygwin default install location to Cygwin64 2021-01-03 09:49:05 +11:00
Andy Piper
40090dcce9 AP_UAVCAN: compile fix for debug/assertions 2021-01-03 08:57:13 +11:00
Andy Piper
176c648156 AP_Terrain: compile fix for gcc 9 2021-01-03 08:57:13 +11:00
Peter Barker
f1067eee81 Tools: build_ci.sh: re-add KakuteF7Mini for bidir d-shot testing 2021-01-02 22:40:40 +11:00
Andy Piper
f702288ad2 autotest: correct number of logs 2021-01-02 22:30:08 +11:00
Andy Piper
779c2a9e5f AP_Logger: move logger IO to a separate thread 2021-01-02 22:30:08 +11:00
Andrew Tridgell
529bc6b77c autotest: fixed compatibility with python on wiki server 2021-01-02 16:34:29 +11:00
Hwurzburg
f0954f35a7 Tools: change KakuteF7Mini build to KakuteF7 to get biggest flash 2021-01-02 15:55:25 +11:00
Andrew Tridgell
09603e29ce AP_Compass: fixed external handling for BMM150 2021-01-02 10:31:15 +11:00
Andrew Tridgell
3d4a8829f3 AP_Compass: added BMM150 as available external mag 2021-01-02 10:31:15 +11:00
Andrew Tridgell
e747edbcf2 AP_NavEKF3: fixed init order for scheduler
this can impact replay of EKF2
2021-01-02 10:30:26 +11:00
Andrew Tridgell
b36bfe4206 AP_NavEKF2: fixed init order for scheduler
this can impact replay of EKF2
2021-01-02 10:30:26 +11:00
Hwurzburg
913d1b81b2 Plane: correct bug that prevents QACRO rudder disarm 2021-01-02 08:59:31 +11:00
Hwurzburg
ce361e51bf HAL_ChibiOS: Reinstate HAL_MINIMIZE_FEATURES for 1MB F7 boards 2021-01-02 08:57:47 +11:00
Andrew Tridgell
6ed4eca57f AP_CANManager: fixed use of CANSensor on multiple ports
we should not increment _num_drivers if we don't have a driver yet
2021-01-02 06:25:20 +11:00
auturgy
3b7207a5e4 Tools: Update board_types.txt
Cross-alignment with PX4, plus whitespace fixes
2021-01-01 17:31:44 +11:00
Andrew Tridgell
418367c266 HAL_SITL: allow --home to specify a location from locations.txt
this will make it easy to use a named location in MissionPlanner SITL
2021-01-01 17:30:32 +11:00
Andrew Tridgell
eaf7e7354a Tools: added locations.txt to ROMFS for SITL 2021-01-01 17:30:32 +11:00
Andrew Tridgell
a4517032c5 AP_UAVCAN: log all UAVCAN devices in CAND log message 2021-01-01 17:30:14 +11:00
Andrew Tridgell
0ae9b28198 AP_Logger: added get_log_start_count()
used by UAVCAN to know if it should log CAN devices on log rotation
2021-01-01 17:30:14 +11:00
Andrew Tridgell
4fdf315760 AP_Logger: use null terminated strings
this prevents logging garbage for strings that are shorter than the
length specifier (eg. 'Z'). This assumes we will not want to log
binary data as strings
2021-01-01 17:30:14 +11:00
Andrew Tridgell
66c05bef76 AP_RangeFinder: added USD1 CAN driver
also known as uLanding CAN
2021-01-01 17:29:54 +11:00
Andrew Tridgell
943918d511 AP_Arming: added USD1 CAN 2021-01-01 17:29:54 +11:00
Andrew Tridgell
b7fa1a4b98 AP_CANManager: added USD1 CAN driver type 2021-01-01 17:29:54 +11:00
Michael du Breuil
60af6633cf AP_EFI: Add NWPMU CAN driver 2021-01-01 17:29:54 +11:00
Andrew Tridgell
fb84baf8a5 AP_Arming: added EFI_NWPMU 2021-01-01 17:29:54 +11:00
Andrew Tridgell
db798ace05 AP_CANManager: added EFI_NWPMU 2021-01-01 17:29:54 +11:00
Andrew Tridgell
32c3a2feef AP_CANManager: added CANSensor class
this makes creation of custom CAN protocol handlers much easier
2021-01-01 17:29:54 +11:00
Andrew Tridgell
19e597ec3f AP_Periph: check for null uart in msp 2021-01-01 15:40:13 +11:00
Andrew Tridgell
e260c7ad59 HAL_ChibiOS: update f303-MatekGPS to allow disable of MSP
and use DMA for MSP
2021-01-01 15:40:13 +11:00
Andrew Tridgell
37506c2f3a AP_Periph: added MSP_PORT parameter
allows MSP to be enabled/disabled
2021-01-01 15:40:13 +11:00
David B. Bitton
8b2e69162d AP_Periph: add support for Toshiba LED 2020-12-31 11:02:10 -08:00
David B. Bitton
8dbe0a71ba AP_HAL_ChibiOS: add support for Toshiba LED 2020-12-31 11:02:10 -08:00
Peter Barker
65cffdad5a autotest: print stack traces when exceptions caught 2020-12-31 17:43:23 +11:00
Peter Barker
38ea62c5d7 autotest: send mode change messages directly rather than via MAVProxy 2020-12-31 17:43:06 +11:00
Peter Barker
d31f676c33 autotest: don't use MAVProxy for uploading using fencepoint protocol 2020-12-31 17:42:50 +11:00