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