Peter Barker
ad2c3d27ec
GCS_MAVLink: move try_send_message queued_param_send up
2017-08-03 14:34:33 +01:00
Peter Barker
679bb7f7a5
GCS_MAVLink: move try_send_message send_hwstatus up
2017-08-03 14:33:37 +01:00
Peter Barker
3b472ccc17
GCS_MAVLink: move try_send_message mission handling up
2017-08-03 14:24:47 +01:00
Peter Barker
b8cb758fac
GCS_MAVLink: move try_send_message compass message handling up
2017-08-03 14:24:46 +01:00
Peter Barker
b4688bd3d4
GCS_MAVLink: move common mavlink camera handling up
2017-07-28 14:32:58 +01:00
Peter Barker
60ffe00164
GCS_MAVLink: move gps inject handling up
...
Also, make AP_GPS responsible for decoding inject packets
2017-07-27 12:03:25 +01:00
Peter Barker
85a0da6178
GCS_MAVLink: handle common GPS messages in base GCS_MAVLINK class
2017-07-25 14:00:45 +01:00
khancyr
8abcb7a0e3
GCS_MAVLink: simplify send_proximity
2017-07-24 13:44:43 +01:00
khancyr
ec2ea1c903
GCS_MAVLink: move send_proximity to GCS common code (NFC)
...
Also clean two comments
2017-07-24 13:44:43 +01:00
Peter Barker
eb1cf0e73a
GCS_MAVLink: remove MSG_STATUSTEXT entirely
2017-07-18 16:12:59 +01:00
Peter Barker
06647cde2c
GCS_MAVLink: move handling of PREFLIGHT_SET_SENSOR_OFFSETS up
2017-07-17 14:17:19 +01:00
Peter Barker
bd28bdd907
GCS_MAVLink: move handling of MAG_CAL command longs up
2017-07-17 14:17:19 +01:00
Peter Barker
a7e57aa3fc
GCS_MAVLink: move MAV_CMD_START_RX_PAIR handling to base class
2017-07-17 14:17:19 +01:00
Peter Barker
318861e824
GCS_MAVLink: move mavlink support for servo/relay up
2017-07-16 23:56:00 +01:00
Peter Barker
cfc8d7feba
GCS_MAVLink: add common handling of mavlink command messages
2017-07-16 23:56:00 +01:00
Peter Barker
69eb9cbdd2
GCS_MAVLINK: add missing mavlink mission msgid to case
2017-07-15 17:01:18 +09:00
Peter Barker
aa6b339252
GCS_MAVLink: improve rally debug strings
2017-07-14 01:28:05 +01:00
Peter Barker
99cc684d0a
GCS_MAVLink: GCS_Rally: increase severity of mavlink statustexts
...
This matches plane, sending at an increased level
2017-07-14 01:28:05 +01:00
Peter Barker
ebe3dcef6f
GCS_MAVLink: move rally-point handling up
2017-07-14 01:28:05 +01:00
Peter Barker
3338de827e
GCS_MAVLink: remove unneeded telemetry_delayed parameter
...
Also make it protected
2017-07-12 17:02:54 +01:00
Peter Barker
129d7220e6
GCS_MAVLink: move handling of incoming statutext messages up
2017-07-12 16:52:24 +01:00
Peter Barker
5c0aa27b2f
GCS_MAVLink: remove global static send_statustext_chan
2017-07-11 23:53:53 +01:00
Peter Barker
a599bc9031
GCS_MAVLink: eliminate GCS_MAVLINK::send_statustext_all
2017-07-11 23:53:53 +01:00
Peter Barker
69c7402c9c
GCS_MAVLink: add const chan method to GCS_Dummy
2017-07-11 23:48:50 +01:00
Peter Barker
731aaed8af
GCS_MAVLink: eliminate global static GCS_MAVLINK::send_home_all
2017-07-11 23:48:39 +01:00
Peter Barker
6cc19fee35
GCS_MAVLink: GCS_Dummy and GCS_routing get get_mission
2017-07-11 23:47:52 +01:00
Peter Barker
726007efde
GCS_MAVLink: move common mission handling up to GCS_MAVLINK
2017-07-11 23:45:17 +01:00
Peter Barker
02532af64b
GCS_MAVLink: a send_text method on the GCS singleton
2017-07-09 17:17:29 -04:00
Peter Barker
ca6e34dfbd
GCS_MAVLink: use Notify singleton for sending statustext
2017-07-09 17:17:29 -04:00
Peter Barker
3f43789742
GCS_MAVLINK: provide a GCS singleton for examples and tools to use
2017-07-07 16:18:37 +01:00
Peter Barker
db27346fd7
GCS_MAVLink: move GCS functions up from GCS_Plane
2017-07-07 16:18:37 +01:00
Peter Barker
4c1aff03a3
GCS_MAVLink: move send-logs-via-mavlink code into DataFlash
2017-06-27 03:10:43 +01:00
Peter Barker
cbbee995b6
GCS_MAVLink: move GCS_Logs into DataFlash directory
2017-06-27 03:10:43 +01:00
Peter Barker
cf918d233f
GCS_MAVLink: move MAVLINK_MSG_ID_REMOTE_LOG_BLOCK_STATUS handling up
2017-06-17 15:07:48 +01:00
Pierre Kancir
d5cc1e64ed
GCS_Common: rename send_rangefinder to send_rangefinder_downward
2017-06-08 01:32:04 +01:00
Pierre Kancir
e9685ba13e
GCS_MAVLink: add rangefinder msg
2017-06-08 01:22:07 +01:00
Pierre Kancir
0848d96354
GCS_MAVLink: add send_distance_sensor_downward function
2017-06-08 01:22:07 +01:00
Pierre Kancir
f0369bc507
GCS_MAVLink: add distance sensor msg
2017-06-08 01:22:07 +01:00
Michael du Breuil
c62e79b5c0
GCS_MAVLink: Update the accelcal signature to accept uint32_t
2017-06-01 20:20:05 +01:00
Michael du Breuil
16bd7a091e
GCS_MAVLink: Add landing reporting
2017-05-24 15:22:27 -07:00
Peter Barker
b18c1853f9
GCS_MAVLink: count parameters in param thread
...
This helps avoid counting parameters on the main thread,
avoiding long-loops
2017-05-11 08:21:17 +10:00
Andrew Tridgell
5c62e4f4c2
GCS_MAVLink: don't use more than 1ms sending parameters
...
this reduces the scheduling misses when fetching parameters initially
2017-05-01 14:37:15 +10:00
Andrew Tridgell
f465c37c65
GCS_MAVLink: added async parameter sending
2017-05-01 14:37:13 +10:00
Andrew Tridgell
5c4ca3bf0b
GCS_MAVLink: added send_queued_parameters()
2017-05-01 14:36:52 +10:00
Andrew Tridgell
f778954b84
GCS_MAVLink: split parameter functions into a separate file
2017-05-01 14:36:10 +10:00
Andrew Tridgell
4ce0a8e24e
GCS_MAVLink: time limit GCS update() calls
...
and add performance counters
2017-04-28 16:09:12 -07:00
Michael du Breuil
341ac701d1
GCS_MAVLink: report temperature information to the battery status report
2017-04-19 14:17:24 +01:00
Michael du Breuil
9cb0d8f99b
GCS_MAVlink: Add battery cell backend
2017-04-19 14:17:24 +01:00
Eugene Shamaev
c9f413da38
GCS_MAVLink: AOA, SSA message
2017-04-19 20:48:42 +10:00
Pierre Kancir
b2c8bc8074
GCS_MAVLink: example fix travis warning
...
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Michael du Breuil
1e816b8be5
GCS_MAVLink: Support sending the BATTERY_STATUS message
2017-04-12 10:21:49 +09:00
Andrew Tridgell
3080f66d16
GCS_MAVLink: fixes for updated mavlink
2017-04-11 20:03:43 +01:00
Peter Barker
564ff3a468
GCS_MAVLink: always allow HOME to be read by MISSION_REQUEST
...
Fixes #5980
2017-04-04 15:00:07 +10:00
Randy Mackay
eded4f90bb
GCS_MAVLink: timesync sends nanoseconds
2017-03-30 08:50:37 +09:00
Randy Mackay
eddd6e5681
GCS_MAVLink: only respond to timesync messages with empty tc1
...
This avoids the possibility of a timesync message storm
Also process as a common message because no vehicle information is required
Moved location of new method to bottom of cpp file
2017-03-30 08:50:37 +09:00
fnoop
fdc310fe97
GCS_MAVLink: add TIMESYNC message handler
2017-03-30 08:50:37 +09:00
Peter Barker
d6807d749c
GCS_MAVLink: make send_statustext virtual
2017-02-23 23:03:54 -08:00
Peter Barker
cc28ff49e9
GCS_MAVLink: support for a singleton
2017-02-13 09:32:01 +11:00
Michael du Breuil
50346de963
GCS_MAVLink: Update for AHRS NED changes
2017-02-13 09:23:14 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
285c02b8b6
GCS_MAVLink: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is
2017-02-07 11:41:12 +11:00
Lucas De Marchi
4e7b65260d
GCS_MAVLink: shut up mavlink warnings
2017-02-06 09:27:22 -08:00
murata
4a60850558
GCS_MAVLink: Unify from print or println to printf.
2017-01-27 18:20:22 +11:00
Peter Barker
acb5ddd140
GCS_MAVLink: issue MISSION_COUNT packet if seq request too large
2017-01-23 09:07:29 +11:00
Andrew Tridgell
0942291e74
GCS_MAVLink: adapt to new RC_Channel API
2017-01-12 17:39:37 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea
Spell in comments
2017-01-06 10:57:39 -08:00
priseborough
809bfc1154
GCS_MAVLink: replace call to EKF1
...
Return hagl from primary EKF
2016-12-19 08:07:11 +11:00
Andrew Tridgell
8b8837ab72
GCS_MAVLink: fixed build
2016-12-05 16:51:49 -08:00
Andrew Tridgell
eaf378cbf0
GCS_MAVLink: updated optical flow send
2016-11-26 12:27:41 +11:00
Andrew Tridgell
b3ac4fcb72
GCS_MAVLINK: speed up USB log download
...
makes it about 2x as fast on Pixhawk
2016-11-20 18:41:25 +11:00
Francisco Ferreira
7463d4c8f7
GCS_MAVLink: add function to send command requesting vehicle position during accel cal
2016-11-15 11:42:54 -08:00
Andrew Tridgell
f62851f780
GCS_MAVLink: added remote device operations
...
this makes debugging devices much easier. You can even write a
primitive SPI or I2C device driver over mavlink.
Support for this is in the devop MAVProxy module
2016-11-09 17:08:10 +11:00
Andrew Tridgell
da7ed73051
GCS_MAVLlink: added handle_common_message()
...
this will make it easier to add common functions for mavlink messages
without having to do a commit for each vehicle
2016-11-09 17:08:09 +11:00
floaledm
9f8d2f0506
GCS_MAVLink: send status_text messages to Frsky lib queue
2016-11-08 07:42:39 +11:00
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
2016-11-02 16:04:47 -02:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
a847520da8
GCS_MAVLink: send RC_CHANNELS_RAW if using MAVLink1
...
this fixes issue #5010
2016-10-18 18:16:16 +11:00
Andrew Tridgell
792f3b8a15
GCS_MAVLink: added handle_rc_bind()
2016-10-15 21:42:38 +11:00
Andrew Tridgell
f01f711ff6
GCS_MAVLink: added accept_packet() hook
...
this will allow vehicles to control whether packets are accepted by
GCS sysid or not
2016-10-15 17:11:01 +11:00
Andrew Tridgell
c1bf23e090
GCS_MAVLink: fixed comment
2016-10-14 11:40:36 +11:00
Andrew Tridgell
53260969bb
GCS_MAVLink: removed deprecated RC_CHANNELS_RAW and use RC_CHANNELS only
2016-10-13 21:23:39 +11:00
Andrew Tridgell
5e829e7720
GCS_MAVLink: most users don't have signing keys
...
prevent noise on startup
2016-10-13 19:58:00 +11:00
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
2016-10-11 13:03:08 +11:00
Matthew Brener
06388b0417
Global: Fix typos
2016-09-17 00:36:36 -03:00
Andrew Tridgell
66073413a8
GCS_MAVLink: announce MAVLink2 capability
2016-09-16 09:47:55 +10:00
Niti Rohilla
cadd95fdd8
GCS_MAVLink: Added sanity check for DO_JUMP command on mission load.
2016-09-06 00:40:47 -07:00
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
2016-09-06 08:55:04 +10:00
Andrew Tridgell
cfd7268bd5
GCS_MAVLink: check the signing key magic on load
...
or we end up with a bad key when MAVLink2 is first enabled
2016-09-04 19:28:48 +10:00
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.
2016-08-24 10:47:12 -03:00
Andrew Tridgell
1fa137caad
GCS_MAVLink: added handle_preflight_reboot()
2016-08-16 12:53:33 +10:00
Peter Barker
aae84b3edc
GCS_MAVLink: send_collision_all
2016-07-25 20:24:37 +09:00
Peter Barker
7bc9a1cf83
GCS_MAVLink: break out a packetReceived function
...
This just moves code, doesn't change it
2016-07-25 20:24:37 +09:00
Andrew Tridgell
306487cad4
GCS_MAVLink: adjust for 16 channels in SERVO_OUTPUT_RAW
2016-07-25 10:06:02 +10:00
Tom Pittenger
fc02908c0d
Revert "GCS_MAVLink: coverity scan - variables not initialized in constructor"
...
This reverts commit bd8debdf8b
.
2016-07-11 22:01:50 -07:00
Tom Pittenger
a74e86c234
GCS_MAVLink: coverity scan - computed value overwritten without use for SITL
...
- when building for SITL we should just skip the num_sends work instead of overwriting the value
2016-07-05 13:32:29 -07:00
Tom Pittenger
bd8debdf8b
GCS_MAVLink: coverity scan - variables not initialized in constructor
2016-07-05 13:32:24 -07:00
Andrew Tridgell
a331542958
GCS_MAVLink: fixed typo
2016-07-01 15:35:49 +10:00
Michael du Breuil
c2da36d505
GCS_MAVLink: fix race condition when recieving last waypoint
...
only shows up when the waypoint is about to time out
2016-06-27 10:57:14 +10:00
Tom Pittenger
4fe94bdea3
GCS_MAVLink: add ADSB_streamrate
2016-06-19 11:24:30 -07:00
Tom Pittenger
3a38e29b39
GCS_MAVLink: do not auto-forward ADSB_VEHICLE packets
2016-06-19 11:24:29 -07:00
Tom Pittenger
b4b0ec404c
GCS_MAVLink: flag a link as active if it ever sends a message
2016-06-13 18:25:26 -07:00
Tom Pittenger
8b405e26ea
GCS_MAVLink: battery2 current is in 10*mAh over mavlink
2016-06-02 16:59:29 -07:00
Tom Pittenger
4e4bc0bee4
GCS_MAVLink: use voltage(x) instead of voltage2()
2016-06-02 16:59:23 -07:00
Tom Pittenger
608fbee867
GCS_MAVLink: send current2 over mavlink
2016-06-02 16:59:03 -07:00
Andrew Tridgell
b855c70139
GCS_MAVLink: don't route RADIO and RADIO_STATUS packets
...
they don't mean anything off the local link
2016-05-31 22:13:05 +10:00
Peter Barker
1e146256cc
GCS_MAVLink: move telemetry_delayed up into base class
2016-05-31 08:46:09 +10:00
Peter Barker
e828525c94
GCS_MAVLink: adjust_rate_for_stream_trigger is no longer virtual
2016-05-29 21:24:41 +10:00
Peter Barker
43fed65f37
GCS_MAVLink: move adjust_rate_for_stream up
2016-05-29 19:38:49 +10:00
Peter Barker
03ded35d7c
GCS_MAVLink: update routing example for mavlink namespacing
2016-05-29 16:21:21 +10:00
Peter Barker
56114dd37a
GCS_MAVLink: use subclasses in vehicle directories
...
Instead of the vehicles defining functions that are declared in the libraries directory, they will now create subclasses of GCS_MAVLINK
2016-05-29 16:21:20 +10:00
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
2016-05-28 15:08:46 +10:00
Andrew Tridgell
64e105464d
GCS_MAVLink: fixed disabling of signing remotely
2016-05-24 07:25:54 +10:00
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
2016-05-23 23:41:01 +10:00
Andrew Tridgell
273c80116a
GCS_MAVLink: added a wrapper for sending HEARTBEAT
...
will be used to cope with old radios with MAVLink2
2016-05-21 15:25:17 +10:00
Andrew Tridgell
8899455ea3
GCS_MAVLink: use extended MEMINFO message
2016-05-21 15:25:17 +10:00
Andrew Tridgell
cd1f43a6ce
GCS_MAVLink: use generated target_system and target_component offsets
2016-05-21 15:25:17 +10:00
Andrew Tridgell
018b1143d2
GCS_MAVLink: handle difference between SERIALn_PROTOCOL=1 and 2
2016-05-21 15:25:17 +10:00
Andrew Tridgell
b3f94184f2
GCS_MAVLink: always build with MAVLink2 headers
2016-05-21 15:25:16 +10:00
Andrew Tridgell
ef4d7e5618
GCS_MAVLink: fixed build with mavlink1
2016-05-21 15:25:15 +10:00
Andrew Tridgell
048fc8d39e
GCS_MAVLink: adjust for min_length mavlink2 API change
2016-05-21 15:25:15 +10:00
Andrew Tridgell
318ec69465
GCS_MAVLink: added periodic saving of signing key
...
thanks to Michael for noticing this was missing
2016-05-21 15:25:15 +10:00
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
2016-05-21 15:25:14 +10:00
Andrew Tridgell
006b9728d0
GCS_MAVLink: updates for 24 bit msgid
2016-05-21 15:25:14 +10:00
Andrew Tridgell
a05679fb3b
GCS_MAVLink: fixed build after rebase
2016-05-21 15:25:14 +10:00
Andrew Tridgell
7aae93e3e0
GCS_MAVLink: fixed auto-switching to MAVLink2
2016-05-21 15:25:14 +10:00
Andrew Tridgell
4ba09671a4
GCS_MAVLink: support disabling signing with zero key
2016-05-21 15:25:13 +10:00
Andrew Tridgell
c96ed2b4c6
GCS_MAVLink: fixed calculation of GPS timestamp
2016-05-21 15:25:13 +10:00
Andrew Tridgell
970dbf3c8d
GCS_MAVLink: fixed build with MAVLink1
2016-05-21 15:25:13 +10:00
Andrew Tridgell
24eb6afbe9
GCS_MAVLink: provide signing streams and accept_unsigned callback
2016-05-21 15:25:13 +10:00
Andrew Tridgell
ed9a43ca46
GCS_MAVLink: support for mavlink2 signing operations
2016-05-21 15:25:12 +10:00
Andrew Tridgell
8ea9e29fee
GCS_MAVLink: use a fixed signing key for testing
2016-05-21 15:25:12 +10:00
Andrew Tridgell
0ead0ab978
GCS_MAVLink: support mavlink2 build
2016-05-21 15:25:12 +10:00
Ricardo de Almeida Gonzaga
3f92a64b99
GCS_MAVLink: Fix typos
2016-05-13 19:20:05 -03:00
proficnc
c8b3c527f9
GCS_MAVLink: add route mask for blocking MAVlink forwading
2016-05-12 17:44:06 +10:00
Andrew Tridgell
2a2abb8be6
GCS_MAVLink: log parameter changes to DataFlash
...
this means param notifies also get logged in the DF log
2016-05-08 19:12:09 +10:00
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.
2016-05-07 23:49:35 -03:00
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.
2016-05-06 13:11:28 -03:00
Michael du Breuil
a17ea5c121
GCS_MAVLink: Add POSITION_TARGET_GLOBAL_INT to the list of messages
2016-05-01 07:38:23 +10:00
Michael Oborne
848fa27d1c
GCS_MAVLink: support MAVLINK_MSG_ID_MISSION_ITEM_INT
2016-05-01 07:13:45 +10:00
Niti Rohilla
8fcf5cf0c1
Changed the prototype of handle_guided_request() to report error
...
while setting guided points.
2016-04-29 12:39:28 -03:00
Andrew Tridgell
197e72acc0
GCS_MAVLink: fixed null termination bug
...
found with ASAN
2016-04-26 18:20:49 +10:00
Andrew Tridgell
62986957b4
GCS_MAVLink: raise number of mavlink buffers to 5
2016-04-20 09:39:50 +10:00
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.
2016-04-18 13:07:45 +10:00
Lucas De Marchi
a502c0924c
GCS_MAVLink: simplify sanity check
2016-03-30 01:32:45 -03:00
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) {
~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
2016-03-30 01:32:45 -03:00
Lucas De Marchi
c2b5ad46b4
GCS_MAVLink: replace header guard with pragma once
2016-03-16 18:40:44 +11:00
Staroselskii Georgii
6172ed078e
GCS_Mavlink: send power status from all boards
2016-02-27 03:06:50 -03:00
Andrew Tridgell
fe3812c51b
GCS_MAVLink: re-worked text send in terms of ObjectArray
2016-02-24 09:18:06 +11:00
Tom Pittenger
54d2a263fe
GCS_MAVLink: create queue scheme for static statustext msgs
2016-02-24 09:18:05 +11:00
Andrew Tridgell
5080201be6
GCS_MAVLINK: added set_dataflash() method
2016-02-22 12:34:32 +11:00
Jonathan Challinger
ac3b5a4400
GCS_MAVLink: add messages to routing switch statement
2016-01-23 10:35:44 +09:00
Gustavo Jose de Sousa
c2e3f05dbf
waf: ardupilotwaf: prefix build context methods with ap_
...
It helps to distinguish between things from waf and things from ardupilotwaf.
2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa
3d22490397
waf: examples: use methods from bld instead of ardupilotwaf
2016-01-22 20:10:29 -02:00
Andrew Tridgell
5da6082d78
GCS_MAVLink: raise the waypoint receive timeout to 8s
...
this fixes a timeout in autotest
2016-01-20 17:23:36 +11:00
Don Gagne
c13cf70163
GCS_MAVLink: system id output as severity INFO
2016-01-18 09:40:00 +09:00
Gustavo Jose de Sousa
d281067bcc
waf: make example binaries be placed in 'examples' dir
...
This commit makes examples' wscripts use ardupilotwaf.example() instead of
ardupilot.program().
2016-01-15 16:46:41 -02:00
bugobliterator
d7fcc7cd85
GCS_MAVLink: remove obsolete files from GCS_MAVLink dir
2016-01-15 07:28:47 +11:00
Andrew Tridgell
ef151944b8
GCS_MAVLink: regenerate headers
2016-01-09 07:38:54 +11:00
Andrew Tridgell
712a45eb22
GCS_MAVLink: added VTOL_TAKEOFF and VTOL_LAND
2016-01-09 07:38:53 +11:00
Andrew Tridgell
76e3ae190a
GCS_MAVLink: partial merge of common.xml from upstream
2016-01-09 07:38:51 +11:00
Andrew Tridgell
a3d781bf3f
GCS_MAVLink: fixed a valgrind error
2016-01-06 19:54:00 +11:00
Andrew Tridgell
0e8dbe92f0
GCS_MAVLink: fixed string overrun found by asan
2016-01-06 19:53:14 +11:00
Andrew Tridgell
68a46bc1ff
GCS_MAVLink: use AP_Param::count_parameters()
2016-01-06 14:44:37 +11:00
Andrew Tridgell
b052959c61
GCS_MAVLink: re-generated headers
2016-01-02 08:44:49 +11:00
Jonathan Challinger
c2b4235662
GCS_MAVLink: merge mavlink-solo
2016-01-02 08:42:33 +11:00
Jonathan Challinger
41c881cc9e
GCS_MAVLink: temporarily remove GIMBAL_ and GOPRO_ messages pending solo sync
2016-01-02 08:42:33 +11:00
Jonathan Challinger
2a3fe35731
GCS_MAVLink: run xmlpretty.py on ardupilotmega.xml
2016-01-02 08:42:33 +11:00
Jonathan Challinger
2c0657f326
GCS_MAVLink: fix example build
2015-12-29 10:46:35 -08:00
Lucas De Marchi
a096703b06
Global: don't link with AP_Progmem
...
AP_Progmem is not used anymore.
2015-12-27 15:58:12 -02:00
Lucas De Marchi
5f26c951d8
GCS_MAVLink: stop using Progmem.h
2015-12-27 15:58:12 -02:00
DonLakeFlyer
74902012fd
GCS_MAVLink: better mission errors
2015-12-21 16:02:23 +11:00
Tom Pittenger
cf170b2aa7
GCS_MAVLink: generated files
2015-12-19 14:36:16 +09:00
Tom Pittenger
7af717fead
GCS_MAVLink: ADSB msg bug: vert_velocity is supposed to be signed
...
- bug was introduced when changing from floating point to fixed point format
2015-12-19 14:36:13 +09:00
Julien BERAUD
780104dc9c
GCS_MAVLink: Fix build
...
Optical Flow definition is needed
2015-12-18 17:56:06 +11:00
Tom Pittenger
40a84f0589
GCS_MAVLink: recompiled common.xml for adsb
2015-12-09 14:36:29 +11:00
Tom Pittenger
0026b56f0a
GCS_MAVLink: updated adsb mavlink msg - remove floats
...
- convert altitude from float m/s to int32 mm/s
- convert velocities from float m/s to uint16 cm/s
2015-12-09 14:36:29 +11:00
Lucas De Marchi
9f0ff6ec24
GCS_MAVLink: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
Andrew Tridgell
3fcda53d11
GCS_MAVLink: regenerated headers
2015-12-03 13:21:52 +11:00
Peter Barker
31b8432545
GCS_MAVLink: add remote logging messages
2015-12-03 13:21:51 +11:00
Caio Marcelo de Oliveira Filho
6e7b73610d
waf: add waf support
2015-12-03 07:54:30 +11:00
Tom Pittenger
c0c3500d06
GCS_MAVLink: regenerate headers
2015-12-01 17:12:20 -08:00
Tom Pittenger
5a9e632ace
GCS_MAVLink: added squawk to ADSB_vehicle msg
2015-12-01 17:11:44 -08:00
Andrew Tridgell
c34100f6a2
GCS_MAVLink: support FMUv4
2015-11-27 18:54:30 +11:00
Andrew Tridgell
76209de08e
GCS_MAVLink: regenerate headers
2015-11-26 10:25:08 +11:00
Andrew Tridgell
2c7bfc7984
GCS_MAVLink: update ADSB_VEHICLE message
2015-11-26 10:24:56 +11:00
Luis Vale Gonçalves
5e290daac5
GCS_MAVLink: libraries_Text_revision
...
text revision of messages
2015-11-26 08:10:15 +11:00
Tom Pittenger
4b5af2d726
GCS_MAVLink: files generated from new ADSB_VEHICLE msg
2015-11-23 19:45:40 +11:00
Tom Pittenger
af93c8da4e
GCS_MAVLink: new mavlink msg ADSB_VEHICLE
2015-11-23 19:45:40 +11:00
Caio Marcelo de Oliveira Filho
a096c2b72c
GCS_MAVLink: use millis/micros/panic functions
2015-11-20 12:35:34 +09:00
Andrew Tridgell
cefb32566f
GCS_MAVLink: fixed corner case in MAVLink routing
...
when a GCS sends a command to a system ID that isn't our system ID,
the GCS may use a non-advertised component ID such as
MAV_COMP_ID_SYSTEM_CONTROL. Those packets should be fowarded to the
target system even though the target system has not specifically
advertised that target sysid/compid tuple.
2015-11-13 13:38:53 +11:00
lvale
9d88508cc3
GCS_MAVLink: handle_mission_item text severity to info
2015-11-10 13:11:34 +09:00
Peter Barker
368363531f
GCS_MAVLink: provide facilities to send param values to all GCS
2015-11-09 09:23:20 +11:00
Paul Riseborough
dfdacf2ddc
GCS_MAVLink: Accommodate change to EKF2 interface
...
Return euler angles for primary instance
2015-11-08 15:37:28 +11:00
Paul Riseborough
243888e923
GCS_MAVLink: accomodate change in EKF2 interface
2015-11-08 15:37:28 +11:00
Andrew Tridgell
49799257ea
GCS_MAVLink: handle available memory of over 64k in mavlink
2015-11-05 16:09:00 +11:00
Lucas De Marchi
c32d323cd6
GCS_MAVLink: remove check for GPS_RTK_AVAILABLE
2015-11-04 12:14:15 +11:00
Lucas De Marchi
c75c1d84d9
AP_GPS: remove check for GPS_MAX_INSTANCES
...
All supported boards may have more than 1 GPS instance.
2015-11-04 12:14:15 +11:00
Lucas De Marchi
45c472205b
GCS_MAVLink: remove check for AVR CPUs
...
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and
HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be
removed on separate commits.
2015-11-04 12:14:14 +11:00
Lucas De Marchi
039f42d916
GCS_MAVLink: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1
2015-11-04 12:14:13 +11:00
Lucas De Marchi
5244559010
Minimize AP_Progmem.h includes
...
Most of AP_Progmem is already gone so we can stop including it in most
of the places. The only places that need it are the ones using
pgm_read_*() APIs.
In some cases the header needed to be added in the .cpp since it was
removed from the .h to reduce scope. In those cases the headers were
also reordered.
2015-10-30 14:35:32 +09:00
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
2015-10-30 14:35:30 +09:00
Lucas De Marchi
af88ebf477
GCS_MAVLink: remove send_text_P() in favor of send_text()
2015-10-30 14:35:18 +09:00
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
Lucas De Marchi
84d5fb006f
Remove use of Util::{v,}snprintf_P()
...
These are now the same function as Util::snprintf().
2015-10-30 14:35:05 +09:00
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
2015-10-30 14:35:04 +09:00
Tom Pittenger
0d36c4c07b
GCS_MAVLink: version update after generate
2015-10-30 11:16:30 +09:00
Tom Pittenger
bf9d4b5898
GCS_MAVLink: generate adds abort Alt label in MAV_CMD_NAV_LAND
...
code is already implemented and released
2015-10-30 11:15:50 +09:00
Randy Mackay
e9cec1203a
GCS_MAVLink: version update after generate
2015-10-26 16:28:54 +09:00
Randy Mackay
e51498aa45
GCS_MAVLink: generate after adding DO_SEND_BANNER
2015-10-26 16:28:52 +09:00
Jonathan Challinger
36bb5a25a2
GCS_MAVLink: add MAV_CMD_DO_SEND_BANNER
2015-10-26 16:28:49 +09:00
Peter Barker
38ca9dee03
GCS_MAVLink: use simple log entry number to reference df logs
2015-10-21 10:50:32 +11:00
Lucas De Marchi
36150348bb
GCS_MAVLink: remove check for max BARO instances
...
For all supported boards we allow more than 1 baro instance.
2015-10-21 10:05:18 +11:00
Lucas De Marchi
d1ac6cbd4c
GCS_MAVLink: remove check for vibe check
...
For all supported boards we have vibration check.
2015-10-21 10:05:18 +11:00
Lucas De Marchi
ae77c4b692
GCS_MAVLink: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
2015-10-21 10:05:17 +11:00
Caio Marcelo de Oliveira Filho
09579cb6e3
GCS_MAVLink: remove unnecessary includes
2015-10-21 09:16:10 +11:00
Caio Marcelo de Oliveira Filho
ec52df991c
build: compile only the HAL files needed by the board
...
Instead of requiring every program to specify the HAL related modules,
let the build system do it (in practice everything we compiled depended
on HAL anyway). This allow including only the necessary files in the
compilation.
2015-10-21 09:16:07 +11:00
Caio Marcelo de Oliveira Filho
2e464a53c2
AP_HAL: make code not depend on concrete HAL implementations
...
The switching between different AP_HAL was happening by giving different
definitions of AP_HAL_BOARD_DRIVER, and the programs would use it to
instantiate.
A program or library code would have to explicitly include (and depend)
on the concrete implementation of the HAL, even when using it only via
interface.
The proposed change move this dependency to be link time. There is a
AP_HAL::get_HAL() function that is used by the client code. Each
implementation of HAL provides its own definition of this function,
returning the appropriate concrete instance.
Since this replaces the job of AP_HAL_BOARD_DRIVER, the definition was
removed.
The static variables for PX4 and VRBRAIN were named differently to avoid
shadowing the extern symbol 'hal'.
2015-10-21 09:16:07 +11:00
Gustavo Jose de Sousa
f0dee75ab3
GCS_MAVLink: use compass get_{field,offsets}() functions
...
Both functions are equivalent, so we're going to simply use
get_{field,offsets}() instead of get_{field,offsets}_milligauss().
2015-10-15 19:56:08 +09:00
Randy Mackay
d3066fcdad
GCS_MAVLink: send compass vector to GCS in milligauss
2015-10-07 21:35:21 +09:00
Randy Mackay
9b96a2c385
GCS_MAVLink: send_home and send_home_all methods
2015-10-03 12:50:42 +09:00
Randy Mackay
88f32bc86f
GCS_MAVLink: version update after generate
2015-10-03 12:50:39 +09:00
Randy Mackay
544220b599
GCS_MAVLink: generate after importing home-position messages
2015-10-03 12:50:36 +09:00
Randy Mackay
b84b069080
GCS_MAVLink: home-position message defs from upstream
2015-10-03 12:50:33 +09:00
Andrew Tridgell
7a3b59652f
GCS_MAVLink: show EKF2 status via AHRS3 message
2015-09-23 12:22:54 +10:00
Tom Pittenger
583c1fc229
GCS_MAVLink: Add "Abort Alt" description to NAV_LAND mission item p1.
...
This abort Alt value is the altitude used to climb to if a land is aborted.
2015-09-23 09:25:46 +10:00
Andrew Tridgell
5aa54be718
GCS_MAVLink: send SCALED_PRESSURE3 for 3 baros
2015-09-14 14:27:42 +10:00
Andrew Tridgell
afe1fce94e
GCS_MAVLink: regenerate headers
2015-09-14 14:27:42 +10:00
Andrew Tridgell
91623322f9
GCS_MAVLink: added SCALED_PRESSURE3
2015-09-14 14:27:41 +10:00
Daniel Nugent
db8f28f2aa
GCS_MAVLink: version update after generating LANDING_TARGET
2015-09-11 20:56:04 +09:00
Daniel Nugent
3aa0063f31
GCS_MAVLink: generate after updating LANDING_TARGET msg
2015-09-11 20:56:03 +09:00
Daniel Nugent
eba8dcffde
GCS_MAVLink: update LANDING_TARGET from upstream mavlink
2015-09-11 20:56:02 +09:00
Andrew Tridgell
bc4d37c91e
GCS_MAVLink: added severity to send_statustext_all()
2015-09-08 14:29:22 +10:00
Andrew Tridgell
f3e8819d1e
GCS_MAVLink: make send_statustext_all() take a format string
...
this allows for formatted messages to all groundstations in libraries
2015-09-08 13:53:58 +10:00
Siddharth Bharat Purohit
2fb002798c
generate.sh
2015-09-03 16:59:14 +10:00
Siddharth Bharat Purohit
3fc47b33e8
message_definition: add autoreboot option for mag cal
2015-09-03 16:59:14 +10:00
Jonathan Challinger
53fe649016
GCS_MAVLink: add MSG_MAG_CAL_PROGRESS and _REPORT
2015-09-03 16:59:11 +10:00
Jonathan Challinger
b2fff2021f
GCS_MAVLink: re-generate libraries
2015-09-03 16:59:09 +10:00
Jonathan Challinger
1b485ef6ab
GCS_MAVLink: add MAG_CAL messages
2015-09-03 16:59:09 +10:00
squilter
426dab5078
GCS_MAVLink: update severities and remove old enum
2015-08-28 10:04:35 +10:00
squilter
9d3a906602
GCS_Common: accept any type of severity, not just the old enum
2015-08-25 14:04:37 +09:00
squilter
fb1bb3f571
GCS_MAVLink: make arguments mandatory for send_autopilot_version
2015-08-23 09:21:59 +09:00
squilter
c4c63da163
GCS_MAVLink: send_autopilot_version accepts version
2015-08-21 22:40:51 +09:00
Randy Mackay
a317fb40fc
GCS_MAVLink: version update after common.xml change
2015-08-21 22:40:50 +09:00
squilter
c10e90f837
GCS_MAVLink: regenerate common
2015-08-21 22:40:49 +09:00
Randy Mackay
79c9269891
GCS_MAVLink: rename FIRMWARE_VERSION_TYPE and fully qualify items
2015-08-21 22:40:48 +09:00
squilter
6621ecc68f
GCS_MAVLink: Add FIRMWARE_RELEASE_TYPE to common.xml
2015-08-21 22:40:47 +09:00
Tom Pittenger
1dd8b9d363
GCS_MAVLink: add support for try send mission_item_reached
...
also moved most of send_item_reached into common library
2015-08-19 15:26:32 +10:00
Brad Bosch
c87a7c7df9
GCS_MAVLink: Pause to allow serial port to drain.
...
This avoids a race between the UART and the auto flow control code.
2015-08-19 15:20:58 +10:00
Lucas De Marchi
42fadb1845
GCS_MAVLink: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-18 17:12:52 +10:00
squilter
5cd78e722e
GCS_MAVLink: version update after generate
2015-08-17 17:15:48 +09:00
squilter
a77329e855
GCS_MAVLink: generate after flight_termination change
2015-08-17 17:15:45 +09:00
squilter
91479aa39f
GCS_MAVLink: rename flighttermination capability enum
2015-08-17 17:15:42 +09:00
Andrew Tridgell
0fdeb276e3
GCS_MAVLink: regenerate headers
2015-08-12 15:03:50 +10:00
Andrew Tridgell
8f1e1a1b4a
GCS_MAVLink: added RPM MAVLink message
2015-08-12 15:03:49 +10:00
squilter
64a013071a
GCS_MAVLink: update common.h enum
2015-08-11 17:17:44 +10:00
squilter
4cdc87fa62
Common: add 21196 for emergency disarm
2015-08-11 17:17:43 +10:00
squilter
acb33cacac
Common: add two new capabilities
2015-08-11 17:17:43 +10:00
Gustavo Jose de Sousa
d7a2ef3e35
GCS_MAVLink: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:38:25 +10:00
Andrew Tridgell
9352f05133
GCS_MAVLink: fixed bug setting parameters to default values
...
in copter if you try to set RATE_RLL_D to 0 when you haven't
prevviously changed it then it would set it, but would revert on the
next reboot. This is because of the special case handling of a set to
the "default" value. That default value is unaware of the PID
constructors
this fixes that behaviour by forcing a save if the parameter changes
value
2015-08-10 17:27:02 +10:00
Randy Mackay
d0aa1a89cd
GCS_MAVLink: retrieve capabilities from HAL
2015-07-31 14:50:22 +09:00
squilter
c946ce72e8
GCS_MAVLink: add optional param to support capability bitmask
2015-07-31 14:50:10 +09:00
Andrew Tridgell
17b5d54f6b
GCS_MAVLink: use a larger log send queue for Linux
...
often on UDP or TCP with more bandwidth
2015-07-29 14:19:47 +10:00
Randy Mackay
e7df54ca75
GCS_MAVLink: static find_by_mavtype method
2015-07-25 10:53:03 +09:00
Randy Mackay
e092902613
GCS_MAVLink: add find_by_mavtype
2015-07-25 10:52:59 +09:00
Arthur Benemann
e3398648d7
GCS_MAVLink: fix debug formatting
2015-07-21 21:41:34 +09:00
Randy Mackay
521f3dc4b9
GCS_MAVLink: only forward msg once per channel
...
Issue found and alternative fix provided by Arthur Benemann
2015-07-21 21:41:32 +09:00
Randy Mackay
a61129f7f8
GCS_MAVLink: add support for send_mission_item_reached
2015-07-19 12:14:09 +09:00
Andrew Tridgell
18de1c2c47
GCS_MAVLink: send AHRS2 even if we don't have a secondary position
2015-07-17 08:24:49 +10:00
Andrew Tridgell
0679552cf7
GCS_MAVLink: regenerate headers
2015-07-01 12:02:44 +10:00
Andrew Tridgell
44b7c75a4c
GCS_MAVLink: merged upstream mag cal messages for APM
2015-07-01 12:00:23 +10:00
Andrew Tridgell
de11b5394e
GCS_MAVLink: support NSH shell with SERIAL_CONTROL
2015-06-17 20:30:10 +10:00
Andrew Tridgell
a0594bd50e
GCS_MAVLink: regenerate headers
2015-06-17 20:30:10 +10:00
Andrew Tridgell
bdbe1a7553
GCS_MAVLink: added SERIAL_CONTROL_DEV_SHELL
2015-06-17 20:30:09 +10:00
Andrew Tridgell
c415bfe766
GCS_MAVLink: regenerate headers
2015-06-15 09:20:54 +10:00
Andrew Tridgell
3ef44459c8
GCS_MAVLink: added ALTITUDE_WAIT message
2015-06-15 09:17:27 +10:00
Randy Mackay
69e59b2d99
GCS_MAVLink: update version after adding LANDING_TARGET
2015-06-12 21:37:09 +09:00
Randy Mackay
835a203566
GCS_MAVLink: generate after adding LANDING_TARGET
2015-06-12 21:37:07 +09:00
Randy Mackay
94aec19336
GCS_MAVLink: import LANDING_TARGET from upstream
2015-06-12 21:37:04 +09:00
Randy Mackay
76fdfdfcf2
GCS_MAVLink: do not send_vibration on APM2
2015-06-12 21:37:01 +09:00
Randy Mackay
642aa74530
GCS_MAVLink: add send_vibration
2015-06-12 21:36:42 +09:00
Randy Mackay
581e43bd0e
GCS_MAVLink: update version after adding VIBRATION msg
2015-06-12 21:36:39 +09:00
Randy Mackay
afbb670e73
GCS_MAVLink: generate after adding VIBRATION message
2015-06-12 21:36:36 +09:00
Randy Mackay
e677a100c6
GCS_MAVLink: add VIBRATION message to common.xml
2015-06-12 21:36:34 +09:00
Andrew Tridgell
3b48f68cce
GCS_MAVLink: convert example from .pde to .cpp
2015-06-01 17:07:07 +10:00
Andrew Tridgell
f50ee4c44c
GCS_MAVLink: all vehicles now use functors
2015-06-01 15:18:33 +10:00
Andrew Tridgell
a57889e3b0
GCS_MAVLink: re-generate headers
2015-05-27 14:28:49 +10:00
Andrew Tridgell
0ed7fda41d
GCS_MAVLink: added ACCZ and STEER PID_TUNING axes
2015-05-27 14:28:49 +10:00
Andrew Tridgell
0fe04a93ce
GCS_MAVLink: rebuilt headers
2015-05-27 14:28:45 +10:00
Andrew Tridgell
cc80fdf593
GCS_MAVLink: added PID_TUNING message
2015-05-27 14:28:45 +10:00
Andrew Tridgell
4fdfa47ca3
GCS_MAVLink: removed BUILD_DELEGATES code
...
no longer needed
2015-05-26 14:35:12 +10:00
Lucas De Marchi
58847bffd6
GCS_MAVLink: allow to use functor
2015-05-26 13:46:50 +10:00
Lucas De Marchi
82d22992bd
GCS_MAVLink: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
2015-05-26 13:46:49 +10:00
Andrew Tridgell
958d8b4787
GCS_MAVLink: update from upstream headers
2015-05-25 12:20:27 +10:00
Andrew Tridgell
2f7facba40
GCS_MAVLink: removed old MAVLink 0.9 headers
2015-05-25 10:19:47 +10:00
Andrew Tridgell
84726e4a3a
GCS_MAVLink: use APM_BUILD_DELEGATES
2015-05-21 07:48:52 +10:00
Andrew Tridgell
71b550d7b5
GCS_MAVLink: support member functions for rover
2015-05-21 07:48:47 +10:00
Randy Mackay
559684b257
GCS_MAVLink: fix flow control check
...
Thanks to Tridge for spotting is
2015-05-15 15:39:34 +09:00
Randy Mackay
85eeba93c0
GCS_MAVLink: mavlink_comm_port to array
2015-05-15 15:07:31 +09:00
Randy Mackay
62e7e8cc7d
GCS_MAVLink: add support for 4th mavlink chan on PX4
2015-05-15 15:07:23 +09:00
Tom Pittenger
d94c95a6ef
GCS_MAVLink: return true if mission recieve is complete
...
when handing a mission item, and that is the last item, return true so that whoever is handling this knows we have a new mission list. From here we can log a new mission
2015-05-08 21:01:51 +10:00
Andrew Tridgell
2d89b8b53d
GCS_MAVLink: fix for HAL_SITL rename
2015-05-05 09:45:56 +10:00
Randy Mackay
b55367ccc7
GCS_MAVLink: fix example sketch
2015-04-29 10:18:57 +09:00
Andrew Tridgell
4e86a6cd0e
GCS_MAVLink: merged upstream header changes
2015-04-27 09:00:38 +10:00
Andrew Tridgell
fdac41dbab
GCS_MAVLink: re-generate headers
2015-04-25 09:12:16 +10:00
Michael Day
98d7f943ef
GCS_MAVLink: Added definition for MAV_CMD_NAV_LOITER_TO_ALT
2015-04-25 09:12:16 +10:00
Niels Joubert
2a5b25ddbf
GCS_MAVLink: Re-enable GPS Injection Packets
2015-04-24 08:01:32 +10:00
Randy Mackay
26383183d2
GCS_MAVLink: version update after generate
2015-04-21 22:22:54 +09:00
Randy Mackay
48c6803717
GCS_MAVLink: generate after fixing camera feedback flags
2015-04-21 22:22:52 +09:00
Randy Mackay
8e2616ddcf
GCS_MAVLink: prefix camera feedback flags
2015-04-21 22:22:49 +09:00
Dario Lindo Andres
a21d328b93
GCS_Mavlink: Update ardupilotmega.xml
...
Define PHOTO flag on CAMERA_FEEDBACK_FLAGS.
2015-04-21 22:22:47 +09:00
Randy Mackay
924a3b2c67
GCS_MAVLink: version update after generate
2015-04-21 21:47:13 +09:00
Randy Mackay
9f10c43708
GCS_MAVLink: generate after GIMBAL/GOPRO msgs added
2015-04-21 21:47:12 +09:00
Angus Peart
86b81120fd
GCS_MAVLink: update gopro message definitions
2015-04-21 21:45:53 +09:00
Jonathan Challinger
2053d5e42e
GCS_MAVlink: add GIMBAL_ and GOPRO_ messages
2015-04-21 21:40:05 +09:00
Randy Mackay
1f705eb6a3
GCS_MAVLink: add send_to_components method
2015-04-20 13:50:04 +09:00
Andrew Tridgell
35bac3ab4f
GCS_MAVLink: regenerate without mavlink_frame_char changes
2015-04-06 16:43:02 -07:00
Andrew Tridgell
33824e0b2f
GCS_MAVLink: re-ran generate.sh
2015-04-06 16:30:16 -07:00
Jonathan Challinger
73b8890bd3
GCS_MAVLink: move GIMBAL_REPORT and GIMBAL_CONTROL and reserve messages
2015-04-06 16:29:02 -07:00
Mike Clement
c5c40adb76
GCS_MAVLink: use instance in find_baudrate
2015-04-06 14:47:51 -07:00
Andrew Tridgell
6e52ef2a74
GCS_MAVLink: added send_local_position()
2015-04-05 09:16:41 -07:00
Andrew Tridgell
82a51e8791
GCS_MAVLink: use AP_Param::set_param_by_name()
2015-04-04 09:01:40 -07:00
Randy Mackay
d738eda59d
GCS_MAVLink: integrate Serial Manager instance
2015-04-01 14:59:23 -07:00
Randy Mackay
5ee67e63ec
GCS_MAVLink: add EKF_STATUS_REPORT to enum
2015-03-12 12:19:58 +09:00
Randy Mackay
3c555fc396
GCS_MAVLink: version number after adding EKF_STATUS_REPORT
2015-03-12 12:19:56 +09:00
Randy Mackay
5aef7e6d1a
GCS_MAVLink: generate after adding EKF_STATUS_REPORT
2015-03-12 12:19:54 +09:00
Randy Mackay
d464344c34
GCS_MAVLink: add EKF_STATUS_REPORT message to xml
2015-03-12 12:19:50 +09:00
Jonathan Challinger
e7efe23fb5
GCS_MAVLink: reserve message IDs for future feature additions
2015-03-10 15:30:14 +09:00
Andrew Tridgell
af7765c57c
GCS_MAVLink: fixed typo
2015-03-07 13:54:58 +11:00
Andrew Tridgell
ac848dc103
GCS_MAVLink: zero packet data before reply in serial control
2015-03-07 13:53:44 +11:00
Andrew Tridgell
2aae594371
GCS_MAVLink: handle serial loopback in routing
2015-03-04 20:24:11 +11:00
Andrew Tridgell
58c92b0158
GCS_MAVLink: added SCALED_IMU3 logging
2015-03-04 19:30:08 +11:00
Andrew Tridgell
79be500e04
GCS_MAVLink: re-generate headers
2015-03-04 19:29:28 +11:00
Andrew Tridgell
eeacbe518b
GCS_MAVLink: update from upstream XML
2015-03-04 19:21:24 +11:00
Randy Mackay
9159c7107d
GCS_MAVLink: version update after LED_CONTROL added
2015-03-02 16:58:03 +09:00
Randy Mackay
26d54398e2
GCS_MAVlink: generate after LED_CONTROL added
2015-03-02 16:58:01 +09:00
Randy Mackay
3fdabb3667
GCS_MAVlink: define LED_CONTROL in ardupilotmega.xml
2015-03-02 16:57:59 +09:00
Andrew Tridgell
4aa8a012de
GCS_MAVLink: re-generate headers (updated stdint.h usage)
2015-02-12 09:13:17 +11:00
Andrew Tridgell
991afa9999
GCS_MAVLink: re-generate headers
2015-02-12 09:03:34 +11:00
Andrew Tridgell
7a6d91035e
GCS_MAVLink: merge upstream changes
2015-02-12 09:03:22 +11:00
Andrew Tridgell
fdcd5ca1a1
GCS_MAVLink: re-generate headers
2015-02-11 20:14:08 +11:00
Andrew Tridgell
b227f8463f
GCS_MAVLink: merge upstream mavlink changes
2015-02-11 20:13:27 +11:00
Andrew Tridgell
8cfe8c5823
GCS_MAVLink: moved send_autopilot_version() to common code
2015-02-11 19:50:40 +11:00
Andrew Tridgell
8e35baaef8
GCS_MAVLink: re-generate headers
2015-02-11 19:13:31 +11:00
Jonathan Challinger
0d1f0f4eb0
GCS_MAVLink: add AUTOPILOT_VERSION_REQUEST
2015-02-11 19:11:30 +11:00
Grant Morphett
3a5eb33d86
GCS_MAVLink: Bug - CLI_ENABLED check should be in vehicle code only.
...
Changes to fix the warnings in rover sitl build.
We are starting the process of resolving all the warnings in the
ardupilot builds of all vehicles and platforms.
2015-02-11 18:16:46 +11:00
Andrew Tridgell
b64077ac2e
GCS_MAVLink: fixed example build
2015-02-09 13:09:29 +11:00
Andrew Tridgell
dd0e45db41
GCS_MAVLink: fixed build of example sketches
2015-02-09 11:49:25 +11:00
Andrew Tridgell
7a5ec6d75b
GCS_MAVLink: allow use of RC_CHANNELS message on AVR too
...
can have up to 11 channels
2015-02-08 21:47:31 +11:00
Andrew Tridgell
1bbe633691
GCS_MAVLink: re-generate headers
2015-02-03 09:49:15 +11:00
Andrew Tridgell
b81cdf9250
GCS_MAVLink: change to delta_time in GIMBAL_REPORT
2015-02-03 09:49:15 +11:00
Andrew Tridgell
35c14c787e
GCS_MAVLink: added handle_gimbal_report() function
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-02-03 09:49:15 +11:00
Andrew Tridgell
a1536d575b
GCS_MAVLink: added GIMBAL msgs to routing
2015-02-03 09:49:14 +11:00
Andrew Tridgell
01325b701a
GCS_MAVLink: re-generate headers
2015-02-03 09:49:14 +11:00
Andrew Tridgell
3b2332a0c7
GCS_MAVLink: added target_system/component to GIMBAL_REPORT
2015-02-03 09:49:14 +11:00
Andrew Tridgell
51ce4d3217
GCS_MAVLink: re-generate
2015-02-03 09:49:14 +11:00
Andrew Tridgell
df735e2ddb
GCS_MAVLink: change euler312 order conventions
2015-02-03 09:49:13 +11:00
Andrew Tridgell
53adcc9a25
GCS_MAVLink: regenerate MAVLink headers
2015-02-03 09:49:13 +11:00
Andrew Tridgell
73670edda6
GCS_MAVLink: added GIMBAL messages, mavlink ID and type
2015-02-03 09:49:13 +11:00
Andrew Tridgell
59d5351dab
GCS_MAVLink: update for new find_serial()
2015-01-29 15:36:19 +11:00
Randy Mackay
0c3a8f585a
GCS_MAVLink: add get_uart accessor
...
use by flight code to print messages during startup
2015-01-29 14:05:12 +11:00
Randy Mackay
1275ff7d40
GCS_MAVLink: have_flow_control uses mavlink_comm
2015-01-29 14:05:12 +11:00
Randy Mackay
1157c13eb6
GCS_MAVLink: mavlink_comm_x become UARTDrivers
2015-01-29 14:05:12 +11:00
Randy Mackay
febda988af
GCS_MAVLink: mavlink_channel from SerialManager
2015-01-29 14:05:11 +11:00
Randy Mackay
c6326fc9b7
GCS_MAVLink: use SerialManager for setup_uart
2015-01-29 14:05:11 +11:00
Randy Mackay
aa7f946e04
GCS_MAVLink: fix example sketch
2015-01-28 17:15:52 +09:00
Jonathan Challinger
d679831c75
GCS_MAVLink: run generate.sh
2015-01-22 15:28:44 +11:00
Jonathan Challinger
0997ab23a4
GCS_MAVLink: merge upstream changes to common.xml
2015-01-22 15:19:47 +11:00
Andrew Tridgell
b1342c2d39
GCS_MAVLink: send SCALED_PRESSURE2 if available
2015-01-09 11:50:57 +11:00
Andrew Tridgell
bb6deb4817
GCS_MAVLink: re-generated headers
2015-01-09 11:50:55 +11:00
Andrew Tridgell
56f682f186
GCS_MAVLink: added SCALED_PRESSURE2 message
2015-01-09 11:50:55 +11:00
Andrew Tridgell
d25bd8955d
GCS_MAVLINK: move send_opticalflow() into common library
2015-01-03 15:53:22 +11:00
Randy Mackay
cf36fd55bd
GCS_MAVlink: correct sending of 2nd battery's voltage
2014-12-31 15:22:49 +09:00
Andrew Tridgell
b5a5b71512
GCS_MAVLink: reverse sense of check_and_forward()
...
also increase number of routes on larger systems and improved route
learning logic
2014-12-17 10:32:28 +11:00
Andrew Tridgell
a967a682a4
GCS_MAVLink: added routing test sketch
2014-12-17 10:32:28 +11:00
Andrew Tridgell
7f817502c4
GCS_MAVLINK: implement new routing rules
...
see description in coments
2014-12-17 10:32:28 +11:00
Randy Mackay
b54b7b7448
GCS_MAVLink: fix compiler error
2014-12-11 16:26:26 +09:00
Andrew Tridgell
ade7f9e1a9
GCS_MAVLink: fixed forwarding of non-targetted messages
2014-12-11 12:32:50 +09:00
Andrew Tridgell
fcf17829cc
GCS_MAVLink: fixed addition to routing table
2014-12-11 12:32:48 +09:00
Andrew Tridgell
079158d4b8
GCS_MAVLink: strip out the old GCS_Class class
...
this is not longer needed as we don't support multiple protocol
classes
2014-12-11 12:32:45 +09:00
Andrew Tridgell
f198cdcf20
GCS_MAVLink: added support for a MAVLink snoop function
...
this can be used to watch messages for different targets
2014-12-11 12:32:32 +09:00
Andrew Tridgell
34be7f808e
GCS_MAVLink: only try to fwd packets to active channels
2014-12-11 12:32:30 +09:00
Andrew Tridgell
f1edd1bafb
GCS_MAVLink: removed use of mavlink_check_target()
...
not needed now we do routing properly, as messages will only be
processed if they are for us
2014-12-11 12:31:06 +09:00
Andrew Tridgell
aa88ba4158
GCS_MAVLink: only call message handler for our own messages
2014-12-11 12:30:59 +09:00
Andrew Tridgell
11f88f0f5d
GCS_MAVLink: added routing object to GCS_MAVLink
2014-12-11 12:30:55 +09:00
Andrew Tridgell
b91529622b
GCS_MAVLink: initial implementation of MAVLink routing object
...
will be used to auto-route packets over all available links
2014-12-11 12:30:50 +09:00
Andrew Tridgell
76c710f596
GCS_MAVLink: removed obsolete headers
2014-12-11 12:30:46 +09:00
Randy Mackay
da247bacf8
GCS_MAVLink: add OPTICAL_FLOW to ap_message enum
2014-12-08 14:58:30 +09:00
Andrew Tridgell
f98e283091
GCS_MAVLink: re-generate with updated upstream mavlink
2014-12-03 10:08:36 +11:00
Michael Day
dca99a9643
GCS_MAVLink: code generation from XML for MAV_CMD_CONTINUE_AND_CHANGE_ALT.
2014-11-25 10:43:15 +11:00
Andrew Tridgell
d5ced15acf
GCS_MAVLink: include units in CONTINUE_AND_CHANGE_ALT
2014-11-25 10:43:14 +11:00
Michael Day
958d8ffacc
GCS_Mavlink: New message def: MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT
2014-11-25 08:49:13 +11:00
Andrew Tridgell
ad0e6dccbb
GCS_MAVLink: re-generate headers
2014-11-18 11:20:44 +11:00
Andrew Tridgell
de294277e9
GCS_MAVLink: cope with new mavlink repo change in mavlink_system_t
2014-11-18 11:20:28 +11:00
Randy Mackay
8ef2948f27
GCS_MAVLink: generate update to version
2014-11-17 15:59:36 -08:00
Randy Mackay
e46be909a4
GCS_MAVLink: generate after mount_status msg change
2014-11-17 15:59:33 -08:00
Arthur Benemann
9b5684d007
GCS_MAVLink: add MOUNT_STATUS to message enum
2014-11-17 15:59:28 -08:00
Arthur Benemann
c5b4121fc7
GCS_MAVLink: MOUNT_STATUS to always be reporting the angle of the gimbal
...
This is useful for GCS trying to plot the camera footprint.
2014-11-17 15:59:21 -08:00
Jonathan Challinger
055d3bee1f
GCS_MAVLink: run generate.sh
2014-11-17 14:38:53 -08:00
Jonathan Challinger
a4f994e8f0
GCS_MAVLink: update MAV_FRAME enum
2014-11-17 14:38:51 -08:00
Andrew Tridgell
682cf02770
GCS_MAVLink: regenerate after merge
2014-11-14 15:25:06 +11:00
Andrew Tridgell
0dba1b370a
GCS_MAVLINK: merge with upstream XML
2014-11-14 15:24:34 +11:00
Andrew Tridgell
c750cbebfb
GCS_MAVLink: prevent asan errors in send_text_all
2014-11-11 15:16:26 +11:00
Arthur Benemann
b48edf479b
GCS_MAVLink: add CAMERA_FEEDBACK to enum
2014-10-31 14:46:40 +09:00
Michael Day
d62b9a7044
GCS_MAVLink: re-generated headers
2014-10-20 08:36:19 +11:00
Andrew Tridgell
e1a88a13a7
GCS_MAVLink: added MAV_CMD_DO_LAND_START
...
see discussion on drones-discuss
2014-10-20 08:36:19 +11:00
Andrew Tridgell
7636cc6971
GCS_MAVLink: merged upstream changes
2014-10-20 08:36:19 +11:00
Andrew Tridgell
60aa017e11
GCS_MAVLink: added handle_set_mode() function
2014-10-01 14:19:04 +10:00
Andrew Tridgell
f6cc8ce5bc
GCS_MAVLink: fixed log erase and log request end
2014-10-01 11:45:51 +10:00
Randy Mackay
47c135c4e1
GCS_MAVLink: add comments around checking target
2014-09-30 15:18:35 +10:00
Randy Mackay
0322a876eb
GCS_MAVLink: check target before erasing log
2014-09-30 15:18:31 +10:00
Randy Mackay
1de89804e5
GCS_MAVLink: version update after adding DO_GRIPPER
2014-09-17 21:14:14 +09:00
Randy Mackay
064e214992
GCS_MAVLink: generate after adding DO_GRIPPER
2014-09-17 21:14:12 +09:00
Randy Mackay
b3bce13bdf
GCS_MAVLink: add MAV_CMD_DO_GRIPPER
2014-09-17 21:14:09 +09:00
Randy Mackay
cffc904671
GCS_MAVLink: version update after generate
2014-09-17 21:14:06 +09:00
Randy Mackay
6b38547fc2
GCS_MAVLink: generate after move of PARACHUTE_ACTION
2014-09-17 21:13:54 +09:00
Randy Mackay
868f1a777d
GCS_MAVLink: version updates after generate
2014-09-17 21:13:52 +09:00
Randy Mackay
69fd7b80aa
GCS_MAVLink: generate run on master
2014-09-17 21:13:50 +09:00
Andrew Tridgell
b69262b054
GCS_MAVLink: rebuild MAVLink headers
2014-09-11 20:16:27 +10:00
Andrew Tridgell
25f6dc2549
GCS_MAVLink: mavlink XML updates from upstream
2014-09-11 20:15:44 +10:00
Andrew Tridgell
6b893a5865
GCS_MAVLink: slow down parameter send a lot with no flow control
2014-08-25 22:19:30 +10:00
Randy Mackay
de747d215a
Revert "GCS_MAVLink: send radio_in using rcmap"
...
This reverts commit 0881ccbee0
.
2014-08-16 20:31:14 +09:00
Randy Mackay
0881ccbee0
GCS_MAVLink: send radio_in using rcmap
2014-08-16 15:27:03 +09:00
Andrew Tridgell
adb9d462aa
GCS_MAVLink: regenerated MAVLink headers
2014-08-14 11:01:59 +10:00
Andrew Tridgell
f9d5715754
GCS_MAVLink: merged latest upstream common.xml
2014-08-14 11:01:41 +10:00
Andrew Tridgell
bc95e746ce
GCS_MAVLink: fixed example sketch builds
2014-08-11 11:06:17 +10:00
Andrew Tridgell
9a1bac06d4
GCS_MAVLink: added send_battery2()
2014-08-09 22:50:14 +10:00
Andrew Tridgell
11025c8da9
GCS_MAVLink: rebuild MAVLink headers
2014-08-09 22:50:14 +10:00
Andrew Tridgell
67e1b66757
GCS_MAVLink: added battery2 message
2014-08-09 22:50:14 +10:00
Andrew Tridgell
f49258eb31
GCS_MAVLink: added send_statustext_all() method
...
used for sending text messages from libraries
2014-08-08 13:54:21 +10:00
Andrew Tridgell
786661ca2b
GCS_MAVLink: better handling of high severity STATUSTEXT messages
2014-08-07 12:55:52 +10:00
Andrew Tridgell
bc560b466e
GCS_MAVLink: regenerate MAVLink headers
2014-08-07 12:34:30 +10:00
Andrew Tridgell
5ed24557b3
GCS_MAVLink: import latest MAVLink XML
2014-08-07 12:34:30 +10:00
Andrew Tridgell
2ebdfce4ea
GCS_MAVLink: avoid integer underflow in mavlink txspace check
2014-07-27 22:18:52 +10:00
Andrew Tridgell
a21998aece
GCS_MAVLink: prevent integer underflow with comm_get_txspace()
2014-07-27 22:12:08 +10:00
Andrew Tridgell
ffd6fa1366
GCS_MAVLink: ignore alignment warnings in MAVLink headers
2014-07-25 17:14:48 +10:00
Andrew Tridgell
e578044661
GCS_MAVLink: added missing generated MAVLink headers
2014-07-25 13:09:31 +10:00
Andrew Tridgell
8a838e6b3d
GCS_MAVLink: regenerate headers
2014-07-25 11:40:01 +10:00
Andrew Tridgell
4e39f97d7a
GCS_MAVLink: merged with upstream
2014-07-25 11:39:48 +10:00
Andrew Tridgell
b8b235c33c
GCS_MAVLink: regenerate MAVLink headers
2014-07-24 21:50:20 +10:00
Andrew Tridgell
6b53f473d9
GCS_MAVLink: added a new TERRAIN_ALT frame type for missions
2014-07-24 21:50:18 +10:00
Andrew Tridgell
0df2dd9092
GCS_MAVLink: added TERRAIN_CHECK and TERRAIN_REPORT messages
2014-07-24 21:45:57 +10:00
Andrew Tridgell
e23ee34d95
GCS_MAVLink: added MSG_TERRAIN
2014-07-24 21:45:46 +10:00
Andrew Tridgell
1ecd4b7fb2
GCS_MAVLink: updated terrain messages
2014-07-24 21:45:46 +10:00
Andrew Tridgell
3020d91dcd
GCS_MAVLink: keep a bitmap of what mavlink channels are active
...
- this will allow for looping over active channels in libraries
- expose active channel mask
2014-07-24 21:45:46 +10:00
Andrew Tridgell
f26bbb6ddb
GCS_MAVLink: added terrain mavlink messages
2014-07-24 21:45:46 +10:00
Andrew Tridgell
8ef9aa0300
GCS_MAVLink: rebuild MAVLink headers
2014-07-24 21:40:16 +10:00
Andrew Tridgell
3d2460bd42
XML: resolved conflicts in MAV_CMD_ enum
...
this moves a couple of commands to be MAV_CMD_DO_ commands, after
discussions with Lorenz and Randy
2014-07-24 21:40:16 +10:00
Andrew Tridgell
0f24c43b0c
GCS_MAVLink: merged latest changes from upstream
2014-07-24 21:38:31 +10:00
Andrew Tridgell
ddb030088d
GCS_Mavlink: moved some more mavlink functions to GCS_Common.cpp
2014-07-13 15:37:49 +10:00
Randy Mackay
2c1fa5f1e8
GCS_MAVLink: generate after adding deprecated note to SET_MAG_OFFSETS
2014-07-10 20:25:02 +09:00
Randy Mackay
798c749833
GCS_MAVLink: add deprecated note to SET_MAG_OFFSETS
2014-07-10 20:25:00 +09:00
Randy Mackay
05225636da
GCS_MAVLink: generate after adding second mag to PREFLIGHT_SET_SENSOR_OFFSETS
2014-07-10 20:24:58 +09:00
Randy Mackay
bf6fd6f984
GCS_MAVLink: add second mag to PREFLIGHT_SET_SENSOR_OFFSETS
...
Updates the comments for parameter 1 only, this does not affect the
message format.
2014-07-10 20:24:55 +09:00
Randy Mackay
34b91496f9
GCS_MAVLink: generate after adding CMD_NAV_VELOCITY
2014-07-06 17:00:57 +09:00
Randy Mackay
35167c262e
GCS_Mavlink: add MAV_CMD_NAV_VELOCITY
...
This is an earth frame velocity request message
2014-07-06 17:00:55 +09:00
Randy Mackay
9103899048
GCS_Common: minor typo in comments
2014-07-06 17:00:52 +09:00
Randy Mackay
be003c1906
GCS_MAVLink: generate after adding CMD_NAV_GUIDED
2014-07-06 17:00:24 +09:00
Randy Mackay
05c63592ce
GCS_MAVLink: add CMD_NAV_GUIDED to ardupilotmega.xml
2014-07-06 17:00:21 +09:00
Andrew Tridgell
bed5db35c7
GCS_MAVLink: fixed missing header
2014-07-01 14:57:41 +10:00
Andrew Tridgell
4c22aa20ad
GCS_MAVLink: regenerate headers
2014-07-01 14:26:44 +10:00
Andrew Chapman
7cdd5a700b
CameraFeedback: alt rel/msl, renamed CAMERA_EVENT
...
- include both “alt_msl” and “alt_rel”
- rename CAMERA_EVENT to CAMERA_STATUS
- clarify comments regarding message origin and order
- change pitch/roll/yaw to be camera rather than vehicle, earth frame
2014-07-01 14:25:55 +10:00
Andrew Tridgell
544d872d65
GCS_MAVLink: fixed a shadowed variable
2014-07-01 09:18:20 +10:00
Andrew Tridgell
773bc7bcbe
GCS_MAVLink: added missing RTK headers
2014-06-30 20:06:34 +10:00
Andrew Tridgell
bcb3d1af14
GCS_MAVLink: fixed flymaple build
...
has dual GPS but no RTK support
2014-06-30 10:51:19 +10:00
Andrew Tridgell
fc11deb547
GCS_MAVLink: regenerate headers
2014-06-30 10:31:11 +10:00
Niels Joubert
baf0697f48
GCS_MAVLink: Add support for GPS_RTK messages
2014-06-30 10:30:16 +10:00
Niels Joubert
ad5311c089
MAVLink: New message definitions for GPS_RTK
2014-06-30 10:29:57 +10:00
Andrew Tridgell
1ed716976c
GCS_MAVLink: regenerate mavlink headers
2014-06-30 08:25:16 +10:00
Andrew Chapman
c6a76e8d97
CameraFeedback: added CAMERA_FEEDBACK_FLAGS for open/closed loop
...
This is so a GCS can tell if a certain picture was definitely captured
(e.g. with a CCB or machine vision cam) or only requested in the blink
(e.g. uni-directional CHDK)
2014-06-30 08:24:38 +10:00
Andrew Tridgell
e2fe3d2de7
GCS_MAVLink: re-generate headers
2014-06-17 20:21:54 +10:00
Andrew Tridgell
0db226daf5
GCS_MAVLink: merge in upstream changes
2014-06-17 20:19:35 +10:00
Andrew Chapman
87fcfbf9dd
GCS_MAVLink: re-generate MAVLink headers
2014-06-17 20:16:39 +10:00
Andrew Chapman
048767e389
GCS_MAVLink: camera feedback mavlink messages
...
CAMERA_EVENT and CAMERA_FEEDBACK messages, and a couple of enums they
use (CAMERA_EVENT_TYPES and CAMERA_FEEDBACK_FLAGS)
Adjusted some types and added more explicit descriptions of units as
suggested on the call last week.
I will add camera parameter list/get/set functionality as suggested
using the existing parameter mechanism and component IDs rather than
the new CAMERA_INFO messages I had proposed.
2014-06-17 20:15:20 +10:00
Andrew Tridgell
ef4a79cc9a
GCS_MAVLink: rebuild MAVLink headers
2014-06-05 15:44:03 +10:00
Andrew Tridgell
67937b5b79
GCS_MAVLink: added MAV_CMD_DO_INVERTED_FLIGHT
...
used to invert from a mission
2014-06-05 15:43:46 +10:00
Andrew Tridgell
0b6407256c
GCS_MAVLink: moved 3 more send_*() functions to GCS_Common.cpp
2014-05-28 09:35:30 +10:00
Andrew Tridgell
63da53c842
GCS_MAVLink: moved main update() routine into GCS_Common.cpp
...
this fixes a common timeout error with loading large missions, and
means less per-vehicle code
2014-05-21 12:45:25 +10:00
Andrew Tridgell
49e7ee9ba7
GCS_MAVLink: added setup_uart() method
...
this provides a common way of dealing with UART setup for a GCS
instance. It includes code to cope with SiK radios stuck in bootloader
mode.
2014-05-16 11:44:33 +10:00
Andrew Tridgell
79edc4b467
GCS_MAVLink: re-generate with addition of MAV_SYS_STATUS_AHRS
2014-05-15 21:14:21 +10:00
Andrew Tridgell
ccebeba5a5
GCS_MAVLink: added MAV_SYS_STATUS_AHRS
...
will be used to indicate AHRS health
2014-05-15 21:14:21 +10:00
Andrew Tridgell
5d2d6e0063
GCS_MAVLink: regenerated MAVLink headers
2014-05-15 21:14:21 +10:00
Andrew Tridgell
983ac9cbf4
GCS_MAVLink: merge in latest upstream XML changes
2014-05-15 21:14:21 +10:00
Randy Mackay
6517638670
GCS_MAVLink: generate after adding DO_MOTOR_TEST
2014-04-29 11:23:07 +09:00
Randy Mackay
28846c6c99
GCS_MAVLink: add DO_MOTOR_TEST message
2014-04-29 11:23:04 +09:00
Andrew Tridgell
cf9b67d8fc
GCS_MAVLink: prevent uninitialised bytes being written to a serial port
2014-04-27 15:34:30 +10:00
Randy Mackay
a682f652d0
GCS_MAVLink: generate after MAV_CMD_DO_PARACHUTE added
2014-04-07 13:36:53 +09:00
Randy Mackay
cec7574465
GCS_MAVLink: add MAV_CMD_DO_PARACHUTE
2014-04-07 13:36:52 +09:00
Andrew Tridgell
b8675b9abc
GCS_MAVLink: implement SERIAL_CONTROL MAVLink message
2014-04-05 07:34:33 +11:00
Andrew Tridgell
493c5dd63f
GCS_MAVLink: rebuild MAVLink headers
2014-04-04 21:57:22 +11:00
Andrew Tridgell
14b3696959
GCS_MAVLink: added SERIAL_CONTROL message definition
...
will be used for on-board radio and GPS firmware update and control
over USB
2014-04-04 21:57:22 +11:00
Andrew Tridgell
013aaf4d3e
GCS_MAVLink: moved comms functions to not be inline
...
saves a bit of flash space
2014-04-04 13:19:15 +11:00
Randy Mackay
e7be622eef
GCS_MAVLink: generate after adding NAV_SPLINE cmd
2014-03-28 09:23:28 +09:00
Randy Mackay
519d5fc444
GCS_MAVLink: add MAV_CMD_NAV_SPLINE_WAYPOINT cmd
...
This is the same as a NAV_WAYPOINT except that the vehicle flies a
spline curved path to the destination
2014-03-28 09:23:23 +09:00
Michael Day
e1d193f539
GCS_MAVLink: Generated code from message additions for autofence.
2014-03-27 09:26:20 +11:00
Michael Day
c5ebd120f1
GCS_MAVLink: XML for MAV_CMD_DO_FENCE_ENABLE and MAV_SYS_STATUS_GEOFENCE
2014-03-27 09:26:20 +11:00
Andrew Tridgell
64772cede8
GCS_MAVLink: rebuild MAVLink headers
2014-03-25 14:47:43 +11:00
Andrew Tridgell
d24547b390
GCS_MAVLink: merge latest msgs from upstream
2014-03-25 14:47:05 +11:00
Andrew Tridgell
f05b90bfd2
GCS_MAVLink: fixed some compiler warnings
2014-03-24 12:52:39 +11:00
Randy Mackay
3efad982c0
GCS_Mavlink: return MISSION_INVALID when conversion fails
...
Requested by MichaelO to allow better error message to be displayed to
user when the mission upload from the GCS to vehicle fails
2014-03-22 11:29:36 +09:00
Andrew Tridgell
d508c7f37f
GCS_MAVLink: re-generate MAVLink headers
2014-03-20 10:21:28 +11:00
Andrew Tridgell
106fda773f
GCS_MAVLink: merge XML from upstream
2014-03-20 10:20:00 +11:00
Andrew Tridgell
8af9573806
GCS_MAVLink: allow logging of RADIO_STATUS, very useful for link analysis
2014-03-20 09:56:37 +11:00
Andrew Tridgell
0832aba6bc
GCS_MAVLINK: moved deferred message handling into common code
2014-03-19 12:14:15 +09:00
Andrew Tridgell
8d89a64312
GCS_MAVLink: moved handling of MISSION_ITEM into common code
2014-03-19 12:14:09 +09:00
Andrew Tridgell
965f6bd3bd
GCS_MAVLink: make DataFlash a pointer
...
handle sketches where DataFlash is not available
2014-03-19 12:13:37 +09:00
Andrew Tridgell
b85c5123b2
GCS_MAVLink: added save parameter to handle_request_data_stream()
...
this allows copter to not save stream rate changes
2014-03-19 12:13:35 +09:00
Andrew Tridgell
79bb14b8c1
GCS_MAVLink: moved RADIO_STATUS handling into common code
2014-03-19 12:13:34 +09:00
Andrew Tridgell
144217ac74
GCS_MAVLink: moved parameter and stream handling into common code
...
this keeps it in common between vehicles, and saves stack space
2014-03-19 12:13:32 +09:00
Andrew Tridgell
06c578eb34
GCS_MAVLink: re-generate MAVLink headers
2014-03-19 12:13:31 +09:00
Andrew Tridgell
0b811ba6a9
GCS_MAVLink: added have_flow_control() method
...
can be used to change speed of handling some protocol methods, as we
know communication will be reliable
2014-03-19 12:13:25 +09:00
Randy Mackay
c462adf2ee
GCS_MAVLink: added five handle_mission methods
...
The five methods moved from the vehicle specific code are
handle_mission_request_list, set_current, count, clear_all and
write_partial_list
2014-03-19 12:13:19 +09:00
Randy Mackay
3938fb7255
GCS_MAVLink: loiter direction removed
...
This is now handled in Mission library
2014-03-19 12:13:18 +09:00
Andrew Tridgell
add2416dbe
GCS_MAVLink: added handle_mission_request() common function
...
this handles requests for mission items, using stack saving
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:10 +09:00
Andrew Tridgell
ce29bbe394
GCS_MAVLink: save some memory in log download
...
use an existing buffer instead of using the mavlink _send()
function. This saves some stack space in log download
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:09 +09:00
Andrew Tridgell
beb6123576
GCS_MAVLink: send a "zero logs" message when no logs available
2014-03-11 17:12:22 +11:00
Andrew Tridgell
d9e8c34a89
GCS_MAVLink: allow for proxying of larger MAVLink messages on PX4
...
this makes it possible to deal with large MAVLink messages
2014-03-11 13:48:25 +11:00
Randy Mackay
aa5ea23245
GCS_MAVLink: regenerate for COMPASSMOT_STATUS msg
2014-02-19 16:04:08 +11:00
Randy Mackay
a7c25ec649
GCS_MALink: improved generate.sh failure msg
2014-02-19 16:04:05 +11:00
Andrew Tridgell
50cbc661ef
GCS_MAVLink: added new COMPASSMOT_STATUS message
2014-02-19 16:03:57 +11:00
Andrew Tridgell
0bbe038587
GCS_MAVLink: re-generate MAVLink headers
2014-02-15 05:48:24 +11:00
Andrew Tridgell
9aea781248
GCS_MAVLink: moved send_ahrs2 to common code
2014-02-15 05:48:16 +11:00
Andrew Tridgell
18aa08d5c3
GCS_MAVLink: added AHRS2 mavlink msg
2014-02-15 05:29:45 +11:00
Andrew Tridgell
154eb76f4f
GCS_MAVLink: new MAVLink headers
2014-02-15 05:29:45 +11:00
Andrew Tridgell
a1aebc0c15
GCS_MAVLink: update from upstream
2014-02-15 05:29:23 +11:00
Andrew Tridgell
0e10554dc0
GCS_MAVLink: rename EKF message to AHRS2
2014-02-15 05:28:10 +11:00
Andrew Tridgell
68283b7aa1
GCS_MAVLink: new ekf header
2014-02-15 05:28:07 +11:00
Andrew Tridgell
b4153c4d32
GCS_MAVLink: added EKF message for debugging
2014-02-15 05:27:54 +11:00
Andrew Tridgell
87355127ca
GCS_MAVLink: added send_power_status()
2014-02-15 05:00:09 +11:00
Andrew Tridgell
8797f38038
GCS_MAVLink: regenerate MAVLink headers
2014-02-15 05:00:08 +11:00
Andrew Tridgell
0cbd5a2ef0
GCS_MAVLink: added POWER_STATUS message
2014-02-15 05:00:08 +11:00
Andrew Tridgell
0aebc18b3f
GCS_MAVLink: return early from log send if no log data to send
2014-02-14 21:51:00 +11:00
Andrew Tridgell
1497c33178
GCS_MAVLink: run a bit faster on serial ports with flow control
...
with flow control we can afford to push the radio a bit harder
2014-02-14 21:51:00 +11:00
Andrew Tridgell
81c5edbdb5
GCS_MAVLink: fixed a log download bug for repeated downloads
...
we were not resetting the offset to 0 correctly
2014-02-14 21:50:59 +11:00
Andrew Tridgell
b5a16a07d3
GCS_MAVLink: support LOG_REQUEST_END
2014-01-14 13:51:20 +11:00
Andrew Tridgell
2ce1b14cbb
GCS_MAVLink: removed unused variable
2013-12-29 18:39:12 +11:00
Andrew Tridgell
87226fed97
GCS_MAVLink: avoid log scans when possible
...
don't scan logs when the GCS sends a new data request
2013-12-29 15:00:19 +11:00
Andrew Tridgell
c1115bd440
GCS_MAVLink: pushed num_sends higher for faster USB log transfer
...
up to 169 kbyte/sec on pixhawk
2013-12-28 16:01:01 +11:00
Andrew Tridgell
af124a8a45
GCS_MAVLink: moved send_meminfo() to GCS_Common.cpp
2013-12-28 16:00:19 +11:00
Andrew Tridgell
efc7f88e4b
GCS_MAVLink: sped up downloading DF logs over MAVLink
2013-12-28 14:25:54 +11:00
Andrew Tridgell
6d356efa22
GCS_MAVLink: moved some more functions into GCS_Common.cpp
2013-12-17 12:00:44 +11:00
Andrew Tridgell
137137d4e1
GCS_MAVLink: remove unused header
2013-12-17 11:51:36 +11:00
Andrew Tridgell
ec584de0c2
GCS_MAVLink: prevent valgrind warnings on unfilled data
2013-12-17 11:51:36 +11:00
Andrew Tridgell
0a9e2d332a
GCS_MAVLink: support erase and faster downloads
2013-12-17 11:51:35 +11:00
Andrew Tridgell
9d46f893e6
GCS_MAVLink: new headers for log download
2013-12-17 11:51:35 +11:00
Andrew Tridgell
d034a4108b
GCS_MAVLink: started adding MAVLink log download
2013-12-17 11:51:35 +11:00
Andrew Tridgell
e8f48af1b5
GCS_MAVLink: re-generate MAVLink headers
2013-12-17 11:51:35 +11:00
Andrew Tridgell
028eceefc4
GCS_MAVLink: import new mavlink XML
2013-12-17 11:51:35 +11:00
Andrew Tridgell
eb2cb0abe0
Copter: moved GCS.h to common library
2013-12-17 11:51:34 +11:00
Andrew Tridgell
059324f9da
GCS_MAVLink: added new message header
2013-12-10 15:32:11 +11:00
Andrew Tridgell
df001faf34
GCS_MAVLink: re-generate MAVLink headers
2013-12-09 17:34:06 +11:00
Andrew Tridgell
704ddddfaa
GCS_MAVLink: update from upstream XML
2013-12-09 17:34:06 +11:00
Andrew Tridgell
ac24ff0b1e
GCS_MAVLink: added support for 3 UARTs
...
support 3 UARTs on non-AVR platforms
2013-11-23 19:29:22 +11:00
Andrew Tridgell
8d227b801f
GCS_MAVLink: increase max packet size to 104
...
this enables the DATA96 packet to be sent
2013-11-22 15:08:34 +11:00
Randy Mackay
0049351f2f
GCS_MAVLink: generate after adding RC reciever to SYS_STATUS enum
2013-10-24 16:32:49 +09:00
Randy Mackay
d1906abb5c
GCS_MAVLink: add RC receiver to SYS_STATUS enum
2013-10-24 16:32:09 +09:00
Andrew Tridgell
1c7a44a595
GCS_MAVLink: regenerate mavlink headers
2013-10-11 21:37:27 +11:00
Andrew Tridgell
8198bfe756
MAVLink: added MAV_CMD_DO_SET_CAM_TRIGG_DIST
2013-10-11 21:36:50 +11:00
Randy Mackay
ecd4ed2277
GCS_MAVLink: generate mavlink includes
2013-10-03 22:12:58 +09:00
Randy Mackay
8aec70af1d
GCS_MAVLink: add SYS_STATUS_SENSOR enum
2013-10-03 22:12:48 +09:00
Michael Day
1777db91cb
GCS_MAVLink: import latest upstream.
...
This add rally points.
2013-10-03 12:21:08 +10:00
Andrew Tridgell
445edb8793
GCS_MAVLink: remove CR/LF
2013-09-19 16:27:14 +10:00
Andrew Tridgell
7328369b91
GCS_MAVLink: added FENCE_ACTION_GUIDED_THR_PASS
2013-09-08 07:29:30 +10:00
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
2013-08-30 13:01:39 +10:00
Andrew Tridgell
67401294f4
GCS_MAVLink: added missing header
2013-08-30 13:01:35 +10:00
Andrew Tridgell
c6e29c9519
GCS_MAVLink: update to latest upstream mavlink headers
2013-08-30 13:01:34 +10:00
Andrew Tridgell
a98d7bd050
GCS_MAVLink: updated to latest upstream mavlink defintions
2013-08-14 14:36:44 +10:00
Randy Mackay
8545071a21
GCS_MAVLink: include AP_Math.h
...
Required because mavlink_conversions's mavlink_dcm_to_euler function
uses atan2
2013-07-14 15:56:58 +09:00
Randy Mackay
9b40ba98d7
GCS_MAVLink: regenerated messages
2013-07-14 15:52:55 +09:00
Randy Mackay
6bcbcc0382
GCS_MAVLink: add DO_SET_ROI to common.xml
2013-07-14 15:49:17 +09:00
Andrew Tridgell
d9f13b6b8c
GCS_MAVLink: merge in changes from upstream mavlink repo
2013-07-14 16:02:29 +10:00
Andrew Tridgell
b1202ccbff
GCS_MAVLink: merge in latest upstream XML changes
2013-07-14 15:41:25 +10:00
Andrew Tridgell
fff777bda2
MAVLink: update to latest upstream message defintions XML
...
this adds new HIL support for airspeed, and common SIM_STATE and
RADIO_STATUS messages
2013-07-01 15:38:45 +10:00
Andrew Tridgell
91a60be758
GCS_MAVLink: fixed indent-tabs-mode
2013-05-30 09:50:57 +10:00
Andrew Tridgell
9bdbd6bfbd
MAVLink: update to latest common.xml from upstream
2013-05-11 21:07:27 +10:00
Andrew Tridgell
11bf6f40f7
GCS_MAVLink: moved gcs_severity to library header
2013-05-09 09:27:58 +10:00
Randy Mackay
4fcb189c97
GCS_MAVLink: typo in message definition
2013-05-01 17:07:18 +09:00
Andrew Tridgell
7e58bde826
GCS_MAVLink: added comm_is_idle() function
...
this will make CLI detection more reliable
2013-03-21 21:55:12 +11:00
Andrew Tridgell
cbdeb20dad
MAVLink: rebuilt with new RANGEFINDER message
2013-03-01 12:01:31 +11:00
Andrew Tridgell
44768c911f
MAVLink: added RANGEFINDER message
2013-03-01 11:59:40 +11:00
Andrew Tridgell
ea3b405959
MAVLink: moved CRC table into program
...
this saves 256 bytes of memory
2013-01-10 21:28:07 +11:00
Andrew Tridgell
dc66708856
MAVLink: cope with available() returning -1
2013-01-09 13:31:00 +11:00
Andrew Tridgell
c9fe7fe932
MAVLink: use buffer send and fast CRC if possible
2013-01-08 14:37:40 -08:00
Andrew Tridgell
df91734883
MAVLink: import latest upstream messages and headers
2013-01-08 14:37:40 -08:00
Andrew Tridgell
feeebae03f
GCS_MAVLink: added comm_send_buffer()
...
this reduces the overhead of sending messages
2013-01-08 14:37:39 -08:00
Pat Hickey
fd89bacbc8
GCS_MAVLink: wibble to mavlink_helpers.h to fix build.
2012-12-20 14:51:25 +11:00
Pat Hickey
2a72c7e730
GCS_MAVLink: Regenerate mavlink1.0 implementation
...
created using:
mavgen.py --lang=C --wire-protocol=1.0 --output=./include/mavlink/v1.0 ./message_definitions/ardupilotmega.xml
mavlink repo commit 79cabfe956464c8f745807a6e65062ac3fc09193
2012-12-20 14:51:25 +11:00
Pat Hickey
a86a696311
GCS_Mavlink: add the DATA16 and DATA32 messages definitions to ardupilotmega.xml
2012-12-20 14:51:24 +11:00
Pat Hickey
6661f827fa
GCS_MAVLink: port to work with AP_HAL class rather than FastSerial
2012-12-20 14:51:24 +11:00
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
2012-12-20 14:51:19 +11:00
Andrew Tridgell
d2f9a705ea
MAVLink: clarify frame of reference for HIL_STATE
2012-12-03 23:31:34 +11:00
Andrew Tridgell
15abc784ec
MAVLink: use a smaller maximum payload to reduce memory
...
this limits the sizes of the MAVLink buffers. It doesn't make a big
difference now, but it will matter when we update to the latest
mavlink code which has some very large packets
2012-12-03 23:28:23 +11:00
Andrew Tridgell
8d1905a40b
APM: change WIND direction to match convention
...
Thanks to Leo Hogg for pointing this out
2012-11-19 07:16:47 +11:00
Andrew Tridgell
9f9d570597
MAVLink: comm_get_txspace should return 0 on error
...
it is used in expressions that add constants
2012-09-25 07:20:43 +10:00
Andrew Tridgell
3a1ff7bdd9
Mavlink: enable MAVLINK_SEPARATE_HELPERS
...
this fixes a seq number problem with SIMSTATE packets
2012-09-08 10:06:19 +10:00
Andrew Tridgell
299711f4a9
MAVLink: added FENCE_ACTION_REPORT
2012-08-15 12:39:35 +10:00
Andrew Tridgell
4951d686f6
Mavlink: re-generate with WIND message
2012-08-11 22:06:03 +10:00
Andrew Tridgell
8d914b14e4
Mavlink: added WIND message
...
this allows us to log the wind estimation result
2012-08-11 22:06:03 +10:00
Andrew Tridgell
d46b7a67b7
MAVLink: re-generate MAVLink C code
2012-08-11 11:58:06 +10:00
Andrew Tridgell
d9ad1c8616
MAVLink: added SIMSTATE.lat and SIMSTATE.lng
...
this allows us to display both true and estimated position on the
groundstation
2012-08-11 11:57:45 +10:00
Andrew Tridgell
6213032957
MAVLink: removed obsolete files
2012-08-09 15:25:49 +10:00
Andrew Tridgell
5d1d9e9042
MAVLink: added generator.sh script
...
this is used to re-generate our MAVLink C code
2012-08-09 15:25:06 +10:00
Andrew Tridgell
dc47074dbd
MAVLink: removed the need for Mavlink_compat.h
...
we have now fully transitioned to MAVLink 1.0, so we no longer need
the compatibility layer and the old names in the code
2012-08-09 12:22:46 +10:00
Andrew Tridgell
2a7b298bbc
MAVLink: moved mavlink variables back to library
...
these were moved to the main sketches to allow for compile time
selection of MAVLink 0.9 vs 1.0. We no longer support 0.9, so we can
move it back, which simplifies some test sketches
2012-08-09 12:06:21 +10:00
Andrew Tridgell
4b4b67496b
MAVLink: rename the message_definitions directory
2012-07-26 10:03:36 +10:00
Andrew Tridgell
8dd62829f9
MAVLink: removed MAVLink 0.9 message definitions
...
we are now 1.0 only
2012-07-26 10:03:36 +10:00
Andrew Tridgell
151a50b6af
MAVLink: imported updated generated mavlink C code
...
no functionality changes
2012-07-20 11:50:03 +10:00
Andreas M. Antonopoulos
c73f7ef3ab
AP_Limits library, provides modular "limits" such as altitude and geo-fencing.
2012-07-14 19:26:17 -07:00
Andrew Tridgell
60caaa4b04
MAVLink: remove MAVLink 0.9 protocol support
...
this simplifies the code a lot. We're not going back to 1.0
2012-07-05 13:00:46 +10:00
Andrew Tridgell
25c17a5425
re-enable the AP_Mount build
2012-06-04 19:32:11 +10:00
Andrew Tridgell
012fc35314
mavlink: fixed build with uart resend
2012-06-04 13:45:55 +10:00
Andrew Tridgell
b6467cb1fa
MAVLink: updates to mavlink headers to fix mavlink 1.0 issues
2012-06-04 13:34:07 +10:00
Andrew Tridgell
d8919731ee
Mavlink: fixed library build for MAVLink 1.0
2012-06-04 13:14:52 +10:00
Andrew Tridgell
60f8d09506
mavlink10: fixed MAV_VAR -> MAVLINK_TYPE
2012-06-04 13:14:51 +10:00
Andrew Tridgell
bccfb08c55
MAVLink: updated to latest upstream mavlink
...
this includes no significant changes
2012-06-04 13:14:51 +10:00
Chris Anderson
34f5923ef3
fixed typo ("minimum" should have been "maximum")
2012-05-06 15:50:19 -07:00
Andrew Tridgell
ca8bc34c98
MAVLink: re-generated with new pygen
...
this moves the enums to make them less order sensitive
2012-04-30 12:27:30 +10:00
Andrew Tridgell
d11957718f
MAVLink: removed the cpp part of the library
...
this was preventing building MAVLink 1.0 with the arduino GUI as we
can't set cpp defines
2012-04-24 22:24:58 +10:00
Andrew Tridgell
eb5bc964d8
MAVLink: one more define for MAVLink 1.0 compat
2012-04-24 19:54:20 +10:00
Andrew Tridgell
0753782c49
MAVLink: re-add the XML message definitions
...
these are a very useful reference for the current headers in the code
2012-04-24 10:57:43 +10:00
Andrew Tridgell
5c067d5a03
MAVLink: imported new mavlink header updates
...
this fixes the camera control code which was broken by a previous
import
2012-04-24 10:57:43 +10:00
James Goppert
20cdc3a0ac
MAVLink update to 1.0.7
2012-04-20 12:31:50 -04:00
James Goppert
ba89f39781
Updated MAVLink to 1.0.6 release.
2012-04-19 15:46:29 -04:00
Andrew Tridgell
985c967bb9
MAVLink: imported new mavlink headers
...
this adds local and remote radio noise levels
2012-04-08 12:22:17 +10:00
Andrew Tridgell
1fd1a55fa6
MAVLink: import change to txbuf as a percentage
2012-04-02 11:18:53 +10:00
Andrew Tridgell
4ddeb82b26
MAVLink: imported new headers, with RADIO packet
2012-04-01 21:44:44 +10:00
Andrew Tridgell
9f4becbacf
AHRS: added AHRS specific MAVLink headers
2012-03-19 17:35:20 +11:00
Andrew Tridgell
55ed84526a
MAVLink: rename DCM message to AHRS
2012-03-19 17:29:01 +11:00
Andrew Tridgell
44ebb20329
MAVLink: bring the v1.0 MAVLink in sync with 0.9
2012-03-10 10:34:34 +11:00
Andrew Tridgell
9df332f0ae
MAVLink: import new message types DCM, HWSTATUS and SIMSTATE
2012-03-10 10:34:27 +11:00
Andrew Tridgell
e01af5885f
adapt Mavlink_compat.h to AP_Param
2012-02-13 16:22:51 +11:00
Andrew Tridgell
dc01d55740
added missing mavlink headers
2011-12-16 20:53:26 +11:00
Andrew Tridgell
a4c03cceff
mavlink: include latest geofence message changes
2011-12-16 20:11:51 +11:00
Andrew Tridgell
dc20d89375
MAVLink: update to latest mavlink XML
...
this includes the geo-fencing messages
2011-12-16 20:11:51 +11:00
Andrew Tridgell
4036604fb7
mavlink: move Mavlink_compat.h to common code
...
this will allow it to be used by ArduCopter
2011-11-28 13:53:57 +11:00
Jason Short
0e1727e492
MAV_CMD_DO_SET_ROI
2011-11-09 12:07:57 -08:00
Andrew Tridgell
cf4c2cc1cf
merge NULL ptr mavlink array fix
...
this fixes a segfault in ArduPlane when using a NULL pointer for
satellite_prn in GPS status
2011-10-29 18:29:18 +11:00
Andrew Tridgell
699f3388fc
updated to latest upstream mavlink headers
...
this includes the new APM_Camera headers from ardupilotmega.xml
2011-10-29 18:07:09 +11:00
Andrew Tridgell
c0a43a1837
minor mavlink 1.0 updates
2011-10-28 15:54:22 +11:00
Andrew Tridgell
f7780a81c8
imported custom_mode size fix
2011-10-24 13:41:15 +11:00
Andrew Tridgell
690684d28b
import latest MAVLink 1.0 headers and XML
2011-10-24 12:20:46 +11:00
Andrew Tridgell
e62bc659b6
updated to latest mavlink 1.0 messages
2011-10-24 10:20:36 +11:00
Andrew Tridgell
de7cf3d1db
mavlink: make it possible to build with mavlink 1.0 headers
2011-10-24 10:20:36 +11:00
Andrew Tridgell
7cc396bd83
mavlink: import latest mavlink 0.9 headers
2011-10-24 10:20:36 +11:00
Andrew Tridgell
08ae7de678
mavlink: import mavlink 1.0 message definitions
2011-10-24 10:20:35 +11:00
Andrew Tridgell
cbf9ce8d14
mavlink: import mavlink 1.0 includes
2011-10-24 10:20:35 +11:00
James Goppert
0c7c508541
Optional recursion added.
2011-09-30 17:17:51 -04:00
James Goppert
5489b84f8e
Improvements to cmake.
2011-09-29 21:23:26 -04:00
James Goppert
d887a28b91
Added ArduBoat/ ArduRover/ and APO library.
2011-09-29 14:12:15 -04:00
Amilcar Lucas
e5c248e2bf
Moved mavlink_check_target() to the libraries/.
...
This allows it to be reused by the other libraries and by other projects ArduPlane, ArduCopter, ArduRover ... etc.
It also reduces code duplication
2011-09-24 14:40:07 +02:00
Andrew Tridgell
edd7e509d9
MAVLink: enable separate MAVLink helpers
...
this makes the core MAVLink functions into library calls, instead of
being inlined. The resulting code size doesn't change, but it means we
can safely call MAVLink functions from multiple places without causing
undue code bloat
2011-09-18 11:03:27 +10:00
unknown
a4e001bbcf
Adding CMake support
2011-09-14 15:44:55 +02:00
tridge60@gmail.com
3072b61aeb
updated XML MAVLink definitions
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3272 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-05 06:19:39 +00:00
tridge60@gmail.com
89f9fafb90
BetterSerial has txspace() now
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3248 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 22:52:22 +00:00
tridge60@gmail.com
7774ac534e
added comm_get_txspace() to GCS_MAVLink
...
this gives us the number of bytes available in the transmit buffer for
a mavlink channel
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3246 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 21:23:24 +00:00
tridge60@gmail.com
fa1a6d3beb
shrink the size of mavlink_message_t using max dialect message size
...
this makes mavlink_message_t much smaller, but setting
MAVLINK_MAX_PAYLOAD_LEN to the maximum message size in this
dialect. This saves us 320 bytes of memory
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3239 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 08:51:51 +00:00
tridge60@gmail.com
754ab0290b
import new mavlink version
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3238 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-04 08:50:24 +00:00
tridge60@gmail.com
f7c58a5dd5
mavlink: imported new version with MEMINFO message
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3205 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-09-01 00:50:13 +00:00
tridge60@gmail.com
3ae2186021
imported new MAVLink implementation
...
this new implementation reduces code size, and also reduces stack
usage, while avoiding the gcc union stack bug
Note that we will gain even more when we move to the new protocol
version, especially in terms of code size
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3200 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-31 05:23:18 +00:00
tridge60@gmail.com
e95d0eb686
added SET_MAG_OFFSETS magnetometer message
...
this allows reset of the mag offsets without wiping your EEPROM
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3088 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 09:00:21 +00:00
tridge60@gmail.com
eefb840a85
MAVLink: added missing files from recent update
...
thanks to Randy for spotting this
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3086 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 06:30:29 +00:00
tridge60@gmail.com
6cf66ee773
MAVLink: pull in latest changes from upstream MAVLink
...
this gives us the new SENSOR_OFFSETS message for debugging sensor
calibration
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3080 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 04:45:48 +00:00
james.goppert
c7d2a71fea
Updated GCS_MAVLink to match mavlink master.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3017 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 08:18:08 +00:00
tridge60@gmail.com
488a2805f7
mavlink: fixed a signed/unsigned warning
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2814 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-09 12:09:50 +00:00
james.goppert
938ab0ac56
Synced with mavlink dev branch, RC_CHANNELS_OVERRIDE packet added.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2344 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-18 03:24:31 +00:00
james.goppert
33a7104f6b
Fixed script typo.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2188 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 20:51:19 +00:00
james.goppert
3020a471da
Updated mavlink to latest roi branch.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2187 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 20:49:13 +00:00
james.goppert
7809b0ca2a
Massive warning fixes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2089 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-04 19:12:27 +00:00
mich146@hotmail.com
5008c1656b
MavLink Update
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1795 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-20 23:28:42 +00:00
tridge60@gmail.com
31e93f8198
mavlink: sync with upstream
...
this syncs with 7e1c274437f09a8a03a5bef990e14b93c8fc8b07 from
March 17 2011
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1782 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-18 01:34:13 +00:00
mich146@hotmail.com
42caba7d8e
Mavlink update
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1777 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-16 10:09:22 +00:00
mich146@hotmail.com
975f8ff006
Mavlink update
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1757 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-08 11:07:58 +00:00
jasonshort
1da51e72ec
quick.fix
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1687 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 21:01:07 +00:00
james.goppert
6b4f84e267
Mavlink update.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1685 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 17:54:14 +00:00
jasonshort
02b0e92d5b
Added MAV_CMD_NAV_R_WAYPOINT, MAV_CONDITION_ANGLE
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1679 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 03:59:06 +00:00
jasonshort
59aa6be2e5
Added MAV_CMD_NAV_R_WAYPOINT, MAV_CONDITION_ANGLE
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1678 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 03:58:48 +00:00
mich146@hotmail.com
4ea9192ab8
Mavlink update
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1630 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 11:04:52 +00:00
mich146@hotmail.com
152f0a12df
Fix Mavlink include
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1628 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 00:04:39 +00:00
mich146@hotmail.com
dbdabd8707
MavLink Update
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1616 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-08 23:16:58 +00:00
mich146@hotmail.com
000eaf6a68
Mavlink update
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1555 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-25 00:31:38 +00:00
DrZiplok
cbdf462acc
Update to current MAVLink dev branch protocol version. This has NOT been tested yet.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1494 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-12 08:57:54 +00:00
james.goppert
125b971173
Updated mavlink added eeprom class.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1239 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-23 23:02:51 +00:00
james.goppert
415786a480
Added airspeed message to mavlink.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1102 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-10 07:26:59 +00:00
james.goppert
c7a8291725
Added --force to svn add on sync script to find new unversioned files.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1098 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-09 06:05:48 +00:00
james.goppert
e2e3b9eee9
Added svn add to sync script to prevent further problems.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1092 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-08 21:51:27 +00:00
james.goppert
37e137a82c
Synced mavlink.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1091 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-08 21:49:44 +00:00
bjpcaltech
1436b034b5
Addresses APM issue 250
...
Location of mavlink_msg_debug_vect.h corrected
Stub for previously non-existent mavlink_msg_gps_local_origin_set.h added
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1090 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-08 19:37:37 +00:00
james.goppert
887c0b8d4a
Updated mavlink.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1066 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-07 21:25:25 +00:00
james.goppert
efa785394a
Removed old file.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1059 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-06 21:14:58 +00:00
james.goppert
9c9fd95408
Fixed inclusion guard for mavlink.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1023 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-05 09:48:58 +00:00
james.goppert
a37d1ddb91
Updated mavlink to latest dev branch version.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1015 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-12-05 00:49:04 +00:00
james.goppert
001d831359
Synced with mavlink master.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@937 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-26 08:14:29 +00:00
DrZiplok@gmail.com
7582353b08
Library wrapper for MAVLink protocol bits.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@924 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-25 06:38:18 +00:00
DrZiplok
0037b40329
Rename to make it a little more clear that this is a GCS-related library for the MAVLink protocol.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@923 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-25 04:09:28 +00:00