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
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
Peter Barker
d86e2792fd
AP_Vehicle: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
43469955a9
AP_HAL_ChibiOS: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
5433cbe9a5
AP_Generator: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
f71b4ec568
AP_BattMonitor: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
Peter Barker
d9844cc75a
AP_Arming: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
2021-09-26 19:24:09 +10:00
TunaLobster
dd379af7cc
AP_Scripting: Add Z logger format to example
2021-09-25 14:00:00 +01:00
Peter Barker
0d03cef48b
AP_ADSB: tidy sending of SageTech RF mode
...
Saves 64 bytes on CubeBlack
2021-09-25 15:55:53 +10:00
Tom Pittenger
de753f386c
AP_Vehicle: fix periph-heavy compile errors when INS is disabled
2021-09-24 10:47:13 -05:00
Tom Pittenger
fcfaab4beb
AP_Frsky_Telem: fix periph-heavy compile errors with different things enabled
2021-09-24 10:47:13 -05:00
Tom Pittenger
d45526ff42
AP_Compass: fix periph-heavy compile errors with different things enabled
2021-09-24 10:47:13 -05:00
Tom Pittenger
6ac1b7daf2
GCS_MAVLink: fix periph-heavy compile errors with different things enabled
2021-09-24 10:47:13 -05:00
Josh Henderson
27fa2e776d
AP_HAL_ChibiOS: Hitec-Airspeed move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-24 21:05:05 +10:00
Andrew Tridgell
6d093e56fb
HAL_ChibiOS: added Nucleo-L496 AP_Periph target
2021-09-24 18:08:00 +10:00
Andrew Tridgell
ca45fcbc70
AP_FlashStorage: support L496 MCUs
2021-09-24 18:08:00 +10:00
Andrew Tridgell
0212e23cd3
HAL_ChibiOS: added support for STM32L496 MCUs
...
good MCU for AP_Periph
2021-09-24 18:08:00 +10:00
lthall
31e7d672c9
AC_AttitudeControl: AC_PosControl: Update PSC logging to include desired
2021-09-23 20:07:52 +09:00
Leonard Hall
087a2b92c3
AP_Logger: Update PSC logging to include desired
2021-09-23 20:07:52 +09:00
Leonard Hall
77fbcf1741
AP_Math: Control: add expo calculation.
2021-09-23 20:03:53 +09:00
Paul Riseborough
c828bdfbc9
AP_NavEKF3: Reduce output observer vertical velocity error when bad IMU
2021-09-23 18:55:28 +10:00
Paul Riseborough
8429c66860
AP_NavEKF3: Make subsequent bad IMU event detections faster
2021-09-23 18:55:28 +10:00
Paul Riseborough
458c67639d
AP_NavEKF3: Force velocity state to follow GPS when IMU data is bad
2021-09-23 18:55:28 +10:00
Paul Riseborough
c0d88e2673
AP_NavEKF3: Fix vertical velocity reset
...
Fixes bug that prevents the vertical velocity being reset to the GPS if the position aiding has already timed out and improves sensitivity of the bad IMU data check.
2021-09-23 18:55:28 +10:00
Paul Riseborough
17c2ba5ac1
AP_NavEKF3: Fix bug causing too frequent resets if bad IMU data detected
2021-09-23 18:55:28 +10:00
Peter Barker
f0efc1300e
AP_HAL_Linux: move defines of GPIO LOW/HIGH into cpp file
...
Insane having these generic defines happening if you include GPIO_BBB.h
2021-09-22 21:37:00 +10:00
Peter Barker
9c24916115
AP_HAL_SITL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
275457fd2c
AP_HAL_Linux: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
6ce79785b5
AP_OSD: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
dac4134533
AP_InertialSensor: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
df3cfe12a9
AP_VisualOdom: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
4b5525f53e
SITL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
224ff97f5c
AP_Compass: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
9f6b9c7519
GCS_MAVLink: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
d6e5f8398d
AP_RTC: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
0305a79b7b
AP_Param: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
b66fd214f0
AP_NavEKF3: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
4aa6c212d2
AP_MSP: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
fec9d4850d
AP_Logger: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
1976b2b859
AP_HAL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
1bd62362a4
AP_HAL_ChibiOS: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
6d615a3e16
AP_GPS: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
df9de582e4
AP_DAL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
b18bdb80d6
AP_BattMonitor: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
cf9a774bc2
AP_Baro: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
22e9ad4818
AP_Airspeed: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Peter Barker
8f6bed23cf
AP_AccelCal: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
bugobliterator
b43c9961a3
AP_Param: disable format security
2021-09-22 21:36:34 +10:00
bugobliterator
f3fef657f9
AP_GPS: handle failure to allocation of GPS CAN message subscribers
2021-09-22 21:36:34 +10:00
bugobliterator
0de393bf7f
AP_BoardConfig: add allocation failure handling loop
2021-09-22 21:36:34 +10:00
Tatsuya Yamaguchi
1dcc5c3030
AP_BattMonitor: cope with AP_BATT_MONITOR_MAX_INSTANCES < 9
2021-09-22 18:58:12 +10:00
Iampete1
955be569a3
AP_Scripting: add forward flight motor shutdown applet
2021-09-22 18:16:32 +10:00
yaapu
6a459af624
AP_OSD: decrease blink frequency from 2Hz to 1Hz on MSP DisplayPort
...
Allows to actually see the blinking on hardware with a slow screen refresh rate
2021-09-22 18:06:12 +10:00
yaapu
9acfdaaa19
AP_OSD: added packed decimal support to MSP DisplayPort
...
This allows to take advantage of ArduPilot's compact decimal fonts
2021-09-22 18:06:12 +10:00
yaapu
f33d6c4ec1
AP_MSP: fix rssi rounding issue
2021-09-22 17:09:50 +10:00
Pierre Kancir
d853d16c42
AP_Math: fix vectorN ctor warning by using C++11 brace initilization in all cases
2021-09-21 20:51:37 +10:00
Paul Riseborough
e9c339a0a0
AP_NavEKF3: fix wind speed covariance initialisation bug
2021-09-21 17:16:36 +10:00
Andrew Tridgell
758ce2699e
HAL_ChibiOS: added Hitec-Airspeed hwdef
2021-09-21 13:51:40 +10:00
Andrew Tridgell
7f59366cc0
HAL_ChibiOS: process AIRSPEED lines in hwdef.dat
2021-09-21 13:51:40 +10:00
Andrew Tridgell
f65620f4f3
AP_Airspeed: allow for an AIRSPEED list in hwdef.dat
...
this saves a lot of flash by only including specific drivers
2021-09-21 13:51:40 +10:00
Peter Barker
f07d40a570
AP_Mission: fix infinite loop with nav commands that won't start
...
Discovered this when trying to run the standard CMAC mission on Sub
2021-09-21 13:42:01 +10:00
Shiv Tyagi
a24a8c110b
SRV_Channel : Improved should_e_stop method by using switch
...
This method earlier used >=, <= and == operators which is less maintainable. Hence, I replaced it by switch.
Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-09-21 11:17:09 +10:00
Gone4Dirt
30589f9b29
AP_Generator: Make unhealthy driver message persist
2021-09-21 11:14:03 +10:00
Andy Piper
e1fdab8423
AP_RCTelemetry: don't enter parameter mode while armed.
...
exit parameter mode quickly on ping
construct and respond to ping frames correctly
2021-09-21 10:41:58 +10:00
Iampete1
f541653502
SRV_Channel: fix override timeout without repeated calls
2021-09-21 10:24:04 +10:00
Iampete1
db6490818f
AP_Button: update FUNx values
2021-09-21 09:36:24 +10:00
Iampete1
524ea39dfa
RC_Channel: add convert_options function
2021-09-21 09:36:24 +10:00
Iampete1
c67705b02d
RC_Channel: do_aux_function_armdisarm no longer needs to be virtual
2021-09-21 09:36:24 +10:00
Iampete1
39ca7dae1c
RC_Channel: add two new ARMDISARM options and deprecate old
2021-09-21 09:36:24 +10:00
Josh Henderson
96cabfc423
SITL: add unit tests for SIM_MS5525
2021-09-21 09:30:58 +10:00
Josh Henderson
18a0632276
SITL: MS5XXX drivers use check_conversion_accuracy
2021-09-21 09:30:58 +10:00
Josh Henderson
2a2399c8f1
SITL: airspeed DLVR add atmosphere temperature model
2021-09-21 09:30:58 +10:00
Josh Henderson
c454cea401
AP_Airspeed: fix MS5525 driver to allow copying driver to 64bit SITL
2021-09-21 09:30:58 +10:00
Josh Henderson
5e90649a6e
SITL: fix MS5525 for temp <20C and negative pressures
2021-09-21 09:30:58 +10:00
Hwurzburg
aa402d9a55
AP_Tuning: add options to prevent spamming tuning error messages
2021-09-21 07:56:19 +09:00
Hwurzburg
502aff27da
AC_AttitudeControl: add options to prevent spamming tuning error messages
2021-09-21 07:56:19 +09:00
Iampete1
169375d14f
RC_Channel: arming_check_throttle to virtual
2021-09-18 15:52:38 +01:00
Shiv Tyagi
cdb4ec8ad0
Plane : Improved LAND_THEN_NEUTRL to work on all control surfaces
...
This fixes the issue #18593
Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2021-09-17 22:06:24 -05:00
Michelle Rossouw
c9a3b16aa7
SITL: Blimp SITL add initial dynamics
2021-09-18 08:26:23 +10:00
Andrew Tridgell
f77e64ac83
HAL_SITL: Fixed default PWMs for blimp
2021-09-18 08:26:23 +10:00
Andrew Tridgell
5dcfa95444
GCS_Mavlink: allow setting of AHRS_TRIM_Z
2021-09-17 14:07:14 +10:00
Andrew Tridgell
3715ce6d1a
AP_AHRS: allow setting of AHRS_TRIM_Z
2021-09-17 14:07:14 +10:00
Andrew Tridgell
fd86cb0591
AP_Vehicle: moved accel cal update handling from vehicles
2021-09-17 14:07:14 +10:00
Andrew Tridgell
fefade783b
AP_InertialSensor: allow accelcal with a rotation
2021-09-17 14:07:14 +10:00
Andrew Tridgell
3f043dd933
AP_AHRS: added get_view_rotation()
2021-09-17 14:07:14 +10:00
Andrew Tridgell
63fcb804b3
AP_UAVCAN: added CAN_Dn_UC_OPTION parameter
...
this allows for 2 ways of controlling conflicts in the UAVCAN DNA
database. The first is to set CAN_Dn_UC_OPTION to 1, which resets the
DNA database, thus clearing any node conflicts.
The second is to set CAN_Dn_UC_OPTION to 2, which ignores node
conflicts in the DNA database
These options are useful for vehicles with UAVCAN smart batteries
where the node ID is fixed but the hwid changes and you want to do
battery swapping (possibly without rebooting)
2021-09-17 12:32:59 +10:00
Andrew Tridgell
17f8b0b11a
AP_Param: disable debug code by default
...
found on EU dev call
2021-09-16 21:05:48 +10:00
Andrew Tridgell
119df09c44
SITL: cope with a socket error in FlightAxis
...
this fixes an issue that has arisen with the new threading approach
where RF would occasionally freeze
2021-09-16 14:31:10 +10:00
yaapu
94aba33d10
AP_OSD: added multi screen and stats support to DJI FPV OSD
2021-09-16 09:54:25 +10:00
yaapu
9f0d9a5652
AP_MSP: added multi screen and stats support to DJI FPV OSD
2021-09-16 09:54:25 +10:00
Iampete1
934a4e26c9
AR_Motors: re-work omni output to scale evenly at saturation
2021-09-16 08:48:47 +09:00
Iampete1
7ec7b478f0
AC_WPNav: add getter for wp_radius_cm
2021-09-15 20:36:56 +10:00
Iampete1
0a41cdaa24
SRV_Channel: add ignore reversed flag to set_trim_to_min_for
2021-09-15 18:59:07 +09:00
Iampete1
950dcf9242
AP_MotorsUGV: ignore servo reverse when setting trim for brushed with relay
2021-09-15 18:59:07 +09:00
Iampete1
85e57a3bd8
AP_Avoidance: correct ADSB vertical velocity conversion
2021-09-15 17:55:50 +10:00
Peter Barker
16c11fc4fa
AP_Airspeed: allow zero offset if we are skipping calibration
2021-09-15 17:52:34 +10:00
Iampete1
bf695e4eeb
AP_HAL_ChibiOS: atof to strtof
2021-09-15 17:36:12 +10:00
Iampete1
34f5b800b6
AP_Generator: atof to strtof
2021-09-15 17:36:12 +10:00
Iampete1
17e8ea0136
AP_RangeFinder_Params: update PIN discription
2021-09-15 17:31:54 +10:00
yaapu
53ea385291
AP_MSP: removed unnecessary pure virtual methods
2021-09-15 17:28:56 +10:00
yaapu
e1b12fbee3
AP_MSP: use const structures and brace initialization where possible
...
saves ane extra 130bytes
2021-09-15 17:28:56 +10:00
yaapu
3bbf2c1f70
AP_MSP: removed unstructured writes to msp dst buffer
2021-09-15 17:28:56 +10:00
yaapu
a2b83d675f
AP_Scripting: added a frsky battery example
2021-09-15 17:21:41 +10:00
Peter Barker
305a8ad48a
AP_Scripting: add and use HAL_QUADPLANE_ENABLED
2021-09-14 11:23:18 +10:00
Josh Henderson
7a3425faca
AP_ADSB: sagetech use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
f534a315ea
AP_Proximity: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
51023fc846
AP_NMEA_Output: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
3006d50f97
AP_NavEKF3: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
d5f5a3024a
AP_NavEKF2: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
f76f86c207
AP_InertialNav: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
06251335da
AP_GPS: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
38ead58df2
AP_AHRS: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
996b3b8b1e
AC_Sprayer: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
c0b18e4d52
AC_Avoid: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Josh Henderson
a3e475822b
AC_AttitudeControl: use vector.xy().length() instead of norm(x,y)
2021-09-14 10:43:46 +10:00
Hwurzburg
6dfbd9ce31
AP_HAL_ChibiOS: add batt mon defaults to Kakutef4 Mini
2021-09-14 10:14:20 +10:00
Willian Galvani
68cbb47d68
HAL_Linux: RCOutput_PCA9685: implement force_safety_on/off
2021-09-14 10:11:17 +10:00
Willian Galvani
38e8020e4b
HAL_Linux: try to stop PWMs before shutting down due to SIGTERM
2021-09-14 10:11:17 +10:00
Rhys Mainwaring
6cb4e6b31d
SITL: update simpleRover C++ JSON interface example
...
- Provide a cmake file for cross platform builds
- Modify the example to respond to throttle commands on RC channel 3 (default for Rover)
- Add more detail to readme
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2021-09-14 09:54:39 +10:00
Iampete1
d9e30452ed
AP_Mission: only continue after land if next waypoint is a takeoff
2021-09-14 08:24:02 +09:00
Iampete1
3dca9b4534
AR_Motors: stop setting safety limit
2021-09-14 09:23:02 +10:00
Iampete1
2abe120969
SRV_Channel: remove set_safety_limit
2021-09-14 09:23:02 +10:00
Iampete1
cc03b2975c
AP_IOMCU: iofirmware: remove saftey PWM
2021-09-14 09:23:02 +10:00
Iampete1
c1a2379504
AP_IOMCU: remove safe PWM
2021-09-14 09:23:02 +10:00
Iampete1
53ee7d861d
AP_HAL_ChibiOS: remove safe PWM
2021-09-14 09:23:02 +10:00
Iampete1
ed80d91d55
AP_HAL: remove set_safety_pwm
2021-09-14 09:23:02 +10:00
Willian Galvani
fe72640955
AP_HAL: remove BATT_ settings, they belong in AP_BattMonitor_Analog.h
2021-09-14 09:21:42 +10:00
Willian Galvani
08b33954db
AP_BattMonitor_Analog: add default PM definitions for the Navigator Board
2021-09-14 09:21:42 +10:00
Willian Galvani
2e5b689196
AP_BattMonitor_Analog: allow per-board setting of CURR_AMP_OFFSET
2021-09-14 09:21:42 +10:00
Andrew Tridgell
88d77d0acd
HAL_ChibiOS: change f303-PWM timers
...
fixes PWM on channels 3 and 4
2021-09-13 21:29:13 +10:00
Andrew Tridgell
adbaccaa08
HAL_ChibiOS: fixed RTSCTS flow control issue
...
this fixes an issue reported on MatekH743, but also applies to other
boards. When not using DMA if there have been bytes written before the
auto flow control detection was enabled then these must be cleared
from _total_written so the flow control detection can work correctly
2021-09-13 21:28:08 +10:00
Iampete1
bc216b103c
AP_Mission: remove support for MAV_CMD_DO_SET_MODE
2021-09-13 16:18:24 +10:00
Iampete1
01cbb897e3
AP_Mission: add missing strings
2021-09-13 16:18:24 +10:00
Iampete1
1a2ea893b6
AP_MotorsMatrix: correct octo I testing order
2021-09-13 13:39:03 +09:00
Iampete1
8c37d08379
SITL: Examples: SilentWings: remove AUTO_FBW_STEER
2021-09-12 22:12:32 -05:00
Iampete1
66e1baa94c
AP_IRLock_I2C: add comment on calibration equation
2021-09-13 10:56:00 +09:00
Andrew Tridgell
d62346f8d0
SITL: use a thread to create sockets for RealFlight
...
this reduces the cost of the socket creation on each frame, resulting
in higher frame rates. Typical improvement is around 30%
2021-09-13 10:38:48 +10:00
Iampete1
febf843e6d
AC_Loiter: protect against negative angle max
2021-09-13 07:55:34 +09:00
Iampete1
ffac134014
AC_PosControl: protect against negative angle max
2021-09-13 07:55:34 +09:00
mateksys
659286ee4f
ChibiOS: add icm42605 as substitution for icm20602
2021-09-11 17:37:12 +10:00
murata
731fd7221f
AP_Scripting: Only use messages that are useful for debugging
2021-09-10 20:46:33 +10:00
Randy Mackay
570c12215d
AR_AttitudeControl: fix get_throttle_out_speed use of passed in limits
2021-09-10 07:50:00 +09:00
Mohammad Hefny
61a7387dd9
AP_Notify: link to notify module
2021-09-10 08:17:37 +10:00
Mohammad Hefny
bd099b3910
AP_Batt: link to battery monitor
2021-09-10 08:17:37 +10:00
Mohammad Hefny
5eb28be8e6
AP_HAL_Linux: define board features on Linux module
2021-09-10 08:17:37 +10:00
Mohammad Hefny
2cb13dcc7d
AP_HAL: define board features
2021-09-10 08:17:37 +10:00
Iampete1
999c26926a
SITL: examples: SilentWings: remove ALT_CTRL_ALG
2021-09-09 11:07:07 +01:00
Leonard Hall
8c51271b45
AC_WPNav: Add units to the AC_AttitudeControl Library
2021-09-09 08:01:14 +09:00
Leonard Hall
90b5bc6a2d
AC_AutoTune: Add units to the AC_AttitudeControl Library
2021-09-09 08:01:14 +09:00
Leonard Hall
ad278779e3
AC_AttitudeControl: : Add units to the accessors.
2021-09-09 08:01:14 +09:00
Leonard Hall
7852e9d1b0
AC_WPNav: Fix calculation of _scurve_jerk_time using radians.
2021-09-09 08:01:14 +09:00
Peter Barker
8a3a787b76
AC_WPNav: honour changes to wp-speed-up and wp-speed-down in-flight
2021-09-08 21:29:38 +10:00
Iampete1
f80fedff9c
AP_Logger: add function to set longer log persist
2021-09-08 18:26:40 +10:00
Iampete1
1e5b9e487b
AP_Arming: set force disarmed logging for all the nasty disarm reasons
2021-09-08 18:26:40 +10:00
Peter Barker
380d962648
AP_Motors: do not use int version to define motors
2021-09-08 18:20:44 +10:00
Peter Barker
dbb43a5746
AP_Motors: remove motor_num from motor definition structures
...
Every structure simply used the defines in sequence, meaning 0, 1, 2, 3
etc. Handily we have a loop counter where we use these structures...
2021-09-08 18:20:44 +10:00
Peter Barker
a152ad70a9
AP_Motors: use structures to save flash when initialising motors (raw motors)
2021-09-08 18:20:44 +10:00
Peter Barker
26385009ca
AP_Motors: use structures to save flash when initialising motors
2021-09-08 18:20:44 +10:00
Iampete1
529a3a9122
AP_HAL_ChibiOS: convert back to full range on IOMCU ONESHOT125 read
2021-09-08 18:01:50 +10:00
Iampete1
1f7023b580
RC_Channel: add SIMPLE_HEADING_RESET option
2021-09-08 16:49:33 +09:00
Iampete1
7ada4a0d5a
AP_Arming: logger: fail check if downloading logs
2021-09-08 17:38:48 +10:00
Iampete1
a47eeb3fed
AP_Logger: log transfer: add error message if armed
2021-09-08 17:38:48 +10:00
Willian Galvani
1057161f88
AP_BattMonitor_logging: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
467554ee0e
AP_Frsky_Telem: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
9206599e6c
AP_BattMonitor_UAVCAN: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
e563919dd2
AP_Scripting: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
c08e04a16a
AP_RCTelemetry: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
018ff3d11c
GCS_MAVLink: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
f7fa4b7c19
AP_OSD: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
b9452c83be
AP_Notify: update to use capacity_remaining_pct() as a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
207723319b
AP_BattMonitor_Backend: change capacity_remaining_pct() to a bool
2021-09-08 17:17:41 +10:00
Willian Galvani
735e2ab651
AP_BattMonitor: change capacity_remaining_pct() to a bool
2021-09-08 17:17:41 +10:00
Andy Piper
e705f78b5e
AP_HAL_ChibiOS: correct and compact Pixhawk4-bdshot build
2021-09-08 17:09:49 +10:00
Andy Piper
c92c75c9a6
AP_HAL_ChibiOS: bdshot version of CUAVv5
2021-09-08 17:09:49 +10:00
Andy Piper
bb41db8478
AP_HAL_ChibiOS: bdshot version of CUAVv5Nano
2021-09-08 17:09:49 +10:00
Andrew Tridgell
d29057a158
HAL_ChibiOS: added f303-PWM
...
for a PWM output node based on mRo f303 CAN node
2021-09-08 17:06:44 +10:00
Peter Barker
dabba69b5e
AP_NavEKF3: improve description of XKF4/NKF4 fields
...
Courtesy Paul Riseborough here: https://github.com/ArduPilot/ardupilot_wiki/issues/3641#issuecomment-913577132
2021-09-08 17:06:12 +10:00
Peter Barker
a62cb64867
AP_NavEKF2: improve description of XKF4/NKF4 fields
...
Courtesy Paul Riseborough here: https://github.com/ArduPilot/ardupilot_wiki/issues/3641#issuecomment-913577132
2021-09-08 17:06:12 +10:00
Peter Barker
abe78e168d
SITL: make heli-blade simulation work
2021-09-08 14:33:19 +10:00
Peter Barker
ae40531cd7
AP_HAL_SITL: make heli-blade simulation work
2021-09-08 14:33:19 +10:00
Bill Geyer
9a917abf76
SITL: update conventional heli dynamics and add blade 360 heli dynamics
2021-09-08 14:33:19 +10:00
Leonard Hall
35a93c5988
AC_AttitudeControl: AC_PosControl: Change set_correction_speed_accel_z to use input arguments
2021-09-07 19:04:14 +09:00
Andrew Tridgell
9342ded2bb
AC_WPNav: cope with negative WPNAV_SPEED_DN
...
a user set WPNAV_SPEED_DN to a negative value, with odd results. Take
absolute value to cope. Even though the param docs clearly say range
should be positive, it is one where it is easy to think it should be
negative
2021-09-07 18:55:00 +09:00
Peter Barker
fd144ccc59
GCS_MAVLink: log source sysid/compid in MAVC
...
For field length purposed had tor remove Current and autocontinue which we don't care about
anyway.
2021-09-07 11:06:08 +10:00