Commit Graph

27837 Commits

Author SHA1 Message Date
bugobliterator
b2ffc12092 HAL_ChibiOS: define flash page for dumping crash log 2021-10-30 19:24:57 +11:00
bugobliterator
29568a23ae HAL_ChibiOS: fetch crash_dump stored in flash 2021-10-30 19:24:57 +11:00
bugobliterator
f9f47cbeeb AP_HAL: add method to fetch last crash dump 2021-10-30 19:24:57 +11:00
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