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