Peter Barker
52cb509f11
waf: add suggest-override even when building in uavcan
2019-09-24 14:30:13 +10:00
Andrew Tridgell
c9278632a5
Rover: updated release notes for 3.5.2
2019-09-24 14:14:10 +10:00
murata
6d7c2301f2
AP_Radio: Change direct value to define name
2019-09-24 13:23:24 +10:00
murata
ec0c49315f
AP_Compass: Change direct value to define name
2019-09-24 13:23:24 +10:00
Andrew Tridgell
9226899c6f
AP_NavEKF2: added comment (review request)
2019-09-24 12:51:54 +10:00
Andrew Tridgell
255981c60c
AP_NavEKF2: moved some of the intermediate vars to the stack
...
this keeps stack frames below 1k, while giving faster access to the
variables and saving more memory
2019-09-24 12:51:54 +10:00
Andrew Tridgell
96c6544997
AP_NavEKF3: moved intermediate variables to common memory
...
this moves intermediate variables from being per-core to being common
between cores. This saves memory on systems with more than one core by
avoiding allocating this memory on every core.
This is an alternative to #11717 which moves memory onto the stack. It
doesn't save as much memory as #11717 , but avoids creating large stack
frames
2019-09-24 12:51:54 +10:00
Andrew Tridgell
0041874826
AP_NavEKF2: moved intermediate variables to common memory
...
this moves intermediate variables from being per-core to being common
between cores. This saves memory on systems with more than one core by
avoiding allocating this memory on every core.
This is an alternative to #11717 which moves memory onto the stack. It
doesn't save as much memory as #11717 , but avoids creating large stack
frames
2019-09-24 12:51:54 +10:00
Andrew Tridgell
9b746b89db
AP_Math: added fill_nanf()
...
used in SITL to invalidate memory
2019-09-24 12:51:54 +10:00
Andrew Tridgell
5aaeaaea8c
Tools: added UDP proxy code
...
very useful for fwding mavlink
2019-09-24 12:41:44 +10:00
Andrew Tridgell
328fff8585
Copter: fixed RC failsafe handling for no RC receiver
...
this stops us using uninitialised values in modes like circle which
can operate either with or without RC input. If we didn't have a RC
receiver attached then they would use a maximum yaw rate (which
produces quite a spectacular result for a tuned up racing quad)
2019-09-24 10:00:36 +10:00
Peter Barker
e50d237f3e
AP_Periph: stop compiling in AP_Buffer
2019-09-24 09:36:33 +10:00
Peter Barker
3bb1b0845c
Plane: stop compiling in AP_Buffer
2019-09-24 09:36:33 +10:00
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