Commit Graph

25941 Commits

Author SHA1 Message Date
Ari Krupnik
d1f0a2f42a SRV_Channel: documenting new SERVOx_FUNCTION values 2021-05-03 19:19:05 -04:00
Iampete1
cbbdf8ba74 RC_Channel: add SCRIPTING aux fun trigger source 2021-05-04 09:05:56 +10:00
Iampete1
15362484bc AP_Scripting: add do_aux_function binding and example 2021-05-04 09:05:56 +10:00
Rishabh
acfdf6a38f AP_Proximity: remove mavlink boundary clearing conditions 2021-05-02 20:03:56 -04:00
Andrew Tridgell
8764d69e2c HAL_ChibiOS: default SDMMC clock to 12.5MHz max on H7
this makes microsd considerably more reliable
2021-05-02 13:04:42 +10:00
Andrew Tridgell
8fcb03350b AP_Logger: minimal fix for allowing log listing while logging
this prevents loss of log data when listing logs on file backend
2021-05-01 19:21:48 +10:00
Josh Henderson
c8b8ff3380 AP_Logger: Privatize AC_Avoidance Logging 2021-05-01 19:21:17 +10:00
Josh Henderson
aac9771daf AC_Avoidance: Privatize Logging 2021-05-01 19:21:17 +10:00
Josh Henderson
ac57950575 AP_Logger: move GYR & ACC log structs to AP_InertialSensor 2021-05-01 14:15:58 +10:00
Josh Henderson
2b20dcf128 AP_InertialSensor: move GYR & ACC logging functions to Logging.cpp 2021-05-01 14:15:58 +10:00
Andrew Tridgell
6f5626d04f AP_Vehicle: fixed SD card slowdown with early mounts 2021-05-01 12:32:23 +10:00
Tatsuya Yamaguchi
c06ed9f7f5 AP_OpticalFlow: TYPE param becomes enable flag 2021-04-30 19:06:14 -04:00
Andrew Tridgell
f9866dc27e HAL_ChibiOS: fixed LED_SAFETY attached to FMU with recent DShot updates 2021-04-30 17:26:33 +10:00
Peter Barker
4a9ee19599 AP_Notify: correct parameter documentation 2021-04-30 13:50:47 +10:00
Pierre Kancir
21d92780d2 RC_Channel: log init_aux_function and read_aux 2021-04-29 21:49:45 +10:00
Josh Henderson
859fc73ba3 AP_Logger: Privatize AP_InertialSensor Logging 2021-04-29 19:19:12 +10:00
Josh Henderson
9792202810 AP_InertialSensor: Privatize Logging 2021-04-29 19:19:12 +10:00
Peter Barker
1fb43d63e2 autotest: shorten statustext message to avoid chunking 2021-04-29 02:44:20 -04:00
Andrew Tridgell
de5da74df1 AP_GPS: fixed spelling of GLONASS 2021-04-29 13:01:09 +10:00
giacomo892
a245100ae6 AP_GPS_UBLOX: Fix GALILEO auto configuration 2021-04-29 13:01:09 +10:00
Peter Barker
a12ed2c99f RC_Channel: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Peter Barker
bd76d15df4 GCS_MAVLink: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Peter Barker
ba970f138d AP_Mission: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Peter Barker
e5eedfd741 AP_Button: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Tom Pittenger
b62ab14791 AP_BattMonitor: prepare MPPT driver for AP_Periph 2021-04-28 19:22:53 -07:00
Tom Pittenger
a7f81c838f AP_BattMonitor: make virtual Backend.init() optional to fix CANDriver.init(uint8, uint8) ambiguitiy 2021-04-28 19:22:53 -07:00
Tom Pittenger
a365e18420 AP_BattMonitor: add MPPT PacketDigital driver 2021-04-28 19:22:53 -07:00
Tom Pittenger
c756138ede AP_CANManager: add MPPT PacketDigital driver 2021-04-28 19:22:53 -07:00
Tom Pittenger
fa14fd1cec AP_Arming: add MPPT PacketDigital driver 2021-04-28 19:22:53 -07:00
Tom Pittenger
ba6bb21560 AP_Math: added helper for16bit float conversions 2021-04-28 19:22:53 -07:00
Tom Pittenger
5e2dbd93fc AP_CANManager: add write_frame() to AP_CANSensor class 2021-04-28 19:22:53 -07:00
giacomo892
a5708acaef AC_Circle: Restore radius every time 2021-04-28 11:36:58 +01:00
giacomo892
b5ebf9022c [AP_OSD] Fix wrong comment in OSD_W_TERR param 2021-04-28 18:14:52 +10:00
Iampete1
0c3aa72158 SITL: add direct actuated wing to sailboat sim 2021-04-28 08:22:47 +01:00
Ari Krupnik
02969451da SRV_Channel: direct-rotation sail mast control 2021-04-28 08:22:47 +01:00
murata
b67f2e9307 AP_HAL_SITL: Add uart specification and array 2021-04-28 17:08:12 +10:00
Iampete1
29534a7e2d AP_Windvane: set true to apparent if no speed sensor 2021-04-28 15:16:35 +10:00
Iampete1
ab1d54745d AP_WindVane: convert analog sensor to use latest value 2021-04-28 15:16:35 +10:00
Iampete1
67edff1c7c RC_Channel: add WIND_VANE_DIR_OFSSET option 2021-04-28 15:16:35 +10:00
Iampete1
974293ca3f AP_Windvane: move RC_IN_NO to RCx_OPTION 2021-04-28 15:16:35 +10:00
Iampete1
bf651ea1d9 AP_WindVane: rework filtering and add logging 2021-04-28 15:16:35 +10:00
Randy Mackay
a3ceb6d95b AC_WPNav: fix spline initialisation of terrain offset 2021-04-28 10:18:04 +09:00
Leonard Hall
361ba989bd AC_WPNav: Use Pos_Control Heading 2021-04-27 17:13:55 +09:00
Leonard Hall
4158c37cfa AC_PosControl: Calculate heading 2021-04-27 17:13:55 +09:00
Leonard Hall
e253c94f63 AC_AttitudeControl: Remove Unused Function 2021-04-27 17:13:55 +09:00
Leonard Hall
939d8e3ed4 AC_WPNav: Support Thrust Vector Control 2021-04-27 17:13:55 +09:00
Leonard Hall
bb46f7a947 AC_PosControl: Thrust Vector output 2021-04-27 17:13:55 +09:00
Leonard Hall
1fb2a95486 AC_AttitudeController: Thrust Vector attitude control 2021-04-27 17:13:55 +09:00
Peter Barker
52a4ac028c AP_AHRS: remove duplicate log metadata fields 2021-04-27 16:38:40 +10:00
Hwurzburg
cf41548ce1 AP_AHRS: expand RATE log message description 2021-04-27 12:32:44 +10:00
Hwurzburg
6fbf2d227c AC_Fence: Correct Rover metadata 2021-04-27 09:31:09 +09:00
Peter Hall
ed7db5b2b6 AP_Motors: tailsitter: slew outputs and output throttle directly 2021-04-27 09:37:32 +10:00
Peter Barker
ffd8f3678c AP_HAL_SITL: understand --serial0 etc in place of --uartA etc 2021-04-26 16:05:47 +10:00
QioTek
ca6102ed28 f103Qiotek_Periph
f103Qiotek_Periph
2021-04-24 07:48:40 +10:00
QioTek
1de3135d14 HAL_ChibiOS: added f103-QiotekPeriph hwdef (#1)
HAL_ChibiOS: added f103-QiotekPeriph
2021-04-24 07:48:40 +10:00
Peter Barker
4362b16f50 AP_Logger: remove un-needed forward declarations
We moved the logging into the relevant library.  Yay!
2021-04-23 11:44:16 +10:00
Andy Piper
42ebc13e6c Revert "AP_HAL_ChibiOS: support 6 bi-directional dshot channels on the MatekH743"
This reverts commit f9d166edf6.
2021-04-22 18:39:06 +10:00
Andrew Tridgell
6764f039ca HAL_ChibiOS: added support for the new H7 luminousbee version 5 2021-04-21 20:41:34 +10:00
Pierre Kancir
9a6d4e3af1 SITL: check if we are over precland base 2021-04-21 17:26:07 +10:00
Pierre Kancir
cec82214d8 SITL: add local_ground_variable 2021-04-21 17:26:07 +10:00
Pierre Kancir
078a1a2b0c SILT: limit update scope for precland 2021-04-21 17:26:07 +10:00
Andy Piper
f9d166edf6 AP_HAL_ChibiOS: support 6 bi-directional dshot channels on the MatekH743 2021-04-21 17:18:53 +10:00
Andy Piper
9f5dbfb092 AP_BLHeli: index bi-dir dshot channels through the motor map
error if no digital mask has been set for bi-dir dshot
2021-04-21 17:18:53 +10:00
Andy Piper
558631918c AP_HAL_ChibiOS: add %age of total to thread statistics
don't display meaningless thread info
2021-04-21 17:14:11 +10:00
Peter Barker
a3c329b182 AC_AttitudeControl: make parameter renames consistent 2021-04-21 12:17:42 +10:00
Leonard Hall
b43c7f4ed1 AC_AttitudeControl: Parameter rename (non-functional) 2021-04-21 12:17:42 +10:00
hs293go
de0c57de77 AC_AttitudeControl: Use Quaternion::operator* for vector rotation
Replace all instances of the q*v*q.formula() or conversion to rotation
matrix + matrix multiply by calling Quaternion::operator* on a
vector
2021-04-21 12:17:42 +10:00
Leonard Hall
86a157ce59 AC_AttitudeControl: Seperate thrust vector correction into a separate function 2021-04-21 12:17:42 +10:00
Randy Mackay
5b0f107631 AC_Fence: remove alt from TYPE param desc for Rover 2021-04-21 11:35:48 +10:00
Andy Piper
e20fc3d4f6 AP_Filesystem: fix build on macOS 2021-04-21 11:33:52 +10:00
Randy Mackay
b81930885c AC_WPNav: remove unnecessary assignment and constify local vars 2021-04-21 10:41:28 +10:00
Randy Mackay
bebb7e7d8f AC_WPNav: removed unused enums 2021-04-21 10:41:28 +10:00
Andrew Tridgell
961e538cc0 HAL_ChibiOS: reduced flash usage on MatekF405
overflowing by 1k
2021-04-21 07:12:55 +10:00
Andrew Tridgell
08cbfa032d AP_Filesystem: review fixes
thanks Andy!
2021-04-21 07:12:55 +10:00
Andrew Tridgell
b941b8c93a AP_Filesystem: allow for parameter upload via ftp 2021-04-21 07:12:55 +10:00
Andrew Tridgell
0b948d3faf AP_Param: allow save_sync without send 2021-04-21 07:12:55 +10:00
Andrew Tridgell
5a7ee5a376 AP_Common: fixed null termination bug in ExpandingString
not all HALs zero memory on realloc
2021-04-21 07:12:55 +10:00
Andrew Tridgell
23785c00dc AP_Param: improved queue handling and added set_and_save_by_name_ifchanged 2021-04-21 07:12:55 +10:00
Andrew Tridgell
d8575f0607 AP_Filesystem: allow for partial mission upload 2021-04-21 07:12:55 +10:00
Andrew Tridgell
d96002942c AP_Filesystem: ensure all blocks are filled on upload 2021-04-21 07:12:55 +10:00
Andrew Tridgell
c1f491ce39 AP_Filesystem: allow mission upload 2021-04-21 07:12:55 +10:00
Andrew Tridgell
3fb280ff50 AP_Common: added return to ExpandingString append 2021-04-21 07:12:55 +10:00
Andrew Tridgell
e055165eb8 AP_Filesystem: added download of mission/fence/rally 2021-04-21 07:12:55 +10:00
Andrew Tridgell
c53c112691 GCS_MAVLink: expose functions to convert fence and rally to mavlink
this allows for the @MISSION filesystem to download data in the
current mavlink format
2021-04-21 07:12:55 +10:00
Andrew Tridgell
dd86e0cc89 AP_GPS: added comment explaining the approach 2021-04-20 17:43:01 +10:00
Andrew Tridgell
8bc31ec5e9 AP_GPS: account for rotation rate in moving baseline Z test
this avoids switching GPS on rapid roll/pitch
2021-04-20 17:43:01 +10:00
Andrew Tridgell
2168633372 HAL_SITL: account for attitude rate in moving baseline data 2021-04-20 17:43:01 +10:00
Andrew Tridgell
62e0a89036 AP_Param: cleanup the eeprom parsing tools and fixed sentinal detection 2021-04-20 16:59:17 +10:00
Andrew Tridgell
eac027b5c5 AP_Param: fixed handling of group_element=255 in sentinal detection
EK3_DRAG_BCOEF_Y has a group element of 255, which was being detected
as a sentinal
2021-04-20 16:59:17 +10:00
Hwurzburg
85e3772759 RC_Channel: correct metadata for fence enable and rst mode for Plane 2021-04-20 16:14:22 +10:00
Peter Barker
a7e0c565dc AP_GPS: populate extension fields in GPS2_RAW 2021-04-20 11:46:35 +10:00
Andrew Tridgell
9cc883a8c0 AP_Compass: fixed the IST8308 on CubeBlack
CubeBlack needs to probe both internal and external buses
2021-04-20 10:42:54 +10:00
Andy Piper
21e95a62d5 AP_VideoTX: increase stack for smart audio thread 2021-04-20 10:39:16 +10:00
Andy Piper
a9f442b4c1 AP_BLHeli: make sure there is delay between MSP send and receive to avoid reading our own data 2021-04-20 10:35:22 +10:00
Andy Piper
4bb4e2fb22 AP_HAL_ChibiOS: adjust GPIO settings for serial passthru 2021-04-20 10:35:22 +10:00
Randy Mackay
fee30b4447 AP_RangeFinder: add get_temp and implement for NMEA driver 2021-04-20 09:17:48 +10:00
Randy Mackay
83c18249a4 AP_CANManager: chane KDECAN enum from 2 to 8
This is to force users to realise that something has changed in the hopes they will read the 4.1 release notes
2021-04-20 09:13:30 +10:00
Randy Mackay
d2b8fce25a AP_KDECAN: map ESC id to servo channel and passthrough pwm
Co-authored-by: Siddharth Purohit <siddharthbharatpurohit@gmail.com>
2021-04-20 09:13:30 +10:00
Randy Mackay
6c93039d84 AP_KDECAN: slightly improve pre-arm check messages 2021-04-20 09:13:30 +10:00
hs293go
93a13bbf0e AP_Math: Implement tests for the Quaternion class
These tests cover Quaternion multiplication, conversion to rotation
matrix, and the optimized rotation operator
2021-04-19 15:34:45 +10:00