Commit Graph

23496 Commits

Author SHA1 Message Date
Andrew Tridgell
676c36bad4 RC_Channel: fixed use of radio_in out of range for angle inputs
this prevents mis-calculation of the angle when RC input goes outside
of the configured range. This impacted on throttle nudge in plane when
reverse thrust was enabled

thanks to Pompecukor for reporting!
2020-08-04 09:33:19 +10:00
Andy Piper
e53a43461b AP_InertialSensor: remove ICM gyro pre-filter 2020-08-04 09:24:16 +10:00
Andy Piper
baf92a17f9 AP_HAL_ChibiOS: disable AP_Mount on "mini" boards 2020-08-04 09:18:14 +10:00
Andy Piper
cd60238e3d AP_Camera: make solo gimbal inclusion configurable per-board 2020-08-04 09:18:14 +10:00
Andy Piper
e91ae19544 GCS_MAVLink: make mount/gimbal configurable on a per-board basis 2020-08-04 09:18:14 +10:00
Andy Piper
f7f5880179 AP_Mount: make mount/gimbal inclusion configurable per-board and disable Solo gimbal on all 1MB boards 2020-08-04 09:18:14 +10:00
bugobliterator
13188b5e7e AP_OSD: ensure that we use environment Python interpreter 2020-08-03 14:02:09 +10:00
bugobliterator
a8d36a37c4 AP_Math: ensure that we use environment Python interpreter 2020-08-03 14:02:09 +10:00
bugobliterator
43c16cd417 AP_InertialSensor: ensure that we use environment Python interpreter 2020-08-03 14:02:09 +10:00
Andrew Tridgell
2a662793c2 AP_Compass: support probing RM3100 on all 4 addresses 2020-08-02 12:25:29 +10:00
Andrew Tridgell
849cb960e5 SITL: enable battery monitoring for flight axis by default 2020-08-02 12:25:03 +10:00
Tom Pittenger
8ae34a1977 AP_TECS: Don't fetch the land slewrate if it's not needed
Co-authored-by: WickedShell <Wicked.Shell.Scripts@gmail.com>
2020-07-31 10:30:17 -07:00
Samuel Tabor
bbe01adc7e AP_TECS: Use LAND_THR_SLEW if appropriate. 2020-07-31 10:30:17 -07:00
Samuel Tabor
4726e670d5 AP_Soaring: Fix description of SOAR_MAX_DRIFT. 2020-07-31 10:26:50 -07:00
Peter Barker
8f77536c08 AP_RCProtocol: fix segfault in example due to lack of VideoTX singleton 2020-07-31 07:55:09 +10:00
Siddharth Purohit
913c00dd96 AP_Scripting: add default case to fix uninitialised use situation 2020-07-30 20:28:48 +10:00
Andrew Tridgell
8d5c51748f AP_RangeFinder: fixed legacy parsing of 65436 for lightware i2c
some lidars will probe as legacy protocol and return 65436 as range
2020-07-30 11:25:05 +10:00
Iampete1
89217a3804 AP_WindVane_NMEA: decode each sentence once 2020-07-29 17:40:03 +10:00
Iampete1
2adbaf1a1d AP_RangeFinder_NMEA: decode each sentence once 2020-07-29 17:40:03 +10:00
Siddharth Purohit
d122f00c14 AP_GPS: redetection not necessary for UAVCAN GPS 2020-07-29 17:32:56 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
7067cbdafd GCS_Mavlink: Adapt to upstream mavlink changes to the SCALED_PRESSURE message 2020-07-29 14:34:22 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
47bf016a62 AP_Generator: adapt to upstream mavlink changes 2020-07-29 14:34:22 +10:00
Michael du Breuil
1c789c66c3 AP_Scripting: Fix generator for nullable types with multiple return values 2020-07-28 16:22:17 -07:00
Tom Pittenger
88d28460f5 AP_Vehicles: add more ModeReasons 2020-07-28 11:52:39 -07:00
Andy Piper
d4ba821297 AP_InertialSensor: make the backend fast gyro rate configurable and independent from the accel rate
allow fast sampling of gyros on MPU6000 and MPU6500
2020-07-28 20:47:16 +10:00
Henry Wurzburg
ec4bc71222 AP_Scripting: Setup of applets directory and first applet entry 2020-07-28 15:34:26 +10:00
Iampete1
2ad81fb425 AP_Scripting: generator: static cast all basic return types 2020-07-28 13:47:35 +10:00
Iampete1
4ad7eeb7a9 AP_Scripting: add RC Channel object bindings 2020-07-28 13:47:35 +10:00
Iampete1
a95981d022 RC_Channel: add scripting functions 2020-07-28 13:47:35 +10:00
Iampete1
0d9d593f05 AP_Scripting: add RC channel objects to example 2020-07-28 13:47:35 +10:00
Andrew Tridgell
227609eef0 AP_Terrain: allow download of terrain data when no GPS lock
this fixes several issues:

 - allows users to download terrain data at home with no GPS lock

 - allows for a TERRAIN_CHECK without GPS lock

 - retries opening of files every 5 seconds to allow for remount of sd
   card after boot
2020-07-28 12:15:43 +10:00
murata
9cc8b2f21a AP_VisualOdom: Shorten the distinguished name.
AP_VisualOdom: Shorten the distinguished name.
2020-07-28 09:09:27 +09:00
murata
dbb19dd402 AP_Arming: Shorten the distinguished name.
AP_Arming: AP_Arming: Shorten the distinguished name.
2020-07-28 09:09:27 +09:00
Randy Mackay
e3d538e676 AP_Scripting: add ahrs-print-angle-and-rates example 2020-07-28 09:47:59 +10:00
murata
5f3837f434 AP_Scripting: Modify the extension. 2020-07-28 08:40:06 +09:00
Siddharth Purohit
d31b44fa79 AP_HAL: add methods to extract devid details 2020-07-27 19:48:15 +10:00
Siddharth Purohit
f55ee264a7 AP_Compass: reset compass ids not present after compass cal
also implement replacement mechanism for UAVCAN compasses
2020-07-27 19:48:15 +10:00
Mark Whitehorn
f9e129e617 SITL: read 12 flightaxis input channels 2020-07-27 12:02:53 +10:00
Peter Barker
7a3e2d11db AP_HAL_SITL: make it clear the panic message is a panic message 2020-07-25 22:09:01 +10:00
Paul Riseborough
c8bbbd2720 AP_NavEKF3: Fix bug preventing setting of mag field states 2020-07-25 20:46:04 +10:00
chobitsfan
760e86ff4d AP_Proximity: remove unused definition
`bool initialise()`  is not implemented. Maybe it would be better to remove its definition
2020-07-24 15:35:53 +09:00
Peter Barker
d298980969 SITL: correct AP_Terrain cast-align compilation failure on SITL_arm_linux_gnueabihf 2020-07-23 18:10:06 +10:00
Peter Barker
38e3d63fac AP_HAL_SITL: correct AP_Terrain cast-align compilation failure on SITL_arm_linux_gnueabihf 2020-07-23 18:10:06 +10:00
Samuel Tabor
db081459d8 RC_Channel: Fix missing soaring entry. 2020-07-22 19:05:03 +10:00
Peter Barker
c539698528 AP_Logger: add documentation for GRAW, GRXH and GRXS messages 2020-07-22 12:29:19 +10:00
Mark Whitehorn
2b96b7915b AP_Logger: align PID(RPYAS) description to message names 2020-07-22 09:19:43 +09:00
Michael du Breuil
6773821b3b GCS_MAVLink: Don't forward MAVLink data on channels marked private, make private channels more private 2020-07-22 07:17:49 +10:00
Michael du Breuil
2cdaf421d8 AP_SerialManager: Add a helper to report if a serial link should have it's MAVLink data forwarded 2020-07-22 07:17:49 +10:00
Michael du Breuil
1fef30eef1 AP_HAL: Extend UART options to include forwarding MAVLink telemetry 2020-07-22 07:17:49 +10:00
Iampete1
3a0329822a AP_OSD: apply aspect ratio correction to horizon 2020-07-21 20:08:03 +10:00
Peter Barker
9d01fc6ff6 AC_Autorotation: add documentation for AROT message 2020-07-21 17:45:55 +10:00
murata
2d2f2c4360 AP_AdvancedFailsafe: Change the unit of barometric pressure from mbar to hPa. 2020-07-21 09:56:21 +10:00
Henry Wurzburg
21940cea09 AP_Airspeed: fix airspeed messages for consistency 2020-07-21 09:41:05 +10:00
Samuel Tabor
611217f63e AP_Soaring: Use RC aux function rather than read RC directly. 2020-07-21 09:38:04 +10:00
Samuel Tabor
455ebaadf2 RC_Channel: Add soaring aux function. 2020-07-21 09:38:04 +10:00
Randy Mackay
d8f2d0cf8d AP_NavEKF3: max delay includes visual odometry 2020-07-21 09:31:52 +10:00
Andrew Tridgell
978a7d2859 AP_Baro: added device IDs for barometers
this allows us to tell what barometers were detected in logs
2020-07-21 08:20:01 +09:00
Peter Barker
3f4a14c610 AP_ToshibaCAN: correct checking of payload space in telem send 2020-07-21 09:14:22 +10:00
Peter Barker
721d94a23b AP_Logger: log accumulated power status flags; all flags ever set 2020-07-21 09:12:14 +10:00
Peter Barker
bd8c4017bc AP_HAL: log accumulated power status flags; all flags ever set 2020-07-21 09:12:14 +10:00
Peter Barker
b5d0480bed AP_HAL_ChibiOS: log accumulated power status flags; all flags ever set 2020-07-21 09:12:14 +10:00
Andrew Tridgell
4b047625fc AP_BoardConfig: use polarity for 3.3/5v selection 2020-07-21 08:47:27 +10:00
Andrew Tridgell
d283dd7d00 HAL_ChibiOS: define polarity of 3.3/5v selection for PWM 2020-07-21 08:47:27 +10:00
Andrew Tridgell
99ac8e2fbe HAL_ChibiOS: enable BRD_PWM_VOLT_SEL parameter for mRoPixracerPro 2020-07-21 08:47:27 +10:00
yaapu
683df64d86 AP_Frsky_Telem: fix frsky serial 10 parameters
param rotation now is frame_type, battery_1, battery_2 (only if present)
2020-07-20 20:36:34 +10:00
Peter Barker
efb576292f AP_HAL_ChibiOS: handle queue push and pop failing 2020-07-20 10:19:47 +09:00
Peter Barker
2ace0f0a1f AP_UAVCAN: handle pop from rx_queue failing 2020-07-20 10:19:47 +09:00
Peter Barker
4e3c23c969 SITL: ignore failure to pop servo sample from buffer 2020-07-20 10:19:47 +09:00
Peter Barker
85b1264ff4 AP_HAL: add WARN_IF_UNUSED to several methods 2020-07-20 10:19:47 +09:00
Henry Wurzburg
8bfda973db AP_Scripting: Add user accessable script parameters 2020-07-19 14:18:39 +10:00
Iampete1
c8f1b44ee6 SITL: JSON: examples: update readme 2020-07-17 21:37:18 +10:00
Iampete1
6a2966c31b SITL: JSON: support quaternion and euler attitude 2020-07-17 21:37:18 +10:00
chobits
564244ce9a AP_NavEKF3: fix extnav vel reset 2020-07-17 14:13:06 +09:00
auturgy
9aeb456a1d AP_Mission: NFC Correct some comments
Some of the code comments were clearly C&P errors.  This fixes that.  I haven't corrected typos etc, to preserve history.
2020-07-17 09:12:48 +09:00
Henry Wurzburg
966e9ddf2b RC_Channel: add CROW flaps mode select switch 2020-07-16 13:30:45 +10:00
Samuel Tabor
88d4aa34db AP_TECS: Move the throttle rate limit code to ensure rate limit is respected when exiting takeoff stage. 2020-07-15 09:34:40 -07:00
Rishabh
0b8f722dbd AC_Avoid: Remove extra margin used in stop behaviour in circular fences 2020-07-15 15:50:18 +09:00
Rishabh
6e693596d6 AC_Avoid: Do not show unused param in Rover 2020-07-15 15:50:18 +09:00
Mirko Denecke
2dfc7c4108 AP_Camera: call update in update_trigger 2020-07-15 08:37:28 +09:00
Andy Piper
b697a44aed AP_RCProtocol: configure VTX when a SRXL2 VTX packet is received
support DSM VTX control
2020-07-14 16:50:08 +10:00
Andy Piper
111a4a735b AP_RCTelemetry: add setters for vtx configuration
deal with CRSF pitmode and options correctly
2020-07-14 16:50:08 +10:00
Henry Wurzburg
2ba458a75d RC_Channel: adds Generator to metadata 2020-07-14 14:06:03 +09:00
Randy Mackay
2d8c5a7bc4 AP_Motors: remove names from cpp files 2020-07-14 13:27:07 +10:00
Andy Piper
adb9f70bc9 AP_GyroFFT: correctly count the number of active harmonics 2020-07-14 09:50:06 +10:00
Andy Piper
05366e9aa9 AP_InertialSensor: delegate active harmonic calculation to the filter 2020-07-14 09:50:06 +10:00
Andy Piper
a93821110e Filter: return active harmonics based on dynamic harmonic enablement 2020-07-14 09:50:06 +10:00
Andy Piper
80e1c0ebb0 AP_RCProtocol: decode DSM frame markers to avoid timing related jitters especially in SITL
complete re-write of DSM decoding
2020-07-13 19:36:49 +10:00
Henry Wurzburg
d78c5371db AP_HAL_ChibiOS: remove fmuv4 and update Pixracer 2020-07-13 15:24:54 +10:00
Paul Riseborough
0cf70fe961 AP_Logger: Log D gain limit cycle gain scaler
Used by Plane roll and pitch loops in APM_Control
2020-07-13 13:47:50 +10:00
Paul Riseborough
548bab5d24 APM_Control: Add gyro feedback limit cycle protection 2020-07-13 13:47:50 +10:00
Rishabh
8e586bc67d AP_Proximity: Check for valid reading before pushing to OA DB 2020-07-10 15:48:59 +09:00
Andy Piper
05416daef3 GCS_Mavlink: output fast sampling startup messages 2020-07-10 16:45:29 +10:00
Andy Piper
faf9bbbf3a AP_InertialSensor: make the backend fast gyro rate configurable
raise gyro rate default on F7 and H7
clean up gyro rate docs and output startup banner
2020-07-10 16:45:29 +10:00
Andy Piper
e35458cedf AP_NavEKF3: INS get_sample_rate() renamed to get_loop_rate_hz() 2020-07-10 16:45:29 +10:00
Andy Piper
e39e24bd18 AP_NavEKF2: INS get_sample_rate() renamed to get_loop_rate_hz() 2020-07-10 16:45:29 +10:00
Andy Piper
5a6be9e0a2 AP_Mount: INS get_sample_rate() renamed to get_loop_rate_hz() 2020-07-10 16:45:29 +10:00
Andrew Tridgell
9f1e641637 HAL_ChibiOS: added new STM32Cube configs 2020-07-10 13:33:51 +10:00
Andrew Tridgell
84bd59a7bb HAL_ChibiOS: support H7 with no crystal 2020-07-10 13:33:51 +10:00
Andrew Tridgell
cfbfb27004 HAL_ChibiOS: support no-crystal F3 setups 2020-07-10 13:33:51 +10:00
Andrew Tridgell
5a18b16f69 GCS_MAVLink: use strncpy_noterm 2020-07-10 13:32:24 +10:00