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
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
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
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
Andrew Tridgell
aa05629ef6
AP_HAL: added peekiovec test
...
fixes #18285
2021-09-30 12:46:07 +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
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
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
Ben Wolsieffer
68ee2c21dd
AP_Control: apply pitch rate limit to turn coordination
...
At high bank angles, for example when rolling to/from inverted, a large turn
coordination pitch rate offset is requested. Before this patch, this offset was
not subject to the configured pitch rate limit, which could result in pitch
controller integrator windup.
2021-09-29 17:03:32 +01:00
Gone4Dirt
0038b8edd7
StorageManager: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
ab07a7c4fa
SRV_Channel: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
a0245a2640
GCS_MAVLink: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
f8ed6426a9
AP_Scripting: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
55f6feac9a
AP_Scheduler: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
e0af10886b
AP_RangeFinder: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
9b7b9c351a
AP_Rally: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
e5488e1869
AP_OSD: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
0abfde0a7d
AP_NavEKF3: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
9090cb1271
AP_NavEKF2: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
290794bf93
AP_InertialSensor: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
79787d55cc
AP_GyroFFT: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
40f8407c1d
AP_CANManager: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
a97cafbaad
AP_BLHeli: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
1d02ac768d
AP_BattMonitor: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
4421e4a842
AP_Arming: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
94b97313be
AP_AHRS: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
765f6b69fa
AC_Avoidance: Add APM_BUILD_Heli
2021-09-29 19:55:48 +10:00
Gone4Dirt
7c20658acf
AP_Vehicle: Add Heli build type
2021-09-29 19:55:48 +10:00
Iampete1
b6de44cc7b
AP_HAL_ChibiOS: CubeOrange: add alt config for telem1 RTS CTS as GPIO
2021-09-29 19:55:21 +10:00
Iampete1
8ae5bc5ad0
AP_HAL_ChibiOS: hwdef: allow GPIO alt config
2021-09-29 19:55:21 +10:00
Iampete1
a96150a528
AP_HAL_ChibiOS: allow enabling GPIO as alt config
2021-09-29 19:55:21 +10:00
Iampete1
dc45a113f9
AP_HAL_ChibiOS:UARTDriver: allow re-defintion of RTS and CTS pins
2021-09-29 19:55:21 +10:00
Iampete1
eeb5dd3c96
AP_SerialManger: always run set_options
2021-09-29 19:55:21 +10:00
Iampete1
0e0cc36f8f
AP_BoardConfig: remove ALT_CONFIG param if no alt config is posible
2021-09-29 19:55:21 +10:00
bugobliterator
1a6179148b
AP_IOMCU: ensure page_GPIO is aligned to 16bit
2021-09-29 19:08:10 +10:00
Peter Barker
8ce4a1fce7
AP_Camera: use AP_AHRS singleton to get current location and home
2021-09-29 18:33:01 +10:00
Andrew Tridgell
e85594e423
HAL_ChibiOS: added KakuteH7 support
2021-09-29 18:11:04 +10:00
Andrew Tridgell
d1d5cd5d9f
HAL_ChibiOS: fix sdcard on SPI bus on H7
...
the spiIgnore() call was hanging on H7. The ChibiOS submodule change
fixes that, but this patch is also needed to ensure we timeout any
spiIgnore calls correctly
2021-09-29 18:11:04 +10:00
Andrew Tridgell
2c2c85c4d8
HAL_ChibiOS: fixed polled SPI
2021-09-29 18:11:04 +10:00
Andrew Tridgell
27e93155f4
HAL_ChibiOS: fixed build on boards with OTG2 and no CAN interfaces
2021-09-29 18:11:04 +10:00
Peter Barker
d7ff072d26
SITL: remove mtk GPSs
2021-09-29 17:28:59 +10:00
Peter Barker
6bd2bc2179
AP_HAL_SITL: remove mtk GPSs
...
These are ancient and of very poor quality.
2021-09-29 17:28:59 +10:00
Peter Barker
068f91169c
AP_GPS: remove mtk GPSs
...
These are ancient and of very poor quality.
2021-09-29 17:28:59 +10:00
Pierre Kancir
c676d4772f
AP_ONVIF: use correct #pragma GCC diagnostic pop
2021-09-29 17:27:29 +10:00
Pierre Kancir
c12217eeb5
AP_HAL: use correct #pragma GCC diagnostic pop
2021-09-29 17:27:29 +10:00
Pierre Kancir
cceaa1e2fc
AP_Common: use correct #pragma GCC diagnostic pop
2021-09-29 17:27:29 +10:00
Iampete1
6aa8319b90
AP_Scripting: re-emmit error messages every 10 seconds if SCR_DEBUG_LVL > 0
2021-09-29 17:11:18 +10:00
Peter Barker
207f38dfaf
AP_Filesystem: raise an internal error for fileop on main thread
...
#ecoefi.log
2021-09-29 15:50:52 +10:00
Tatsuya Yamaguchi
0b06d4072e
AP_OSD: remove OSDn_BTEMP_* params when BARO_MAX_INSTANCES=1
2021-09-29 10:51:14 +10:00
Tatsuya Yamaguchi
f249fe7eb2
AP_Hott_Telem: cope with BARO_MAX_INSTANCES = 1
2021-09-29 10:51:14 +10:00
Tatsuya Yamaguchi
f3173174f3
SITL: cope with BARO_MAX_INSTANCES < 3
2021-09-29 10:51:14 +10:00
Josh Henderson
67eb6d17eb
AP_NavEKF3: initialize stateStruct.quat to unit length
2021-09-28 19:09:16 +10:00
Josh Henderson
9a274ba565
AP_NavEKF2: initialize stateStruct.quat to unit length
2021-09-28 19:09:16 +10:00
Josh Henderson
9b74452270
AP_Math: add Internal_Error for quaternion of 0 length
2021-09-28 19:09:16 +10:00
Peter Barker
8d00152815
AC_AutoTune: stop specifying bit-widths for state
...
new: bin/arducopter 1670916 2544 194276 1867736
master: bin/arducopter 1671232 2544 194272 1868048
new: bin/arduplane 1670692 2452 194364 1867508
master: bin/arduplane 1671012 2452 194364 1867828
2021-09-28 11:00:30 +10:00
Andrew Tridgell
f148c3fc44
AP_Logger: fixed stuck logging with LOG_DISARMED=1
...
this prevents a stuck write closing logging when LOG_DISARMED=1
2021-09-28 10:47:48 +10:00
Peter Barker
143f23db89
AP_Logger: move SBP logging structures into AP_GPS
2021-09-28 10:45:51 +10:00
Peter Barker
da66ecf1f2
AP_GPS: move SBP logging structures into AP_GPS
2021-09-28 10:45:51 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
52c39bc382
GCS_MAVLink: add ESC_TELEMETRY_1_TO_4 to the mavlink_id_to_ap_message_id table
2021-09-28 10:01:16 +10:00
Shiv Tyagi
5f94986af1
GCS_Common : Mavlink wrap when battery percentage is above 100
...
When calculated battery percentage is above 100 we wrap it to INT8_MAX
2021-09-28 09:54:55 +10:00
Iampete1
3ae8dfead4
AP_Relay: update param description to inclde IOMCU
2021-09-28 09:40:25 +10:00
Iampete1
ade01f41d9
AP_HAL_ChibiOS: support digital write via IOMCU
2021-09-28 09:40:25 +10:00
Iampete1
ba58cb86db
AP_IOMCU: support digital write
2021-09-28 09:40:25 +10:00
Iampete1
12d5fbbc86
AP_IOMCU: iofirmware: support digital write
2021-09-28 09:40:25 +10:00
Iampete1
69624b1c1b
AP_BatteryMoniter: add plane Loiter to QLand failsafe action
2021-09-28 09:31:13 +10:00
Iampete1
d566b24c04
AP_Vehickle: add Loiter alt then QLAND mode reasons
2021-09-28 09:31:13 +10:00
Iampete1
407b70b82e
AP_Common: location: add get alt distance method
2021-09-28 09:31:13 +10:00
Iampete1
3d566ca59b
RC_Channel: add trim to current servo and RC option
2021-09-28 09:16:24 +10:00
Josh Henderson
4d7dddf337
SITL: sim_MS5611 fix simulated driver for 32bit usage
2021-09-28 09:15:11 +10:00
Josh Henderson
1019628ae4
SITL: test_ms5611 fix <-15C test case
2021-09-28 09:11:48 +10:00
Josh Henderson
9a7530ad50
AP_HAL_Linux: make panic() WEAK
2021-09-28 09:11:48 +10:00
Josh Henderson
328cf01436
AP_HAL_SITL: make panic() WEAK
2021-09-28 09:11:48 +10:00
Josh Henderson
0ae1536e4a
AP_InternalError: change panic to return error code as string in SITL
2021-09-28 09:11:48 +10:00
Josh Henderson
6c3612b51d
AP_Common: enable SITL unit testing
...
apcommon
2021-09-28 09:11:48 +10:00
Josh Henderson
0125ae26ac
AP_Math: enable SITL unit testing
2021-09-28 09:11:48 +10:00
Peter Barker
1ae8385a0f
AP_GPS: correct GPS switching when GPS blending disabled
2021-09-28 09:08:50 +10:00
Sebastian Quilter
69120fa1c7
AP_OSD: #if sidebars
2021-09-28 09:04:45 +10:00
Sebastian Quilter
9a58ccb3cd
AP_OSD: sidebar support for remaining 4 fonts
2021-09-28 09:04:45 +10:00
Sebastian Quilter
2379036e9a
AP_OSD: Add sidebars for MAX7456
2021-09-28 09:04:45 +10:00
Iampete1
b6a73dd3d0
RC_Channel: renstate ArmDisarm Discription with 4.1 note
2021-09-27 13:33:54 +01:00
Andrew Tridgell
4aa88d172c
HAL_ChibiOS: adjust Swan-K1 parameters
...
limit down pitch to 15 degrees to prevent overspeed, and limit angular
rates to 100 deg/s
2021-09-27 21:21:53 +10:00
Andy Piper
20a91dc1c8
AP_SerialManager: correct docs for SERIAL8
2021-09-26 19:51:50 +01:00
Iampete1
25aedc4ee7
AP_Proximity: lower SF45B update rate
2021-09-26 20:26:20 +09:00
Peter Barker
b0e59b2611
RC_Channel: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
341379c5bd
GCS_MAVLink: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00