Commit Graph

40930 Commits

Author SHA1 Message Date
Andrew Tridgell 4a688e59b2 Sub: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Andrew Tridgell a90c16e60e Plane: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Andrew Tridgell 1fae2009db Copter: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Andrew Tridgell e292c83303 Rover: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Andrew Tridgell 4f3725c16c SRV_Channel: change function to AP_Int16
this also removes the old parameter conversion code used for when we
first added the SERVO parameters. This was needed for conversion from
Copter 3.4 and Plane 3.7
2020-01-14 14:23:11 +11:00
Andrew Tridgell 7ef86c9bb1 AP_Param: added convert_parameter_width()
this allows for easy conversion of the width of a parameter without
changing indexes
2020-01-14 14:23:11 +11:00
Michael du Breuil 2291702473 AP_Scripting: Raise SITL default heap size 2020-01-13 20:06:31 -07:00
Michael du Breuil 51f79c1b10 AP_Scripting: Add support for UART drivers
Also improves the handling of uint32_t arguments
2020-01-13 20:06:31 -07:00
Michael du Breuil f0a50c51f6 AP_SerialManager: Add scripting ports 2020-01-13 20:06:31 -07:00
Peter Barker 9997cbf203 AP_AHRS: make ekf_type return from enum class
Eliminate default cases and rely on compiler to enforce all cases
handled in switch statement.  This will be important when we make EKF2
optional.
2020-01-14 11:58:11 +11:00
Peter Barker 968d8cf7d9 AP_AHRS_NavEKF: canonicalise use of get_active_NavEKF result
Some places had a default case, many didn't.
2020-01-14 11:58:11 +11:00
Gone4Dirt daf1b57736 Copter: Changed autorotation fltmode to clarify for heli 2020-01-14 09:47:28 +09:00
Peter Barker 56fb9f8198 autotest: add test for existence of arming log messages 2020-01-14 11:39:36 +11:00
Peter Barker 354e44a51e ArduSub: move logging of armed/disarm events into AP_Arming base class 2020-01-14 11:39:36 +11:00
Peter Barker e1b3bd2e42 ArduCopter: move logging of armed/disarm events into AP_Arming base class 2020-01-14 11:39:36 +11:00
Peter Barker 62c0078d5f AP_Arming: move logging of armed/disarm events into AP_Arming base class 2020-01-14 11:39:36 +11:00
Peter Barker a74d754720 Plane: AP_Arming now logs arm/disarm events 2020-01-14 11:39:36 +11:00
Peter Barker d2520b7a94 Rover: AP_Arming now logs arm/disarm events 2020-01-14 11:39:36 +11:00
Peter Barker 6b94710e4e AP_Logger: include method and forced in armed log message 2020-01-14 11:39:36 +11:00
Peter Barker 3b8a2fb262 AP_Arming: log arming 2020-01-14 11:39:36 +11:00
Tatsuya Yamaguchi 058cd4200f Tools: Replay: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi 1c07609f47 Sub: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi 1f9f84044c Plane: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi e01e924711 Copter: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi b4f2c8cfa0 Tracker: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi 94e324dbd2 Rover: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi 2c9e56c4b2 AP_Scripting: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Tatsuya Yamaguchi 1309101a4b AP_Vehicle: allow scripts to get modes 2020-01-14 11:16:29 +11:00
Peter Barker a37df08277 Sub: correct unused expression compilation failure 2020-01-14 11:12:14 +11:00
Peter Barker 0afdee5105 waf: add -werror=unused-value to catch unused expression results 2020-01-14 11:12:14 +11:00
Peter Barker a9f62f196e GCS_MAVLink: consolidate places we snprintf statustexts 2020-01-14 10:38:43 +11:00
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