Matthew Brener
06388b0417
Global: Fix typos
9 years ago
Andrew Tridgell
66073413a8
GCS_MAVLink: announce MAVLink2 capability
9 years ago
Niti Rohilla
cadd95fdd8
GCS_MAVLink: Added sanity check for DO_JUMP command on mission load.
9 years ago
Michael du Breuil
7a18d59099
GCS_MAVLink: On mission_set_current report the requested item if the set was a success
...
The problem with reporting the mission index, is that the mission index will be walked
forward until its referring to a nav target, which means that if a DO_ command was
requested, the requesting mavlink device had no way to validate the command was
accepted, it would have to make a infrence from it's copy of the mission
9 years ago
Leandro Pereira
bf3f8c05e7
GCS_Mavlink: Correctly check if a channel is streaming
...
In GCS_MAVLINK::stream_trigger(), chan_is_streaming would be checked
with a bitwise OR, instead of a bitwise AND. This way, the condition
would always be true if chan_is_streaming were to be non-zero.
9 years ago
Andrew Tridgell
1fa137caad
GCS_MAVLink: added handle_preflight_reboot()
9 years ago
Peter Barker
aae84b3edc
GCS_MAVLink: send_collision_all
9 years ago
Peter Barker
7bc9a1cf83
GCS_MAVLink: break out a packetReceived function
...
This just moves code, doesn't change it
9 years ago
Andrew Tridgell
306487cad4
GCS_MAVLink: adjust for 16 channels in SERVO_OUTPUT_RAW
9 years ago
Michael du Breuil
c2da36d505
GCS_MAVLink: fix race condition when recieving last waypoint
...
only shows up when the waypoint is about to time out
9 years ago
Tom Pittenger
b4b0ec404c
GCS_MAVLink: flag a link as active if it ever sends a message
9 years ago
Tom Pittenger
8b405e26ea
GCS_MAVLink: battery2 current is in 10*mAh over mavlink
9 years ago
Tom Pittenger
4e4bc0bee4
GCS_MAVLink: use voltage(x) instead of voltage2()
9 years ago
Tom Pittenger
608fbee867
GCS_MAVLink: send current2 over mavlink
9 years ago
Peter Barker
1e146256cc
GCS_MAVLink: move telemetry_delayed up into base class
9 years ago
Peter Barker
43fed65f37
GCS_MAVLink: move adjust_rate_for_stream up
9 years ago
Andrew Tridgell
7ec513668e
GCS_MAVLink: reserve some space when param fetch fails
...
this ensures we give some buffer space for parameter fetch when we are
low on buffer space
we reserve 100 bytes for 2 seconds after a param fetch fails due to
low buffer space
9 years ago
Andrew Tridgell
0bbddd38cf
GCS_MAVLink: fixed some places where packets are sent without space
...
we always need sufficient space for the packet in the send buffer
9 years ago
Andrew Tridgell
273c80116a
GCS_MAVLink: added a wrapper for sending HEARTBEAT
...
will be used to cope with old radios with MAVLink2
9 years ago
Andrew Tridgell
8899455ea3
GCS_MAVLink: use extended MEMINFO message
9 years ago
Andrew Tridgell
018b1143d2
GCS_MAVLink: handle difference between SERIALn_PROTOCOL=1 and 2
9 years ago
Andrew Tridgell
b3f94184f2
GCS_MAVLink: always build with MAVLink2 headers
9 years ago
Andrew Tridgell
048fc8d39e
GCS_MAVLink: adjust for min_length mavlink2 API change
9 years ago
Andrew Tridgell
318ec69465
GCS_MAVLink: added periodic saving of signing key
...
thanks to Michael for noticing this was missing
9 years ago
Andrew Tridgell
12c1d58511
GCS_MAVLink: cope with different packet overheads with signing
...
use common macros for determining if there is sufficient space to send
a packet
9 years ago
Andrew Tridgell
7aae93e3e0
GCS_MAVLink: fixed auto-switching to MAVLink2
9 years ago
Andrew Tridgell
970dbf3c8d
GCS_MAVLink: fixed build with MAVLink1
9 years ago
Andrew Tridgell
ed9a43ca46
GCS_MAVLink: support for mavlink2 signing operations
9 years ago
Andrew Tridgell
8ea9e29fee
GCS_MAVLink: use a fixed signing key for testing
9 years ago
Andrew Tridgell
2a2abb8be6
GCS_MAVLink: log parameter changes to DataFlash
...
this means param notifies also get logged in the DF log
9 years ago
Leandro Pereira
f23bd7e09d
GCS_MAVLink: Use a single stream_trigger() implementation
...
This has no side effects, but since all implementations were basically
the same, move the implementation to GCS_Common and the only part that
adjusts the rate based on which which stream to each individual
GCS_MAVLINK implementation.
9 years ago
Lucas De Marchi
fea084a596
Global: use ap_version.h
...
This header is used by waf to contain the generated version macros,
particularly using the git hash. For waf it's better to be in a separate
header since it then can keep track of changes on it a trigger
recompilation.
For the make build system, a dummy ap_version.h file has been added in
the missing/ folder so both implementations can co-exist.
9 years ago
Michael Oborne
848fa27d1c
GCS_MAVLink: support MAVLINK_MSG_ID_MISSION_ITEM_INT
9 years ago
Niti Rohilla
8fcf5cf0c1
Changed the prototype of handle_guided_request() to report error
...
while setting guided points.
9 years ago
Andrew Tridgell
197e72acc0
GCS_MAVLink: fixed null termination bug
...
found with ASAN
9 years ago
Lucas De Marchi
0d9b9433da
GCS_MAVLink: fix home position unit
...
As per documentation the home position is in mm. Since location stores
it in cm, convert to mm before sending.
9 years ago
Francisco Ferreira
d3e149e5d7
GCS_MAVLink: ignore Clang out-of-range warning
...
warning: comparison of constant 4 with expression of type 'mavlink_channel_t' is always false [-Wtautological-constant-out-of-range-compare]
if (chan >= MAVLINK_COMM_NUM_BUFFERS) {
~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
9 years ago
Staroselskii Georgii
6172ed078e
GCS_Mavlink: send power status from all boards
9 years ago
Andrew Tridgell
fe3812c51b
GCS_MAVLink: re-worked text send in terms of ObjectArray
9 years ago
Tom Pittenger
54d2a263fe
GCS_MAVLink: create queue scheme for static statustext msgs
9 years ago
Andrew Tridgell
5da6082d78
GCS_MAVLink: raise the waypoint receive timeout to 8s
...
this fixes a timeout in autotest
9 years ago
Don Gagne
c13cf70163
GCS_MAVLink: system id output as severity INFO
9 years ago
Andrew Tridgell
a3d781bf3f
GCS_MAVLink: fixed a valgrind error
9 years ago
Andrew Tridgell
0e8dbe92f0
GCS_MAVLink: fixed string overrun found by asan
9 years ago
Andrew Tridgell
68a46bc1ff
GCS_MAVLink: use AP_Param::count_parameters()
9 years ago
DonLakeFlyer
74902012fd
GCS_MAVLink: better mission errors
9 years ago
Julien BERAUD
780104dc9c
GCS_MAVLink: Fix build
...
Optical Flow definition is needed
9 years ago
Andrew Tridgell
c34100f6a2
GCS_MAVLink: support FMUv4
9 years ago
Luis Vale Gonçalves
5e290daac5
GCS_MAVLink: libraries_Text_revision
...
text revision of messages
9 years ago
Caio Marcelo de Oliveira Filho
a096c2b72c
GCS_MAVLink: use millis/micros/panic functions
9 years ago