Peter Barker
a5f4a102d7
Copter: stop compiling in AP_Buffer
2019-09-24 09:36:33 +10:00
Peter Barker
08623c1712
AP_ADSB: use ObjectBuffer in place of AP_Buffer
2019-09-24 09:36:33 +10:00
Peter Barker
c043f315de
AP_Buffer: remove as it is replaced with ObjectBuffer
2019-09-24 09:36:33 +10:00
Michael du Breuil
8bfab6d2f2
Plane: Geofence, speed up the no fence checks if disabled
...
This just checks if we are going to early out on the fence because it's
disabled. This also saves us 60 bytes of flash space. This technically
is a behaviour change as it was possible to load the fence before while
disabled if there was an RC channel mapped to it. This defers that until
the fence will have an action. The advantage of this though is that it
speeds up the check that's done per loop in a quadplane for stick mixing
2019-09-23 17:31:33 -06:00
Michael du Breuil
562b155f63
Plane: Remove unused geofence enable reason
2019-09-23 17:31:33 -06:00
Michael du Breuil
7d8b114b24
Plane: Reduce size of GeoFenceState
...
Cuts it from 32 bytes to 28
2019-09-23 17:31:33 -06:00
Michael du Breuil
af0dfb6d8b
Plane: Remove unneeded state from geofence
2019-09-23 17:31:33 -06:00
Andrew Tridgell
27187ca248
Plane: updated release notes for 4.0.0beta2
2019-09-24 08:46:52 +10:00
Willian Galvani
5a9e5e937a
APMotors6DOF: add roll factor for motors 4 and 5 for SIMPLEROV_4 and SIMPLEROV_5
2019-09-23 10:41:57 -07:00
Willian Galvani
948a5bf9c3
APMotors6DOF: add case for SIMPLEROV_3
2019-09-23 10:41:57 -07:00
Peter Barker
03e317fed8
Tools: autotest: send SIGTERM to processes before killing them
...
This allows coverage atexit functions to run
2019-09-23 19:36:38 +10:00
Peter Barker
045960fe57
AP_HAL_SITL: catch SIGTERM and exit with zero exit status
2019-09-23 19:36:38 +10:00
Andrew Tridgell
85332d49a2
HAL_SITL: added MotorBoat
2019-09-23 17:22:01 +10:00
Andrew Tridgell
d2e75717b8
SITL: added a MotorBoat class
...
a sailboat with zero sail area
2019-09-23 17:22:01 +10:00
Randy Mackay
5a1a10b03f
Copter: update 3.6.11-rc1 release notes
2019-09-23 13:39:34 +09:00
Randy Mackay
23e92d4fa5
Copter: 3.6.11-rc1 release notes
2019-09-23 13:39:30 +09:00
Lucas De Marchi
7520cdef2f
AP_RangeFinder: update minimum fw version of TFMiniPlus
...
Version 2.0.3 has important fixes to avoid having the sensor to lock up.
Let's make sure we check for it and warn on console.
2019-09-23 12:56:13 +09:00
Andrew Tridgell
c40e0ffb6b
Copter: fixed EKF threshold for arming
...
when EKF failsafe is disabled by setting threshold to zero we need to
disable this arming check
2019-09-23 09:48:39 +09:00
Peter Hall
c71cbe2729
APM_Control: AR_AttitudeControl: add description for new PID params
2019-09-23 09:45:46 +09:00
Andrew Tridgell
e9f8b91134
waf: fixed --build-dates option
...
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2019-09-23 08:32:05 +10:00
Andrew Tridgell
05d62c62bb
AP_NavEKF3: fixed use of uninitialised variable in EKF3 mag fusion
...
not all elements of H_MAG are initialised, but they are used, as found
by valgrind
2019-09-22 21:06:36 +10:00
Andrew Tridgell
8a05feb9d3
Tools: use --track-origins=yes in valgrind for sim_vehicle.py
...
this allows us to find the original cause of an uninitialised variable
2019-09-22 21:06:36 +10:00
Andrew Tridgell
c93d73b678
Plane: change master version to 4.1.0dev
2019-09-22 20:20:16 +10:00
Andrew Tridgell
386e7dc3e8
HAL_ChibiOS: fixed delay for OneShot125 channels
...
we were delaying output for OneShot125 by 8x as much as we need to,
which reduced our max loop rate
2019-09-22 19:43:35 +10:00
Andrew Tridgell
850892c3d9
HAL_ChibiOS: fixes from LGTM errors
2019-09-22 18:35:15 +10:00
Peter Barker
642935fd43
Tools: random Python cleanups based on lgtm analysis
2019-09-21 22:26:03 +10:00
Andrew Tridgell
c6f43e9700
AP_NavEKF3: fixed use of old irqsave() API
2019-09-21 15:36:47 +10:00
Andrew Tridgell
1d47f9186e
AP_NavEKF2: fixed use of old irqsave() API
2019-09-21 15:36:47 +10:00
Andrew Tridgell
d7ee622edc
AP_Logger: fixed use of old irqsave() API
2019-09-21 15:36:47 +10:00
Lucas De Marchi
5f65033511
AP_RangeFinder: add missing overrides
2019-09-21 08:01:08 +10:00
Lucas De Marchi
ce877ba40a
AP_RangeFinder: fix build
2019-09-21 08:01:08 +10:00
Randy Mackay
7c2c6dbab3
Rover: pre-arm check that WP_SPEED is positive
2019-09-20 09:01:57 +09:00
Peter Barker
de3c9340cb
Tools: autotest: correct timeout on heli spline mission
2019-09-19 22:39:10 +10:00
Andrew Tridgell
108d7fa024
AP_Logger: added logging of extra loop time from the scheduler
2019-09-19 18:25:20 +10:00
Andrew Tridgell
79acaeaef1
AP_Scheduler: cope with high CPU load by stretching loop times
...
this adds an extra budget of time per loop when we are not achieving
scheduled tasks at a rate of at least 1/8 of the desired rate. This
fixes an issue where a vehicle can become uncontrollable if the user
asks for a SCHED_LOOP_RATE which is not achievable. As these events
happen we add extra loop budget until we are able to run all tasks. We
drop the extra time when the CPU pressure eases.
2019-09-19 18:25:20 +10:00
Andrew Tridgell
3d9f393f4b
SITL: added SIM_LOOP_DELAY parameter
...
this allows us to test high CPU load conditions by adding a delay to
each loop
2019-09-19 18:25:20 +10:00
Michael du Breuil
95bca05322
AP_HAL_ChibiOS: Only include MAVLink when using the MAVLink debugging
2019-09-19 10:48:25 +09:00
Michael du Breuil
5000891a76
GCS_MAVLink: remove some unused includes
2019-09-19 10:48:25 +09:00
Peter Barker
1c187d8feb
AP_NavEKF3: correct return of empty prearm string
2019-09-19 08:47:47 +09:00
Peter Barker
3619856fc9
AP_NavEKF2: correct return of empty prearm string
2019-09-19 08:47:47 +09:00
Randy Mackay
398f427830
AP_Proximity: fix rangefinder backends cm to m conversion
2019-09-19 08:43:11 +09:00
Peter Barker
f3eaf9ee6e
Tools: autotest: more coverage out of the dataflash-over-mavlink tests
2019-09-19 08:46:55 +10:00
Peter Barker
1f25b6e406
Tools: autotest: add test for SITL implementation of Block backend
2019-09-18 17:42:18 +10:00
Peter Barker
5e6b6ee0e0
Sub: remove stale enum entries for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
5730808778
Plane: remove stale enum entries for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
9b398e8765
Copter: remove stale enum entries for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
37293b1cf4
Rover: remove stale defines for log message types
2019-09-18 15:02:57 +10:00
Peter Barker
0031deb175
Copter: correct abs vs fabsf usage in Attitude
2019-09-18 12:57:02 +10:00
Peter Barker
9cd30083a4
AC_AutoTune: correct abs to fabsf for roll_cd and pitch_cd
2019-09-18 12:57:02 +10:00
Peter Barker
d32a7b3a29
Sub: wrap_180_cd no longer returns floats for integer arguments
2019-09-18 12:57:02 +10:00