Commit Graph

117 Commits

Author SHA1 Message Date
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