Commit Graph

25 Commits

Author SHA1 Message Date
DrZiplok@gmail.com c0c28f8eae Recover 256 bytes of RAM by making the packet transmission code smarter. Now we emit the packet directly from the procedure parameters, rather than wasting time and space packing it into a temporary buffer.
Revert the buffer overflow test until I can work out what James was doing with it.

Don't try to send a text message in response to a message we don't like; we should probably implement a NAK message instead.

Improve the text string sender a bit.  We need to fix the protocol generator for this to be less sucky on the send side.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@827 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 07:16:32 +00:00
james.goppert 2e048125ef Fixed some bincomm errors.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@826 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 04:31:04 +00:00
james.goppert ab1df51b5f Added navigation augmentation messages.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@825 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 04:22:43 +00:00
james.goppert afb134b915 Added buffersize member to BinComm.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@824 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 02:42:43 +00:00
james.goppert d8b3dd9aa1 Added some useful error messages.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@823 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 01:55:14 +00:00
james.goppert b839951ce5 Switched to generic servo output.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@821 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-10 19:02:22 +00:00
james.goppert a771cbacc0 Added buffer overflow warning.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@810 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 11:41:08 +00:00
james.goppert 687f5ebc00 Removed strlcpy.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@808 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 01:17:38 +00:00
james.goppert 7dd853642c Fixed ack error.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@805 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 04:38:42 +00:00
james.goppert 3ec939888e Removed Serial references.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@804 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 04:23:13 +00:00
james.goppert 744d72ea2b Command upload functional.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@803 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 04:12:35 +00:00
james.goppert d72c61b80a Setup bincomm auto acknowledge.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@793 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 05:59:11 +00:00
james.goppert f28c752bbb Updated command parameters.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@792 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 05:37:18 +00:00
james.goppert 91caffaf95 Changed to 32bit alt.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@791 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 05:28:47 +00:00
james.goppert e308f2410e Fixed yaw.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@789 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 04:02:10 +00:00
james.goppert 5207844480 Added 0x70, other minor changes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@788 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 03:19:49 +00:00
DrZiplok@gmail.com bfaf2f2f9b Fix pack pragma usage
git-svn-id: https://arducopter.googlecode.com/svn/trunk@773 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 08:57:33 +00:00
DrZiplok@gmail.com aec22fc639 Fix the idle timer.
Init a few more critical fields in the ctor.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@772 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 08:20:33 +00:00
DrZiplok@gmail.com 9e7876fee7 Dangling comma
git-svn-id: https://arducopter.googlecode.com/svn/trunk@771 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 03:53:46 +00:00
DrZiplok@gmail.com 1049bf2153 Add init method so that the comms stream can be set after construction.
Template the pack/unpack functions, make the code a little cleaner.

Fix a few message definitions.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@770 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 03:47:29 +00:00
DrZiplok 8b2245acda More documentation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@758 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-31 00:35:13 +00:00
DrZiplok@gmail.com c5155aa623 Add servo output message, fixes issue #163
Check in my host-side test framework.

Minor tidying.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@635 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-09 18:11:24 +00:00
DrZiplok@gmail.com ed24b47fb3 Decouple BinComm from FastSerial, now that we can use Stream instead.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@405 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-09-06 09:40:45 +00:00
DrZiplok@gmail.com bd2ba2fcc9 Fix this so that it compiles.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@322 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-27 03:30:39 +00:00
DrZiplok@gmail.com 71efe28851 Library implementing the lower layers of the APM binary communications protocol.
Based on work done for the ArduStationM firmware and influenced by Randall Mackay's ArduCopter BinComm code.

This is a work in progress; discussion is welcome.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@318 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-08-26 08:12:19 +00:00