Commit Graph

40849 Commits

Author SHA1 Message Date
Peter Barker 9410d40b2f AP_OSD: reduce scope of WITH_SEMAPHORE
The backend write() calls don't look nasty ATM - but we should get in,
get out data and get out again ASAP.
2020-01-14 10:36:44 +11:00
Andy Piper d167dacfae AP_Logger: fix locking issues, uninitialized read and status message length
account for erased partial sectors when looking at wrapped logs
2020-01-14 10:25:42 +11:00
Robert Lefebvre 185788adf6 Update BUILD.md 2020-01-14 08:30:12 +11:00
Bill Geyer bc7e15ab8b AC_InputManager: tradheli-Fix parameter metadata errors 2020-01-13 12:41:30 -05:00
Rishabh fd2c6baf5d AP_RangeFinder: added RNGFNDx_TYPE parameter description for the Lanbao lidar 2020-01-13 20:34:48 +11:00
Peter Barker 2342ea600a Tools: exclude build-linux-libraries and gtest from coverage analysis
The build-linux-libraries were mavlink-generated headers created when we
build the examples.  We don't intentionally try to test anything in
there at the moment, so it's noise.
2020-01-13 16:11:49 +11:00
Peter Barker ba13f0bb29 autotest: add test for Frsky SPort 2020-01-13 16:03:12 +11:00
Peter Barker 280a44fc73 autotest: make nmea-output test more reliable 2020-01-13 16:01:23 +11:00
Mark Whitehorn b6ef76a1ad Update Tools/autotest/locations.txt
Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
2020-01-12 11:39:40 +11:00
Mark Whitehorn 4fadf6b67e Tools:autotest: add AAMeastfield location 2020-01-12 11:39:40 +11:00
Peter Barker cefd991fb0 autotest: add test for frsky passthrough 2020-01-11 22:43:36 +11:00
Peter Barker 0986ed0a81 Copter: set_range on motor interlock channel 2020-01-11 21:55:24 +11:00
Matt Lawrence beb9d0b761 Tools: Updating solo's parameters 2020-01-11 12:44:37 +09:00
murata b041a8206b AP_OpticalFlow: Deleted parameter descriptions without variables 2020-01-11 11:33:13 +09:00
Andrew Tridgell 8ae5dffd31 GCS_MAVLink: fixed valgrind error in mission upload
affects DO_JUMP
2020-01-11 08:29:34 +11:00
yaapu e9e02542f1 AP_Frsky_Telem: fix for missing WFQ scheduler initialization
this fixes a missing WFQ scheduler initialization and sets a rate limiter on
status text messages to prevent text corruption
2020-01-11 07:52:09 +11:00
Andrew Tridgell 924e012fa7 AP_Periph: fixed thread safety of push_force 2020-01-10 19:43:36 +11:00
Andrew Tridgell 3556f33051 AP_Frsky_Telem: fixed a race condition with statustext handling
this fixes an issue that can cause a hardfault. See this bug report:

https://discuss.ardupilot.org/t/hexa-crash-after-watchdog-reset/50917

ObjectArray is not thread safe
2020-01-10 19:43:36 +11:00
Andrew Tridgell 0f7fbfae77 Plane: update release notes for 4.0.3beta1 2020-01-10 19:41:12 +11:00
Randy Mackay 17e726b967 Copter: 4.0.1-rc2 release notes 2020-01-10 16:35:26 +09:00
Randy Mackay 5a2386001b Copter: 4.0.1-rc1 release notes 2020-01-10 12:39:10 +09:00
bnsgeyer 64f98622c0 Copter: fix tradheli RSC RC passthrough mode
Copter: heli get_pilot_desired_rotor_speed converts interlock input to desired rotor speed
2020-01-09 19:55:02 +09:00
Andrew Tridgell 09f9ab8dd8 Tools: rebuild IO fw for DSM 22ms fix 2020-01-09 17:38:52 +11:00
Andrew Tridgell 74ca9033e2 AP_RCProtocol: fixed support for 22ms multi-frame DSM 2020-01-09 17:38:52 +11:00
Andrew Tridgell 39b738e407 AP_RCProtocol: expand test suite for multi-frame protocols 2020-01-09 17:38:52 +11:00
Andrew Tridgell 6218537ff7 SITL: fixed segv in SITL RCProtocolTest 2020-01-09 17:38:52 +11:00
Randy Mackay f1047adca5 SRV_Channel: add NeoPixelx to function param description 2020-01-09 11:38:37 +09:00
Peter Barker 1cfb4e4a49 autotest: test FRSky serial output by taking output via TCP 2020-01-09 12:24:11 +11:00
Peter Barker 3074855ea3 AP_HAL_SITL: correct port numbers in diagnostic output 2020-01-09 09:43:56 +11:00
Andrew Tridgell 5588229f68 AP_RCProtocol: fixed scaling on FPort RSSI
make it match OpenTX
2020-01-09 07:08:11 +11:00
Peter Barker 2f60f783d4 SITL: add simulated Frsky devices 2020-01-08 23:53:48 +11:00
Peter Barker 0c8e6f212d AP_HAL_SITL: add simulated frsky support 2020-01-08 23:53:48 +11:00
Andrew Tridgell da2f60ae95 AP_SerialManager: ensure users can't break SERIAL0_PROTOCOL
this prevents users from setting SERIAL0_PROTOCOL to something that
prevents them accessing the board. This can happen when users are
trying to setup SLCAN
2020-01-08 20:55:25 +11:00
Peter Barker eb452478ac Copter: override do_aux_function_armdisarm method to set armed_with_switch
As well as removing the code duplication, this only sets the flag if
arming was actually successful.  armed-with-switch is used when setting
various state, and it isn't entirely clear that we only use it when
armed.  This would seem to be a safer option.
2020-01-08 18:36:02 +11:00
Peter Barker ac25b90dda RC_Channel: factor out a do_aux_function_armdisarm method 2020-01-08 18:36:02 +11:00
Peter Barker a50b777179 ArduPlane: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker 0d04ef19fe ArduCopter: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker 3f89f0e37a APMrover2: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker 10976344b8 RC_Channel: let RC_Channel indicate AUX_FUNC::ARMDISARM needs no initialisation
All users set this.
2020-01-08 18:36:02 +11:00
Peter Barker 316c6af69f autotest: give guided mode test more time to achieve attitude 2020-01-08 14:29:54 +11:00
Peter Barker 4c5c5fff72 AP_Scripting: add some pointers on how to work with bindings 2020-01-07 19:29:12 -07:00
Peter Barker 2c5e07cb09 AP_Logger: log battery and cell information using instance numbers 2020-01-08 13:00:17 +11:00
Rajat Singhal 552191925b SITL: Add OA BendyRuler params for Airsim Lidar, rename file 2020-01-08 09:10:54 +09:00
Rajat Singhal dccb95efce AP_Proximity: Fix Airsim Proximity sector update
Distance equals least distance in that sector rather than last point sampled
2020-01-08 09:10:54 +09:00
Peter Barker d065840b63 Tools: install-env: add libsmfl and pygame; allows joystick and OSD 2020-01-08 10:42:11 +11:00
CUAVcaijie 7e89591e90 HAL_ChibiOS: Modify the default orientation of the compass 2020-01-08 07:33:51 +11:00
Andrew Tridgell e18a14c123 ChibiOS: fixed I2C4 on STM32H7
this fixes 4th I2C port on Durandal
2020-01-08 05:56:23 +11:00
Andrew Tridgell fced7d78fc HAL_ChibiOS: fixed clock src for I2C4 on H7 2020-01-08 05:56:23 +11:00
Andrew Tridgell 1ac65e9c6f Tools: rebuild f103 bootloaders 2020-01-07 12:37:35 +11:00
Andrew Tridgell db777c56b9 AP_GPS: provide yaw feedback in GPS_RAW_INT and GPS2_RAW
allow GPS to display status of GPS yaw for moving baseline and NMEA
2020-01-07 12:37:35 +11:00