1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-11 19:24:10 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
James Cotton
7d13f4869d Made a lot of critical functions synchronized to block race conditions
(essentialy implements a mutex locker for that object).  Also added callbacks
to UAVObjects for unpacked and updated.  More to come.  Finally test case that
checks that we get FlightStatus through UAVTalk (i.e. that the aircraft is
talking).
2012-08-06 16:54:19 -05:00
James Cotton
c7961b9f38 Updates to various objects 2012-08-06 16:54:19 -05:00
James Cotton
689afeabb5 Initial implementation of UAVTalk protocol and a test platform for it and the
UAVObjectManager
2012-08-06 16:54:19 -05:00
James Cotton
1f202089d1 Some cosmetic changes, also initialize the Metadata properly 2012-08-06 16:54:19 -05:00
James Cotton
6dd509ded3 Make the initial values for enums be the string. Make setValue accept
numerical or string constants for enums.  Only returns a string though.
2012-08-06 16:54:19 -05:00
James Cotton
f338625092 Removed various debugging outputs and exceptions for now (will add back in a
more principled manner later).  Also updated the auto generated code.
2012-08-06 16:54:19 -05:00
James Cotton
22e00c780f More updates to the java objects. Also checking in the auto generated code for
now to make things easier.
2012-08-06 16:54:19 -05:00
James Cotton
cc7eb0f261 Make object store with the minimal amount of space and deal with unsigned
values
2012-08-06 16:54:18 -05:00
James Cotton
2238ca0804 Remove some debugging lines, also use Number interface instead of explicit
Byte, Integer, Short etc in setValue/getValue
2012-08-06 16:54:18 -05:00
James Cotton
a9b28687ea More work on the java UAVObject implementation 2012-08-06 16:54:18 -05:00
James Cotton
ae43ec3eba More updates to UAVObject and Field for android app 2012-08-06 16:54:18 -05:00
James Cotton
cd8fac766c Some changes to the object field to get it to initialze the array to be the
right length
2012-08-06 16:54:18 -05:00
James Cotton
c3244cf5a2 Import of UAVObjectField object. This differs a bit from the GCS
implementation in that the data is stored within the field instead of being
packed back into a continugious memory region.  This is because java doesn't
allow casting to struct so the memory access isn't a useful feature.
2012-08-06 16:54:18 -05:00
James Cotton
f0e4c10cfa Continuing to work on the java code to be more consistent with GCS code 2012-08-06 16:54:17 -05:00
James Cotton
eed5705a6c Trying to get eclipse project right 2012-08-06 16:54:17 -05:00
James Cotton
9d707cef5b Initial import of my androidgcs framework 2012-08-06 16:53:53 -05:00