Peter Barker
e32d8ecda1
AP_WheelEncoder: add SITL backend
...
AP_WheelEncoder: added update function for SITL quadrature encoder
2019-10-07 07:31:51 +11:00
Peter Barker
4d17a7cf89
AP_Logger: tidy MessageWriter stages using enum class
2019-10-05 16:37:43 +10:00
Henry Wurzburg
880285dad4
AP_BLHeli: Change descriptions in SERVO_BLH_PORT param to actual AP port
2019-10-05 16:35:59 +10:00
Michel Pastor
dec5b97275
AP_Logger: fix logging on 256Mbit flash chips
2019-10-05 16:25:22 +10:00
Randy Mackay
9456fe4d70
Rover: failsafe check format fix
...
adding some brackets perhaps makes it a little clearer
2019-10-05 07:30:17 +09:00
Henry Wurzburg
006004be13
Rover: FS_OPTION allows failsafe from hold mode
2019-10-05 07:30:17 +09:00
Peter Barker
23983d03b5
Tools: autotest: correct get_distance_int
2019-10-05 06:53:52 +10:00
Peter Barker
d8c89517bb
autotest: correct CRAMS field altitude
2019-10-04 19:46:23 +10:00
Andrew Tridgell
db4ae9ff24
Plane: check airspeed and active Z controll for hover learning
2019-10-04 14:01:08 +10:00
Andrew Tridgell
39182e70e4
AP_Motors: enable docs for hover thr learning in plane
2019-10-04 14:01:08 +10:00
Michel Pastor
49bf0a3057
AP_Logger: fix AP_Logger_Block::get_num_logs()
2019-10-04 12:49:16 +10:00
chobits
5a0fe4e322
Copter: do not speed up EKF failsafe if optflow works
2019-10-04 11:15:38 +09:00
Randy Mackay
db7836ad48
AP_SmartRTL: fixup compile error
...
fix typo introduced by me attempting a minor fixup before merging
2019-10-04 10:01:49 +09:00
Peter Barker
fd0a8b72b4
AP_Logger: correct uninitialised value when logging all rally points
2019-10-04 10:39:01 +10:00
Peter Barker
be8632668b
autotest: make dataflash-over-mavlink test more accomodating
...
Saw <100kB/s on autotest server, so can't look for minimum 100kB/s.
Also fixed disarmed-at-end-of-test
2019-10-04 10:38:32 +10:00
Henry Wurzburg
13e66e9f7c
AP_SmartRTL: give warning buffer is about to fill-up
2019-10-04 08:57:30 +09:00
Andrew Tridgell
555f56a8af
HAL_ChibiOS: removed wait on CAN peripheral in H7
...
these wait busy loops can take a very long time, and end up causing
interrupts to be lost elsewhere in the system, causing lost bytes on
UARTs
We should not have while loops waiting on peripharals like this. If we
do need to wait for a flag to clear then it needs to be done in a low
priority thread, or we need to check for completion in a timer
CAN still seems to work with this change, but needs flight testing
2019-10-03 15:26:47 +10:00
Henry Wurzburg
9717548cb5
AP_Follow: hide params not used by Rover
2019-10-03 07:18:47 +09:00
Randy Mackay
6e27d49f24
Copter: add pre-arm check of PILOT_SPEED_UP param
2019-10-03 07:16:35 +09:00
Andrew Tridgell
3ebc69320c
AP_Logger: fixed LOG_FILE_DSRMROT with delayed log stop
...
now that we persist logging for 15s after disarm we need to also delay
the log rotation if LOG_FILE_DSRMROT=1. Otherwise we will put the log
data into the next log, which defeats the purpose of the 15s
persistance
2019-10-03 07:17:16 +10:00
vierfuffzig
b89c60d5b0
AP_BLHeli: fix watchdog resets with telemetry active from non-multirotor motors
2019-10-02 21:06:22 +10:00
Andrew Tridgell
185475d689
autotest: allow --moddebug to sim_vehicle.py
...
helps people debugging install
2019-10-02 20:03:31 +10:00
Randy Mackay
8686197c59
GCS_MAVLink: add comment above set-message-interval
2019-10-02 16:17:09 +09:00
Randy Mackay
3a113a31bb
GCS_MAVLink: minor fix to set_message_interval
2019-10-02 16:09:44 +09:00
Tatsuya Yamaguchi
5039bdc8ea
AP_Scripting: add set_message_interval binding
2019-10-02 16:09:44 +09:00
Tatsuya Yamaguchi
9a99d9bff5
GCS_MAVLink: add set_message_interval functions
2019-10-02 16:09:44 +09:00
Randy Mackay
9464a429f8
Copter: 3.6.11 release notes
2019-10-02 06:38:59 +09:00
Randy Mackay
927a1e4f9d
Rover: fix version to be 4.0.0
2019-10-01 20:05:53 +09:00
Randy Mackay
ec6a573d53
Rover: 4.0.0-rc1 release notes
2019-10-01 20:04:41 +09:00
Andy Piper
1d11fe5377
Tools: add --upload-port option to waf
2019-10-01 18:12:04 +10:00
Andrew Tridgell
ddde512b74
AP_Scheduler: use fill_nanf() on each scheduler function
2019-10-01 17:35:26 +10:00
Andrew Tridgell
cbe34320b5
AP_NavEKF2: fixed build
...
broken by recent common variable change
2019-10-01 17:35:26 +10:00
Andrew Tridgell
b9291d95f0
HAL_SITL: pre-fill stack on each loop with NaN
...
this allows us to catch use of uninitialised stack variables in SITL
without having valgrind running
2019-10-01 17:35:26 +10:00
Andrew Tridgell
66b4e92444
AP_Math: make fill_nanf() use a signalling NaN
...
we want use of these values to trigger a FPE
2019-10-01 17:35:26 +10:00
Andrew Tridgell
f79907bd1e
AP_NavEKF: fixed build with vector index checking
2019-10-01 15:39:03 +10:00
Andrew Tridgell
3995db49a4
AP_NavEKF3: use parent class for intermediate static variables
...
this makes the code faster as well as using less memory when both EK2
and EK3 are enabled
2019-10-01 15:39:03 +10:00
Andrew Tridgell
f7e138bddd
AP_NavEKF2: use parent class for intermediate static variables
...
this makes the code faster as well as using less memory when both EK2
and EK3 are enabled
2019-10-01 15:39:03 +10:00
Andrew Tridgell
688b01c6c6
AP_NavEKF: added a common parent class for EKF2 and EKF3 core classes
...
this provides a common location for static intermediate variables in
EK2 and EK3. This has a few benefits:
- the compiler can determine the address of the frequently accessed
variables at compile time, making them faster
- by sharing between EK2 and EK3 we save a lot of memory if both EK2
and EK3 are enabled
- we can fill all these with NaN in SITL on every loop, which allows
us to catch cases where the variables are ever re-used between
loops, which guarantees we aren't mixing data between EKF lanes or
between EK2 and EK3
2019-10-01 15:39:03 +10:00
IamPete1
3b9a35da27
AP_Motors: add reversed tricopter option
2019-10-01 09:39:08 +10:00
vierfuffzig
2af0be3947
AP_AHRS: fix custom orientation ToRad conversion
2019-10-01 09:35:09 +10:00
Andrew Tridgell
0deef76875
GCS_MAVLink: use HAL_MEM_CLASS for status sizes
2019-10-01 09:29:55 +10:00
Andrew Tridgell
889b18022b
AP_Logger: use HAL_MEM_CLASS for logging buffer size
2019-10-01 09:29:55 +10:00
Andrew Tridgell
3bf3ebb703
AP_Logger: try harder to use close to user buffer size
...
this stops us drastically reducing buffer size when low on memory
2019-10-01 09:29:55 +10:00
Andrew Tridgell
2d00298070
AP_HAL: added HAL_MEM_CLASS for amount of memory
2019-10-01 09:29:55 +10:00
Andrew Tridgell
47f2f1764d
HAL_ChibiOS: generate HAL_MEMORY_TOTAL_KB for each board
2019-10-01 09:29:55 +10:00
Peter Barker
13352a4ca7
AP_ADSB: move is_valid_octal to is_valid_callsign and add tests for it
2019-10-01 09:18:15 +10:00
Peter Barker
6fe09b6120
AP_Math: move is_valid_octal into adsb
...
This doesn't ensure the value is octal digits - there's more magic in
it.
2019-10-01 09:18:15 +10:00
Andrew Tridgell
1a34fccc71
AP_Proximity: fixed incorrect use of fabs()
2019-10-01 08:12:07 +09:00
Andrew Tridgell
c19d31d0c3
Tools: autobuild Pixhawk1-1M
2019-10-01 09:08:25 +10:00
Andrew Tridgell
670a9e33df
Tools: added bootloaders for Pixhawk1-1M
2019-10-01 09:08:25 +10:00