Iampete1
9b02baa5f0
AP_HAL: add note to output_mode enum about params using it
2021-10-06 18:59:57 +11:00
Iampete1
436f9a3f46
AP_BLHeli: move OTYPE to use RCOutput::MODE not AP_Motors::PWM_TYPE
2021-10-06 18:59:57 +11:00
Iampete1
9106835c93
AP_BLHeli: use motors is_digital_pwm_type helper
2021-10-06 18:59:57 +11:00
Iampete1
bc29735cb2
AP_Motors: make pwm_type protected and add helpers
2021-10-06 18:59:57 +11:00
Iampete1
b472300191
AP_MotorsUGV: make pwm_type private and add is_digital_pwm_type method
2021-10-06 18:59:57 +11:00
Iampete1
86e56934b6
AP_Scripting: update analog input example to check for valid pin
2021-10-06 18:42:51 +11:00
Iampete1
f50326c154
AP_WindVane: check for valid analog pins
2021-10-06 18:42:51 +11:00
Iampete1
e5ae023be2
AP_Scripting: AnalogSource set_pin returns bool
2021-10-06 18:42:51 +11:00
Iampete1
8f50eab6c2
AP_RSSI: check for valid analog pin
2021-10-06 18:42:51 +11:00
Iampete1
f667c098a2
AP_RangeFinder: analog: check for valid pin
2021-10-06 18:42:51 +11:00
Iampete1
5ea72bd371
AP_LeakDetector: check for valid analog pin
2021-10-06 18:42:51 +11:00
Iampete1
9f04cded3b
AP_HAL_SITL: AnalogSource: return bool for set_pin
2021-10-06 18:42:51 +11:00
Iampete1
62474e6dc8
AP_HAL_Linux: AnalogSource: set_pin return true
2021-10-06 18:42:51 +11:00
Iampete1
f479964c5a
AP_HAL_Empty: AnalogSource: return bool
2021-10-06 18:42:51 +11:00
Iampete1
f7cba024c1
AP_HAL_ChibiOS: AnalogSource: check for valid pin
2021-10-06 18:42:51 +11:00
Iampete1
bb04406496
AP_HAL: AnalogSource: set_pin returns bool
2021-10-06 18:42:51 +11:00
Iampete1
19f66803ff
AP_BatteryMonitor: Analog: check valid pin
2021-10-06 18:42:51 +11:00
Iampete1
0731af751a
AP_Airspeed: analog: check valid pin
2021-10-06 18:42:51 +11:00
Andrew Tridgell
613f970870
AP_Compass: added AK09918 support
...
minor update over AK09916
2021-10-06 18:16:00 +11:00
Andrew Tridgell
32731e2cd0
AP_Scripting: fixed bug in string logging with logger.write()
...
this dereferenced a bad pointer, leading to crash and watchdog
thanks to Charlie for finding this!
2021-10-06 18:14:54 +11:00
Andrew Tridgell
33529c98a9
HAL_ChibiOS: check the ROMFS line for IOMCU is added
2021-10-06 06:45:43 +11:00
Andrew Tridgell
52124cf602
HAL_ChibiOS: fixed f1 bootloader build errors
2021-10-06 06:44:36 +11:00
Andrew Tridgell
8deaa1b46b
HAL_ChibiOS: fixed warning for USB
2021-10-06 06:44:36 +11:00
Andrew Tridgell
4daf4ad501
HAL_ChibiOS: lock in no warnings for chibios RTOS build
2021-10-06 06:44:36 +11:00
Peter Barker
402669f269
AP_HAL_SITL: add and use HAL_SITL &hal_sitl
...
analogous to our normal "extern hal" stuff but removes need for casting
2021-10-05 22:24:38 +11:00
Andrew Tridgell
4dbff85de7
HAL_ChibiOS: check for common hwdef.dat errors
...
catches missing GPIO type, mismatched timers and UARTs or bad pin types
2021-10-05 15:46:02 +11:00
Iampete1
f0a284c1e7
AP_Hal_ChibiOS: R9Pilot: add OUTPUT to GPIO
2021-10-05 15:46:02 +11:00
Iampete1
0143518954
AP_Hal_ChibiOS: mRoControlZeroF7: add OUTPUT to GPIO
2021-10-05 15:46:02 +11:00
Iampete1
a282a39866
AP_Hal_ChibiOS: F4BY: add OUTPUT to GPIO
2021-10-05 15:46:02 +11:00
Iampete1
6f1f26a72a
AP_Hal_ChibiOS: CubeOrange: add OUTPUT to GPIO
2021-10-05 15:46:02 +11:00
Peter Barker
919dc26ff6
AP_Camera: use location methods to convert altitudes
2021-10-05 13:54:19 +11:00
Michel Pastor
c590e1f1c5
OP_OSD_Screen: make the rangefinder distance element fixed length
2021-10-05 12:15:08 +11:00
Iampete1
5848510876
AP_HAL_ChibiOS: set flow control disabled if no RTS line
2021-10-05 12:11:47 +11:00
Iampete1
2d39836b42
AP_SerialManager: always set options
2021-10-05 12:11:47 +11:00
Michel Pastor
a9fed2f9bc
RCOutput: fix full throttle bug
2021-10-05 11:47:04 +11:00
Hwurzburg
3b543a8ceb
AP_Compass: Change orientation labels to match order of rotation
2021-10-05 11:22:32 +11:00
Hwurzburg
873097c030
AP_AHRS: Change orientation labels to march order of rotation
2021-10-05 11:21:48 +11:00
Peter Barker
e4ebea9e26
GCS_MAVLink: use AHRS position for location
...
This is our canonical source of position.
2021-10-05 10:20:44 +11:00
Peter Barker
07aa00f2b4
GCS_MAVLink: tidy sending of high-latency message
2021-10-05 10:20:44 +11:00
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
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
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
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