Commit Graph

49907 Commits

Author SHA1 Message Date
Peter Barker 3292128531 AP_HAL_SITL: allow for selection of Storage backend type at runtime 2021-10-05 10:16:54 +11:00
Peter Barker 102b1c6879 AP_HAL: allow for selection of Storage backend type at runtime 2021-10-05 10:16:54 +11:00
Tom Pittenger 9578b9bcd4 AP_ADSB: Ping200X update health, remove option for external baro, and gnss altitude units bugfix 2021-10-03 09:57:39 -05:00
Shiv Tyagi 9729377bb3 AP_Rangefinder : make get_temp const
This makes backend get_temp methods const

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
2021-10-03 09:21:31 -04:00
Shiv Tyagi 5cca39e50a GCS_Common : send water depth for each rangefinder instance
This sends depth message for each downward facing rangefinder instance which has data.

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
2021-10-03 09:21:31 -04:00
Shiv Tyagi 6faa586dec Rover : log multiple rangefinder instances in DPTH message
This makes log_dpth method to log multiple instances of rangefinder

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
2021-10-03 09:21:31 -04:00
Andrew Tridgell 9a29f2558c HAL_SITL: fixed cygwin build
cygwin does not handle panic being weak, it gets a link error
2021-10-03 14:00:34 +11:00
Andrew Tridgell c15221fd53 HAL_ChibiOS: fixed orientation of ICM42605 on QiotekZealotF427 2021-10-03 14:00:09 +11:00
Andrew Tridgell 41534d816c CPUInfo: added timing of micros16() 2021-10-02 18:26:39 +10:00
Andrew Tridgell 6953778b4c HAL_ChibiOS: use micros16() for blheli pass-thru IRQ
saves some IRQ overhead, makes time handling more consistent
2021-10-02 18:26:39 +10:00
Andrew Tridgell 5714ee113f HAL_ChibiOS: added micros16() method 2021-10-02 18:26:39 +10:00
Andrew Tridgell 1283d42fbf AP_HAL: added micros16() method
fast method for both 16 and 32 bit timers
2021-10-02 18:26:39 +10:00
Andrew Tridgell 2aef3364bc HAL_ChibiOS: optimisation for AP_HAL::micros() on systems with 32 bit timers
most ChibiOS boards have a 32 bit timer. This optimisation reduces the
cost of micros() from 0.3us to 0.06us, which is significant in
interrupt handlers and for accurate timing. It takes advantage of the
timer being 32 bit with 1MHz clock
2021-10-02 18:26:39 +10:00
Andrew Tridgell 2be23fff2b Plane: obey Q_RTL_ALT when in POS1 and POS2 states
this fixes the alt target for when user has disabled the quadplane
approach code
2021-10-02 12:46:59 +10:00
Randy Mackay 9de5ef72db Copter: 4.1.0-rc4 release notes 2021-10-01 20:38:10 -04:00
Iampete1 1371499022 AP_Motors: add note about test to new inverse functions 2021-10-01 22:04:51 +01:00
Iampete1 484a0b989f AP_Motors: add expo inverse test example 2021-10-01 22:04:51 +01:00
Hwurzburg 636358b668 Plane: add param for throttle control in transition to VTOL 2021-10-01 22:04:51 +01:00
Iampete1 c178962200 Plane: tailsitter: only apply throttle scaling once in assised flight 2021-10-01 22:04:51 +01:00
Iampete1 0c1fe0b373 AP_MotorsMulticopter: add inverse thrust_to_actuator and thrust curve functions 2021-10-01 22:04:51 +01:00
lthall d5286ec533 AC_AttitudeControl: Fix initialize bug 2021-10-01 13:14:46 -04:00
Pierre Kancir a8e1bebe69 .github: test building chibios on Python2 too 2021-10-01 21:30:20 +10:00
Pierre Kancir 65b1458c5e .github: remove 1M boards from GCC6 build 2021-10-01 19:30:43 +10:00
Pierre Kancir 28a2c1be68 .github: use clang/clang++ instead of clang-7/clang++-7
this prevent failures on build_ci.sh
2021-10-01 19:30:43 +10:00
Pierre Kancir 920ccb089f .github: migrate semaphore to github actions 2021-10-01 19:30:43 +10:00
bugobliterator eb9b29f84b waf: do not generate headers when cleaning 2021-10-01 15:20:18 +10:00
Peter Barker 4aeb85d080 GCS_MAVLINK: correct mavlink return code when wiping storage header 2021-10-01 11:39:25 +10:00
bugobliterator ae65f2e6ab AP_GPS: fix build and working with single GPS Receiver config 2021-09-30 21:53:07 +10:00
Tom Pittenger a7686de92b AP_Periph: fix GCS/mavlink for additional serialports 2021-09-30 14:55:01 +10:00
nkruzan dbe673e81c Tools:install-prereqs-ubuntu.sh use $APT_GET for pkg-config
While writing a script to automate dev env install locally I notice this is not abiding by the $ASSUME_YES like the other apt-get install commands.
2021-09-30 14:49:09 +10:00
Andrew Tridgell aa05629ef6 AP_HAL: added peekiovec test
fixes #18285
2021-09-30 12:46:07 +10:00
Peter Barker d7f037e548 autotest: add test for setting streamrates from files 2021-09-30 10:31:03 +10:00
Peter Barker df7b2982d3 AP_Filesystem: add fgets 2021-09-30 10:31:03 +10:00
Peter Barker 3f37a21aaf GCS_MAVLink: set message intervals from config files 2021-09-30 10:31:03 +10:00
bugobliterator dd9f513aa5 AP_HAL_ChibiOS: setup led control via lua script for HerePro 2021-09-30 08:52:27 +10:00
bugobliterator d23e37e3bb AP_Scripting: add script for controling herepro leds per vehicle state 2021-09-30 08:52:27 +10:00
bugobliterator e666e460f9 AP_Scripting: add periph methods for getting vehicle states 2021-09-30 08:52:27 +10:00
bugobliterator 8a4b9c2b36 AP_Periph: add support for handling Notify State message 2021-09-30 08:52:27 +10:00
bugobliterator 2673cde52b AP_UAVCAN: add dsdl for sending vehicle notify state 2021-09-30 08:52:27 +10:00
bugobliterator e4c6c0ad17 AP_UAVCAN:add support for sending Vehicle Notify state 2021-09-30 08:52:27 +10:00
Siddharth Purohit 24448d6adf AP_Scripting: add rgb control for independent LEDs 2021-09-30 08:52:27 +10:00
bugobliterator 756972a80b AP_DAL: replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator f5ee2a3a50 AP_CANManager:replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator ae4d368267 Plane: replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator 2751afaa75 Copter: replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator fd369e8262 AP_UAVCAN: throw allocation error when failing to allocate 2021-09-30 08:51:26 +10:00
bugobliterator b897f984a7 AP_UAVCAN: use config error instead of panic on allocation failure 2021-09-30 08:51:26 +10:00
bugobliterator 224abe7933 AP_ExternalAHRS: use config error instead of panic on allocation failure 2021-09-30 08:51:26 +10:00
bugobliterator 8a3e1b96ab Blimp: use allocation_error instead of panic on allocation failure 2021-09-30 08:51:26 +10:00
Peter Barker a55bd3955a autotest: ensure camera feedback messages at correct altitude 2021-09-30 08:50:47 +10:00