Commit Graph

28084 Commits

Author SHA1 Message Date
bugobliterator
2af001541e AP_FileSystem: add crash_dump.bin 2021-10-30 19:24:57 +11:00
bugobliterator
bd08d2d257 HAL_ChibiOS: move crashcatcher methods out from system.cpp into hwdef common 2021-10-30 19:24:57 +11:00
bugobliterator
7c96f295b3 HAL_ChibiOS: use CrashCatcher's hardfault method to log and dump crashes 2021-10-30 19:24:57 +11:00
bugobliterator
69f53a6188 HAL_ChibiOS: add defines for CrashCatcher methods to use 2021-10-30 19:24:57 +11:00
bugobliterator
c32bd845f2 HAL_ChibiOS: build crashcatcher lib alongside chibios 2021-10-30 19:24:57 +11:00
Andrew Tridgell
8a73bdcbe6 APM_Control: suppress roll/pitch D term in ground_mode
prevent oscillations which are quite common
2021-10-30 18:45:53 +11:00
Andrew Tridgell
50f9d2601f AP_Arming: log key @SYS files on arming 2021-10-30 16:44:00 +11:00
Andrew Tridgell
0be1017843 AP_Logger: support logging of files contents
this allows us to see key internal data in log files
2021-10-30 16:44:00 +11:00
Andrew Tridgell
a0b662f161 hwdef: fixed reported flash on boards with storage at end of flash
this was in hwdef-bl.dat but had been left out of hwdef.dat which led
to flash_free being wrong in apj file
2021-10-29 18:28:36 +11:00
Shiv Tyagi
1c33cfca5d AP_MSP: factor code in init method
This factors code in AP_MSP:init() and removes two of the three identical implementations for initialising backends
2021-10-28 20:37:24 +11:00
Tom Pittenger
6107dcc8e7 AP_ADSB: bugfix vertical velocity sign was backwards 2021-10-28 09:51:33 +11:00
Peter Barker
02dc42275c AP_HAL_SITL: remove unused/unimplemented methods/vars, tidy namespacing 2021-10-28 09:09:44 +11:00
divyateja04
7f0bf89003 AC_AttitudeControl: removed empty constructors 2021-10-28 09:07:56 +11:00
drtrigon
3a0ed5446a AP_Scripting: select auto or manual gimbal/camera control mode
I have a camera that has picture and video trigger on the same channel. As ArduPilot is not able to handle that currently I wrote a script that allows to switch between auto and manual gimbal and camera control modes. Switching to manual camera control allows to enable picture as well as video trigger.
2021-10-27 18:40:42 +11:00
divyateja04
24eb35f0f6 AP_WheelEncoder: quadrature spelling changed 2021-10-27 16:03:06 +11:00
Tom Pittenger
99912e9e0f AP_ADSB: UCP cleanup 2021-10-26 16:53:00 -07:00
nicholas-inocencio
f4ff8859e4 AP_ADSB: I implement new mavlink packets ADSB_OUT_STATUS and ADSB_OUT_CONTROL 2021-10-26 16:53:00 -07:00
nicholas-inocencio
9ca681c76d GCS_MAVLink: integrate new ADSB Ping200X/MissionPlanner new mavlink config and status commands 2021-10-26 16:53:00 -07:00
Hwurzburg
9349abfe48 AP_Motors: add build options for each frame class 2021-10-27 07:59:52 +09:00
divyateja04
d82ad94b7e AP_WheelEncoder: remove empty constructors 2021-10-26 22:10:21 +11:00
Randy Mackay
58b2154e77 AP_Torqeedo: handle outgoing esc characters 2021-10-26 19:40:52 +09:00
Randy Mackay
096f459148 AP_Torqeedo: handle incoming escape characters 2021-10-26 19:40:52 +09:00
Andrew Tridgell
b94d6b064f HAL_ChibiOS: convert some hwdef.dat to unix line endings 2021-10-26 15:56:53 +11:00
Andrew Tridgell
80836ca1d9 HAL_ChibiOS: simplify AP_Periph hwdef.dat 2021-10-26 15:56:53 +11:00
Andrew Tridgell
68146d541c HAL_ChibiOS: removed boilerplate lines from bootloaders 2021-10-26 15:56:53 +11:00
Andrew Tridgell
0378e1a879 HAL_ChibiOS: removed need for a lot of boilerplate hwdef lines
bootloader and AP_Periph lines can default to right values
2021-10-26 15:56:53 +11:00
Andrew Tridgell
7056a09ef4 SITL: rename uLanding files to USD1 2021-10-26 15:31:12 +11:00
Andrew Tridgell
55e8725231 SITL: rename uLanding simulation to USD1 2021-10-26 15:31:12 +11:00
Andrew Tridgell
8e689f2e66 AP_SerialManager: rename uLanding simulation to USD1 2021-10-26 15:31:12 +11:00
Andrew Tridgell
8192661042 AP_HAL_SITL: rename uLanding simulation to USD1 2021-10-26 15:31:12 +11:00
Andrew Tridgell
4f2bec72b6 AP_RangeFinder: rename uLanding to USD1_Serial
this was rebranded by the vendor Ainstein a long time ago
2021-10-26 15:31:12 +11:00
Andrew Tridgell
c1b9585926 AP_RangeFinder: average over 100Hz frames in USD1 CAN driver
this reduces noise
2021-10-26 15:31:12 +11:00
Andrew Tridgell
c56bd323ee AP_CANManager: fixed CAN protocol docs to include USD1 2021-10-26 15:31:12 +11:00
Andy Piper
32482a29db AP_Common: define build directory for tests 2021-10-26 11:42:12 +11:00
Andy Piper
ad55a570ee AP_Common: define build directory for tests 2021-10-26 11:42:12 +11:00
Andy Piper
97b57519bf AP_OSD: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
6a00819b2d AP_InertialSensor: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
31c74f9793 AP_Scripting: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
9408c5711d AP_Camera: remove build dependant compile 2021-10-26 11:42:12 +11:00
Andy Piper
70b02aeadf AP_BattMonitor: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
0d9b677586 AP_Rally: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
63cea29af3 AP_BLHeli: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
62825ee44f AP_Arming: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
f9c74f207b AP_CANManager: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
e1dd0fd70d AP_AHRS: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
592241f029 AP_Scheduler: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
a2bb0b01e8 AP_RangeFinder: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
71c0d9479a AP_GyroFFT: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
9bea417d5c SRV_Channel: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
50b90c2d2a StorageManager: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
7010a6bf7e AP_Vehicle: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
force compilation failure if build type is unknown
2021-10-26 11:42:12 +11:00
Andy Piper
78621668f8 AP_NavEKF2: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
bc0101e446 AP_NavEKF3: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
008c61215c GCS_MAVLINK: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Andy Piper
f9b6934d7d AC_Avoidance: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Iampete1
f5805058c2 AP_Scripting: docs ignore duplicate-set-field warning 2021-10-26 11:05:22 +11:00
Iampete1
648a2b7140 AP_Scripting: docs: add manual bindings 2021-10-26 11:05:22 +11:00
Iampete1
da1fde06ad AP_Scripting: fix skip check userdata feild write 2021-10-26 11:05:22 +11:00
Iampete1
003561ab75 AP_Scripting: Docs: append _ud to userdata types to avoild name clash with new functions and declare local 2021-10-26 11:05:22 +11:00
Michel Pastor
876f478ae1 RCOutput: fix motor stopping with rev thrust and full throttle 2021-10-26 10:53:34 +11:00
Hwurzburg
e7a157283f AP_HAL_ChibiOS: add param for second IMU primary in Swan-K1 hwdef 2021-10-26 10:38:28 +11:00
Hwurzburg
9c529c8950 RC_Channel: add RC option to plane for emergency remote landing that forces FS actions to FBWA 2021-10-26 10:34:28 +11:00
Iampete1
d7cc2cb296 AP_HAL_ChibiOS: hwdef.py: allow same GPIO pin in multiple alt configs 2021-10-26 10:05:20 +11:00
kniuk
aabb6f7c59 AP_HAL_ChibiOS: add alt config GPIO to Matek F765-Wing
Based on new functionality introduced in #18753
2021-10-26 10:05:20 +11:00
Iampete1
ef9580fcf2 SITL: update tailsitter ground behavoir 2021-10-26 10:03:00 +11:00
IamPete1
950391df12 SITL: add copter tailsitter 2021-10-26 10:03:00 +11:00
Peter Barker
2dbe15911f AP_GPS: change empty constructors out for 'use AP_GPS_Backend::AP_GPS_Backend' 2021-10-23 15:05:28 +11:00
Peter Barker
e158bab893 AP_Beacon: tidy constructors 2021-10-23 10:10:28 +11:00
Peter Barker
cf9bbb570c AP_HAL_SITL: correct nullptr check on simulated mavlink rangefinder
Obvious copy/paste error
2021-10-22 21:46:01 +11:00
Sebastian Quilter
0276c165ed GCS_MAVLink: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
0f7c3e3964 AP_RangeFinder: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
1fb1eb793f AP_Proximity: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Sebastian Quilter
c8434fe1ed AP_OSD: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Peter Barker
7da5d9861a SITL: remove use of fprintf in SIM_SPI 2021-10-21 13:04:33 +11:00
Peter Barker
8c60bfc1c3 SITL: correct format string in SIM_IntelligentEnergy24 2021-10-21 13:01:49 +11:00
Peter Barker
06c3290e15 SITL: correct buffer over-read in GPS lag simulation 2021-10-21 12:09:21 +11:00
Peter Barker
6c16da21c5 SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker
1ab8a3e3aa AP_HAL_SITL: make simulated GPS work as a SerialDevice 2021-10-21 12:09:21 +11:00
Peter Barker
99e80549b1 SITL: move sitl_gps.cpp to SIM_GPS.cpp 2021-10-21 12:09:21 +11:00
Peter Barker
e88cd8498b AP_GPS: add note about GPS_LEAPSECONDS_MILLIS being copied 2021-10-21 12:09:21 +11:00
Peter Barker
d7ef63deaf GCS_MAVLink: use USB VID and PID in AUTOPILOT_VERSION mavlink msg 2021-10-20 22:47:03 +11:00
Stephen Dade
1356beb14d AP_HAL_SITL: Add instance to ADSB simulation 2021-10-20 20:21:33 +11:00
Stephen Dade
016edd28fc SITL: Add instance to ADSB simulation 2021-10-20 20:21:33 +11:00
Randy Mackay
85dbb70df5 AP_RangeFinder_NMEA: add hondex custom message support 2021-10-20 19:46:21 +11:00
Peter Barker
2bffaef9ca AP_Arming: log whether disarm was forced 2021-10-20 19:45:58 +11:00
Peter Barker
8ffbddd6ec SITL: correct compilation when MAX_CONNECTED_MAGS is reduced
For example, when building AP_Periph with reduced mag count
2021-10-20 19:43:47 +11:00
Peter Barker
2d192e1fd3 SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Peter Barker
21030c4e83 AP_HAL_SITL: remove written-only AP::sitl().update_rate_hz 2021-10-20 19:07:17 +11:00
Andrew Tridgell
822e657a70 HAL_ChibiOS: increase PROCESS_STACK on several boards
use min of 0xA00 for AP_Periph. A larger stack is needed for parameter
fetching
2021-10-20 19:06:35 +11:00
Iampete1
84db897b7f AC_Avoidance: Dijkstra: convert Vector3f to curly brace init 2021-10-20 03:45:40 -04:00
Iampete1
8937802f77 AC_Avoidance: Dijkstra: don't consider points in corners 2021-10-20 03:45:40 -04:00
Iampete1
ae9300134a AC_Avoidance: add option to log vis graph 2021-10-20 03:45:40 -04:00
Iampete1
05e01fb603 AP_Scripting: docs: update GCS 2021-10-20 18:35:09 +11:00
Iampete1
05219ca5c4 GCS_Common: return true result for scripting set_message_interval 2021-10-20 18:35:09 +11:00
Iampete1
1af244e5bc AP_Scripting: maunaly update GPIO docs as example 2021-10-20 18:35:09 +11:00
Iampete1
6dd9ffc334 AP_Scripting: auto generate docs 2021-10-20 18:35:09 +11:00
Iampete1
a70134ba38 AP_Scripting: generator: ouput Emmylua docs 2021-10-20 18:35:09 +11:00
Iampete1
a5a3b413df AP_Scripting: wscript: support docs option 2021-10-20 18:35:09 +11:00
Iampete1
b595beab10 AP_Motors: set ouput scaled with float 2021-10-20 18:29:58 +11:00
Iampete1
a590a675d6 AP_RollController: return floats 2021-10-20 18:29:58 +11:00
Iampete1
da4fd7a914 AP_PitchController: return floats 2021-10-20 18:29:58 +11:00
Iampete1
6e4ae3898d AP_Winch: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Iampete1
76ccbeb0fa AP_SpdHgtControl: use float for get_throttle_demand 2021-10-20 18:29:58 +11:00
Iampete1
d69d493ea6 AP_TECS: use float for get_throttle_demand 2021-10-20 18:29:58 +11:00
Iampete1
fbb9ef422c AP_Scripting: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Iampete1
89c0a8ea04 AP_Airspeed: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Iampete1
14b9e99020 RC_Channel: use float for stick mixing 2021-10-20 18:29:58 +11:00
Iampete1
b84633630a SRV_Channel: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Andy Piper
73b0a212f7 AP_Arming: FFT prearm should not be dependent on INS prearm 2021-10-20 18:16:05 +11:00
Peter Barker
cf9f060db8 AP_InertialNav: handle renaming of AP_InertialNav_NavEKF to AP_InertialNav 2021-10-20 18:09:36 +11:00
Peter Barker
300628a570 AP_InertialNav: rename files for delayering 2021-10-20 18:09:36 +11:00
Peter Barker
b8d9f79969 AP_InertialNav: remove old AP_InertialNav.h for delayering 2021-10-20 18:09:36 +11:00
Shiv Tyagi
229e2757d4 RC_Channel : Formatting fix for blimp parameter documentation 2021-10-20 14:22:48 +11:00
Randy Mackay
a09013c656 AP_Torqeedo: correct display system state motor power field type
No need to store as float
2021-10-19 01:30:51 -04:00
Randy Mackay
90f7e15bcb AP_Torqeedo: fixups from peer review 2021-10-19 01:30:51 -04:00
Randy Mackay
1bdfe8ad55 AP_BattMonitor: fixups from peer review 2021-10-19 01:30:51 -04:00
Randy Mackay
47dd2d7aea RC_Channel: torqeedo clear error aux function 2021-10-19 01:30:51 -04:00
Randy Mackay
d3c8a5e85f AP_BattMonitor: add torqeedo battery monitor 2021-10-19 01:30:51 -04:00
Randy Mackay
866ea184c8 AP_Torqeedo: major refactor and enhancement
SLEW_TIME specifies the rate of change in output to the motor
DIR_DELAY specifies the length of the pause at zero during forward-reverse transitions
POWER param allows configurable power output
Consume Display system state and setup messages
Consume Motor messages to retrieve volt and current
TRQD logs on each motor speed update
AP_Torqeedo: request and consume motor status messages
ESC_Telemetry support
Battery info accessor
Add real-time error reporting of failures to user
Support user manually clearing motor errors via RC
Improve message reply handling
Tiller message consumption improved
Messages with unexpected lengths increment error count
Enums added
Comments improved
Remove unused include
Disable for AP_Periph and minimise features
2021-10-19 01:30:51 -04:00
Randy Mackay
e61624d43b AP_Torqeedo: motor connector method output slowed to 10hz 2021-10-19 01:30:51 -04:00
Peter Barker
29088e25f9 AP_Vehicle: move SITL object up to AP_Vehicle 2021-10-19 11:34:43 +11:00
Iampete1
8459439798 AP_HAL_ChibiOS: CubeYellow: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1
8e381b6017 AP_HAL_ChibiOS: CubeSolo: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1
a004de65b3 AP_HAL_ChibiOS: CubePurple: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1
e3289d2aec AP_HAL_ChibiOS: CubeBlack: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1
5d5a21a4ec AP_Hal_ChibiOS: CubeOrange: set default min IMU temp margin 2021-10-19 11:16:45 +11:00
Iampete1
3f98927885 AP_BoardConfig: add min arming temp margin param and getter 2021-10-19 11:16:45 +11:00
Iampete1
55a6b731a8 AP_Arming: add min heater temp check 2021-10-19 11:16:45 +11:00
QioTek
fd2195d6fe HAL_ChibiOS: added QioTekZealotH743 support 2021-10-19 08:17:43 +11:00
Peter Barker
a39fe77681 SITL: add simulated MCP9600 2021-10-19 08:15:00 +11:00
Peter Barker
0acccaf4b7 AP_ExternalAHRS: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
Peter Barker
d6ebc5578b AP_DAL: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
Peter Barker
60759f9a83 AP_CANManager: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
Peter Barker
5b2eced5a2 AP_BoardConfig: factor substring from allocation_error parameter 2021-10-18 12:49:44 +11:00
Andrew Tridgell
b0674a2b35 AP_Compass: support 2nd address for ICM20948 compass 2021-10-18 08:29:29 +11:00
Andrew Tridgell
7aa968329c HAL_ChibiOS: added Nucleo-L476 target 2021-10-17 20:30:20 +11:00
Andrew Tridgell
c8664e0b98 HAL_ChibiOS: added STM32L476 support 2021-10-17 20:30:20 +11:00
Andrew Tridgell
655c757c22 HAL_ChibiOS: added Sierra-L431 peripheral 2021-10-17 20:30:20 +11:00
Andrew Tridgell
5a68e21435 HAL_ChibiOS: support STM32L431 2021-10-17 20:30:20 +11:00
Andrew Tridgell
71e7bb0fe3 HAL_ChibiOS: mark af_parse_cubemx.py as executable, py3 2021-10-17 20:30:20 +11:00
Andrew Tridgell
f1ea4f5d01 HAL_ChibiOS: use a 16 bit sysinterval_t on 16 bit timers
prevent mixed size subtraction errors
2021-10-17 20:29:42 +11:00
Peter Barker
05c6a25e52 SITL: move simulated megasquirt to SerialDevice framework 2021-10-17 10:00:08 +11:00
Peter Barker
8c9ade3f7f AP_HAL_SITL: move simulated megasquirt to SerialDevice framework 2021-10-17 10:00:08 +11:00
Davis Schenkenberger
2026f7efb8 AP_ExternalAHRS: Implement EAHRS Driver for Lord Microstrain AHRS 2021-10-17 08:55:03 +11:00
Davis Schenkenberger
3e748d77c9 Tools: autotest: add test for LORD EAHRS 2021-10-17 08:55:03 +11:00
Asa Davis
85fbbe0704 SITL: add simulator for LORD Microstrain serial EAHRS 2021-10-17 08:55:03 +11:00
Davis Schenkenberger
795e7e53bf AP_HAL: add helpers le64toh_ptr, be64toh_ptr, put_le64_ptr, put_be64_ptr 2021-10-17 08:55:03 +11:00
Sandy Urazayev
644726ff50 AP_Common: Added missing fenv exception functions from FreeBSD fenv tree
Signed-off-by: Sandy Urazayev <ctu@ku.edu>
2021-10-16 20:09:11 +11:00
Andrew Tridgell
67fd862a8c AP_RCProtocol: check for RC protocol switching enable
by default don't allow protocol switching after initial protocol is
found
2021-10-15 19:29:23 -04:00
Andrew Tridgell
6c2689fef2 RC_Channel: added RC_OPTION bit for allowing RC protocol switching
this is meant to prevent accidential switching to a disconnected pin
2021-10-15 19:29:23 -04:00
Peter Barker
670663a741 AP_NavEKF3: allow hwdef to override IMU default 2021-10-16 10:26:29 +11:00
courk
b1bf22b53c GPIO_BBB: fix partially working GPIO init
use cleaner way to enable all GPIO banks, including GPIO1.
2021-10-15 15:16:17 -07:00
bugobliterator
5fa50c419d AP_HAL_ChibiOS: account for TXFIFO when doing flow control detection 2021-10-15 19:57:55 +11:00
Andy Piper
d71fb2cb34 AP_Filesystem: fix ftp burst read with credit to deanharken 2021-10-15 19:02:41 +11:00
Tom Pittenger
12192f60e3 GCS_MAVLink: move ADSB mavlink handling from vehicles to common library 2021-10-14 19:55:27 -07:00
Josh Henderson
2b5e2a00e1 SITL: NMEA Depthfinder add temperature simulation 2021-10-15 13:08:17 +11:00
tajisoft
f076bb3ad1 AP_Scripting: update ahrs-source-gps-optflow.lua 2021-10-14 10:36:29 +11:00
Pierre Kancir
12e1f67326 AP_Compass: only update last_update_ms on raw_field update if on calibration 2021-10-13 19:45:03 +11:00
Peter Barker
893354ccfe RC_Channel: correct spelling error in parameter description 2021-10-13 19:36:20 +11:00
李孟晓
e5efc52324 AP_BattMonitor: Add support for BatteryInfoAux message 2021-10-13 18:44:05 +11:00
李孟晓
36ceb76cae AP_UAVCAN: Add battery ID field 2021-10-13 18:44:05 +11:00
李孟晓
54b68ffae3 GCS_MAVLink: Provide the time remaining 2021-10-13 18:44:05 +11:00
李孟晓
bf1a17825c AP_BattMonitor: Provide the time remaining 2021-10-13 18:44:05 +11:00
Andrew Tridgell
d1c7ed1c82 HAL_ChibiOS: make it clear how to enable parameter backup on CubeBlack
uses 16k more ram, but allows auto-restore of corrupted params
2021-10-12 22:08:13 -04:00
Andrew Tridgell
24f40d9049 AP_Mission: allow for more jump commands on high memory boards
and allow override of maximum in custom hwdef.dat
2021-10-13 12:49:12 +11:00
Tom Pittenger
e9ce1886c8 GCS_MAVLink: unify DO_SET_CAM_TRIG_DIST for missions and cmd_long 2021-10-12 15:04:00 -07:00
Peter Barker
f5d5387358 AP_HAL_SITL: remove unused ext_fifo_fd member variable 2021-10-12 20:07:19 +11:00
Peter Barker
e9165fdeab SITL: add simulated RAMTRON device 2021-10-12 20:01:49 +11:00
Peter Barker
67226433e3 AP_HAL_SITL: add simulated RAMTRON device 2021-10-12 20:01:49 +11:00
Peter Barker
437e0e6459 SITL: add simulated SPI devices 2021-10-12 20:01:49 +11:00
Peter Barker
58a7f022fd AP_HAL_SITL: add simulated SPI devices 2021-10-12 20:01:49 +11:00
Andrew Tridgell
1559f7aa2d AP_Logger: added stack logging 2021-10-12 16:04:06 +11:00
Andrew Tridgell
8157c24977 AP_HAL: added stack logging 2021-10-12 16:04:06 +11:00
Andrew Tridgell
84bbc707fc AP_HAL_ChibiOS: added stack logging 2021-10-12 16:04:06 +11:00
auturgy
7c3c3a0a41 HAL_Chibios: support modalai_fc-v1 flight controller
Based on M0018 version. Thanks to ModalAI for assistance
2021-10-12 15:47:51 +11:00
Andrew Tridgell
d8c0d82857 AP_RCProtocol: allow DSM bind using uart RX pin directly 2021-10-12 15:47:51 +11:00
Andrew Tridgell
6fa9768eab HAL_ChibiOS: support GPIO get_mode and set_mode 2021-10-12 15:47:51 +11:00
Andrew Tridgell
029743e27a AP_HAL: added support for saving and restoring GPIO settings
this allows for using any pin (eg. UART TX, RX, RTS, CTS) as a GPIO,
and restoring the old mode. Initial use is for spektrum bind on RX pin
2021-10-12 15:47:51 +11:00
Andrew Tridgell
25324ae0e2 HAL_ChibiOS: support SDMMC2 for sdcard 2021-10-12 15:47:51 +11:00
Andrew Tridgell
281b8eb234 AP_BattMonitor: support LTC2946 I2C battery monitoring 2021-10-12 15:47:51 +11:00
Andrew Tridgell
2903e10fc0 AP_BattMonitor: added INA231 backend
only enabled via hwdef.dat for now
2021-10-12 15:47:51 +11:00
Andrew Tridgell
8d9c9d9130 AP_BoardConfig: allow override of BRD_SAFETYENABLE default 2021-10-12 15:47:51 +11:00
Peter Barker
5b8a3c3ff9 SITL: use enumeration in place of O_RDWR for I2C register defs 2021-10-12 14:44:31 +11:00
Iampete1
82cd9e24c3 RC_Channel: add configured_in_storage metthod 2021-10-11 22:19:17 -04:00
Iampete1
d16be50e57 AP_Motors: add PWM min and max param conversion function 2021-10-11 22:19:17 -04:00
Iampete1
14dfac42e7 AP_Motors: remove use of external PWM min and max 2021-10-11 22:19:17 -04:00
Andrew Tridgell
d962e094e7 HAL_ChibiOS: change RCIN PULLUP to PULLDOWN
this makes us more consistent between boards
2021-10-12 11:52:36 +11:00
Andrew Tridgell
47da7f5c9b HAL_ChibiOS: change RCIN FLOAT to PULLDOWN
this lowers the chance of noise on a RCIN pin causing incorrect
protocol detection
2021-10-12 11:52:36 +11:00
Nick Exton
ffa2bba35c HAL_ChibiOS: add missing return to Dual CDC get_usb_baud() 2021-10-12 10:54:44 +11:00
Andrew Tridgell
e6aae3caf6 HAL_ChibiOS: fix G4 I2c bus speeds 2021-10-12 10:54:07 +11:00
Iampete1
0f8bcbf4b8 AP_Scripting: optimise genrated bindings for size 2021-10-12 10:08:56 +11:00
Iampete1
c1dbb1c046 AP_Scripting: change all -FLT_MAX FLT_MAX ranges to no check 2021-10-12 10:08:56 +11:00
Iampete1
302e855dab AP_Scripting: add 'skip_check keyword to skip argument range check 2021-10-12 10:08:56 +11:00
Iampete1
0772af5539 AP_Scripting: generator: dont initalise trivial types 2021-10-12 10:08:56 +11:00
Iampete1
32d6919ae2 AP_Scripting: generator: remove unneeded else in nullable returns 2021-10-12 10:08:56 +11:00
Peter Barker
90f8cbde13 SITL: provide HAL_x_ENABLED for many SITL features
This allows for the feature to be compiled out
2021-10-12 09:04:55 +11:00
Peter Barker
aa4f375015 SITL: SIM_RichenPower: remove reference to stderr 2021-10-12 09:00:45 +11:00
Peter Barker
c9df857f16 SITL: avoid use of stderr/::fprintf 2021-10-12 09:00:17 +11:00
Peter Barker
94ad32b91c SITL: remove HIL_MODE vestiges 2021-10-12 08:57:05 +11:00
Peter Barker
d98cda12c6 AP_HAL_SITL: remove HIL_MODE vestiges 2021-10-12 08:57:05 +11:00
Willian Galvani
34b42d8252 AP_HAL: Navigator: set HAL_BARO_EXTERNAL_BUS_DEFAULT to 6
This is the bus exposed in the board for external sensors.
This is required as HAL_Linux doesn't probe all i2c buses.
2021-10-11 17:57:52 -03:00
Willian Galvani
2feb740a03 AP_Baro: add option to set BARO_EXT_BUS default value
This allows boards to define their own BARO_EXT_BUS default value.
This is mostly relevant for linux boards, as HAL_LINUX doesn't
probe all buses when BARO_EXT_BUS == -1.
2021-10-11 17:57:52 -03:00
tajisoft
68274ff996 AP_Scripting: fix switch check in ahrs-source 2021-10-11 20:59:46 +11:00
Andrew Tridgell
5f6af3567a SRV_Channel: added SERVO_GPIO_MASK
this allows for channels to be set as GPIO without setting
SERVOn_FUNCTION=-1. That allows for use of UAVCAN or SBUS outputs on
those channels with a servo function, while using the aux pin as a
GPIO
2021-10-11 19:28:11 +11:00
Rishabh
13f3d04300 AC_Avoid: Early exit Dijkstra's path finder if destination is found 2021-10-11 02:21:48 -04:00
Andrew Tridgell
08fcfa04ae APM_Control: only save autotune gains when P finished
this prevents saving values which are temporarily high due to tuning
process

See this bug report
https://discuss.ardupilot.org/t/plane-4-1-0-stable/76507/45
2021-10-10 19:00:57 +11:00
Iampete1
f0bc041b86 AP_Gererator: IE Fuel Cell: reset health timer at init 2021-10-08 19:34:34 -04:00
Lucas De Marchi
24adf18685 AP_HAL_Linux: small fixes to cpu affinity
- Do not mention x:y form in the comment since it's not supported
  - Give more detail in the help output regarding the meaning of each form
  - No prints in the helper parse function, let the caller print it
2021-10-08 16:08:52 -07:00
HefnySco
9f1cbdc0a5 AP_HAL_Linux: cpu affinity 2021-10-08 13:47:56 -07:00
Stephen Dade
e85f803e27 SITL: Expand multi-drone example 2021-10-08 17:29:10 +11:00
Peter Barker
521918d74c SITL: remove set-but-not-used _framerate member variable 2021-10-08 14:23:18 +11:00
olliw42
312604f577 AP_Mount: add handle_global_position_int() method to backend and use it + little spelling 2021-10-08 14:22:43 +11:00
murata
fa609afc44 AP_Scripting: Change the script file name for messages 2021-10-07 18:21:11 -04:00
Josh Henderson
1e0ae4b998 GCS_MAVLINK: Common capacity_remaining_pct checks healthy status and has_current 2021-10-07 22:16:02 +11:00
Josh Henderson
ca568953d9 AP_BattMonitor: capacity_remaining_pct add checks for healthy status and has_current 2021-10-07 22:16:02 +11:00
bugobliterator
f298ea406e HAL_ChibiOS: enable RNG only for H7 based boards off for the rest by default 2021-10-07 19:43:11 +11:00
bugobliterator
fc4d59c5a4 HAL_ChibiOS: setup hw random number generator for stm32 chips 2021-10-07 19:43:11 +11:00
bugobliterator
792e6666a3 HAL_ChibiOS: add random number generator implementation for ChibiOS 2021-10-07 19:43:11 +11:00
bugobliterator
e4f4b3ce1f AP_HAL: add true random number generator 2021-10-07 19:43:11 +11:00
Hwurzburg
b327f80946 AP_Airspeed: do not cal if backend does not exist 2021-10-07 13:36:44 +11:00
Peter Barker
43e83f18be AP_AHRS: do not send EKF_STATUS_REPORT from DCM
This means that even if you configure DCM as your primary you won't get
its status.

Given the status was currently garbage, this isn't necessarily a bad
thing at the moment.
2021-10-06 19:10:36 +11:00
Peter Barker
2f69dcc085 AP_AHRS: cache some trig results for yaw in DCM backend 2021-10-06 19:10:36 +11:00
Peter Barker
44d56854be AP_AHRS: make AP_AHRS_DCM an AP_AHRS backend 2021-10-06 19:10:36 +11:00
Iampete1
2b402ed2d7 AP_BLHeli: use is_dshot_protocol in place of >= AP_HAL::RCOutput::MODE_PWM_DSHOT150 2021-10-06 18:59:57 +11:00
Iampete1
3b8b90d170 AP_HAL: move is_dshot_protocol to AP_HAL 2021-10-06 18:59:57 +11:00
Iampete1
9751cb5b24 AP_HAL_ChibiOS: move is_dshot_protocol up to AP_HAL 2021-10-06 18:59:57 +11:00
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
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