Peter Barker
dfd0ecd2bd
GCS_MAVLink: use mission singleton
2018-12-13 10:52:52 +09:00
Randy Mackay
90a8f8b7e0
AP_Follow: add get bearing and distance accessors
...
used for reporting purposes
2018-12-13 09:30:19 +09:00
Randy Mackay
a776c7114f
AP_Follow: move enabled accessor to top of definition file
2018-12-13 09:30:19 +09:00
Randy Mackay
962d449352
AP_Follow: remove send-text to GCS
2018-12-13 09:30:19 +09:00
Peter Barker
cf5dd7cdd7
GCS_MAVLink: emit pressure data for separate airspeed instances
2018-12-12 21:36:01 +11:00
Peter Barker
cc5ad393e7
GCS_MAVLink: split MSG_SCALED_PRESSURE into three separate messages
2018-12-12 21:36:01 +11:00
Andrew Tridgell
3de860f73b
AP_InertialSensor: fixed orientation of 2nd OmnibusF7V2 IMU
2018-12-12 16:27:34 +11:00
Andrew Tridgell
9285e9df20
Revert "AP_Landing: yaw correction on landing"
...
This reverts commit 4f9c492f78
.
That commit was causing the landing issue here:
https://github.com/ArduPilot/ardupilot/issues/9993
reverting until we find the correct fix
2018-12-12 15:51:37 +11:00
Arjun Vinod
9d8cad4eea
AP_BattMonitor: fixed typos
2018-12-11 09:55:43 +09:00
Matt
d4bd7e790a
HAL_ChibiOS: Add hwdef for Solo's Cube Black & Green
...
Adds hwdef files for the 3DR Solo. CubeBlack-solo is based on the
CubeBlack hwdef, with the only difference being default parameters
required by the Solo. CubeGreen-solo is is also identical to CubeBlack,
but has default parameters required by those with a Green Cube in their
Solo. Parameter default files are pulled from the Tools\Frame_Parms
directory where the Solo's parameter files are maintained.
2018-12-11 10:45:37 +11:00
Peter Barker
eb2ef9fd2d
GCS_MAVLink: use dataflash singleton rather than storing pointer
2018-12-11 08:43:47 +09:00
Andrew Tridgell
4c74d32ef3
HAL_SITL: fixed cygwin build of sitl
...
this is needed for windows SITL build
2018-12-11 09:44:05 +11:00
Peter Barker
1c6af7d777
GCS_Common: don't attempt to shove timesync message into a full channel
2018-12-10 15:25:10 +11:00
Peter Barker
6e7b9aa727
GCS_MAVLink: remove dead code
2018-12-10 12:52:41 +09:00
Peter Barker
160c29e01f
GCS_MAVLink: change number of buckets to 10
2018-12-10 12:52:41 +09:00
Peter Barker
17c82999d0
GCS_MAVLink: use panic() call for what it is good for
2018-12-10 12:52:41 +09:00
Peter Barker
a9c5affe8a
GCS_MAVLink: be consistent about calling count() or first_set
2018-12-10 12:52:41 +09:00
Peter Barker
8d970c13c0
GCS_MAVLink: avoid considering no_message_to_send equal to -1
2018-12-10 12:52:41 +09:00
Peter Barker
57fee7e8ef
GCS_MAVLink: remove redundant check in find_next_bucket_to_send
2018-12-10 12:52:41 +09:00
Peter Barker
e91ee3e54a
GCS_MAVLink: rename confusingly-named method
2018-12-10 12:52:41 +09:00
Peter Barker
b696986de6
GCS_MAVLink: clarify extra code in do_try_send_message is debug code
2018-12-10 12:52:41 +09:00
Peter Barker
f9399a708c
GCS_MAVLink: use defined no_message_to_send constant for what it's good for
2018-12-10 12:52:41 +09:00
Peter Barker
0dfe5b64bf
GCS_MAVLink: clarify comment on sending requests
2018-12-10 12:52:41 +09:00
Peter Barker
54d9e74f17
GCS_MAVLink add description for special messages
2018-12-10 12:52:41 +09:00
Peter Barker
5a0e0e7a87
GCS_MAVLink: rename DEBUG_SEND_MESSAGE_TIMINGS to GCS_DEBUG_SEND_MESSAGE_TIMINGS
2018-12-10 12:52:41 +09:00
Peter Barker
b6ac20ce32
GCS_MAVLink: use correct type for streamrate values
2018-12-10 12:52:41 +09:00
Peter Barker
c70fec305c
GCS_MAVLink: avoid squashing close-together intervals into same bucket
2018-12-10 12:52:41 +09:00
Peter Barker
e198b0c7e6
AP_Common: Bitmask: choose builtin based on type for find_first_set
2018-12-10 12:52:41 +09:00
Peter Barker
a7ce326307
AP_Common: Bitmask: use sizeof() in place of constant
2018-12-10 12:52:41 +09:00
Peter Barker
e4bc874083
GCS_MAVLink: cap the minimum message interval to 80% of the main loop rate
2018-12-10 12:52:41 +09:00
Peter Barker
e08a8d03d2
GCS_MAVLink: initialise last_sent_ms when reusing bucket
2018-12-10 12:52:41 +09:00
Peter Barker
09905bb2f2
GCS_MAVLink: send data for sensors even if no data for other sensors
...
This is notable when you have a lot of compasses, for example
2018-12-10 12:52:41 +09:00
Peter Barker
c15de72095
GCS_MAVLink: split MSG_RAW_IMU1 into per-IMU ap_messages
...
Also allows for sending SCALED_IMU for the first IMU rather than RAW_IMU
2018-12-10 12:52:41 +09:00
Peter Barker
0bdeccb568
DataFlash: rename send_extended_status1 to send_sys_status
2018-12-10 12:52:41 +09:00
Peter Barker
3a7ab5f67e
AP_Proximity: rename send_extended_status1 to send_sys_status
2018-12-10 12:52:41 +09:00
Peter Barker
c4bee518bb
AC_Fence: rename send_extended_status1 to send_sys_status
2018-12-10 12:52:41 +09:00
Peter Barker
ef46acda71
GCS_MAVLink: support MAV_CMD_SET_MESSAGE_INTERVAL
2018-12-10 12:52:41 +09:00
Peter Barker
db5f933e7a
AP_Common: Bitmask: add assignment operator
2018-12-10 12:52:41 +09:00
Peter Barker
942555ceb8
AP_Common: add tests for Bitmask
2018-12-10 12:52:41 +09:00
Andrew Tridgell
0fcb22afde
AP_Common: added first_set() method to Bitmask
2018-12-10 12:52:41 +09:00
Peter Barker
8a0e3dd657
AP_HAL: add millis16 to HAL; provide weak implementation
...
This wraps every minute or so - but if you only need to track intervals
under ~65 seconds could save RAM
2018-12-10 12:52:41 +09:00
Peter Barker
09bdb6315b
AP_Common: define WEAK attribute
2018-12-10 12:52:41 +09:00
Peter Barker
f0a95182be
GCS_MAVLink: add is_active and is_streaming methods
2018-12-10 12:52:41 +09:00
Andrew Tridgell
735a4b6f18
HAL_ChibiOS: setup PH4 for right voltage scaling
2018-12-10 07:45:34 +11:00
Andrew Tridgell
cb3b0bd373
SITL: don't try to connect Morse sockets so quickly
2018-12-08 12:36:30 +11:00
Andrew Tridgell
cdd7d1c83d
SITL: added Morse rover follow example script
2018-12-07 10:31:04 +09:00
Andrew Tridgell
3d2634671f
AP_Follow: fixed handling of FOLL_SYSID parameter
...
removed separate variable and use parameter only
2018-12-07 10:31:04 +09:00
Andrew Tridgell
64abd7f318
SITL: added follow example for rover
2018-12-07 08:35:15 +11:00
Andrew Tridgell
9b9ce2b1a2
SITL: removed Morse position offset
...
this allows for creating swarms of vehicles with different start
locations
2018-12-07 08:35:15 +11:00
Andrew Tridgell
824d619ab6
SITL: allow override of Morse sensors and control ports
2018-12-07 08:35:15 +11:00