James Cotton
fd3a02eb92
More work on the object browser/editor. Hard to make it resize itself though.
2012-08-06 16:54:53 -05:00
James Cotton
247d3a7754
Added a home page, added an option to select connection type. Made the
...
ListView adapter trigger updates on the data.
2012-08-06 16:54:53 -05:00
James Cotton
6613e4d3bf
Added some missing files. Improved object browser to use ListView.
...
ExpandableListView next.
2012-08-06 16:54:53 -05:00
James Cotton
f3c8eac002
Get rid of lots of warnings
2012-08-06 16:54:53 -05:00
James Cotton
a70c967f9c
Start of a widget for monitoring telemetry status
2012-08-06 16:54:52 -05:00
James Cotton
2f7320fc16
Common Activity class that binds to the Telemetry service
2012-08-06 16:54:52 -05:00
James Cotton
f247443d64
Clean up the logging somewhat
2012-08-06 16:54:52 -05:00
James Cotton
d3f9c97961
Create a UAVTalk service that is called from the object browser
2012-08-06 16:54:21 -05:00
James Cotton
cdac9d7f9e
Make the UAVTalk object process one byte per call so it can be embedded in
...
another loop. Also clean up some warnings.
2012-08-06 16:54:21 -05:00
James Cotton
8dc6b09b96
Make it easy to enable or disable logging in separate modules
2012-08-06 16:54:21 -05:00
James Cotton
594978e2ab
Update display to show connected icon
2012-08-06 16:54:21 -05:00
James Cotton
34dfaf0023
Works on Nook, but recursive loop too deep in registering objects
2012-08-06 16:54:21 -05:00
James Cotton
20a4021bd3
Fixed some timer issues. Got connection with this.
2012-08-06 16:54:21 -05:00
James Cotton
1ea90c4158
Fix the CRC calculation for java sending
2012-08-06 16:54:21 -05:00
James Cotton
29fd09b204
Little updates
2012-08-06 16:54:21 -05:00
James Cotton
abc07fd748
Unit test for telemetry
2012-08-06 16:54:20 -05:00
James Cotton
f80424875e
Fixed bug in object signals that stopped updates sending. Various tweaks.
2012-08-06 16:54:20 -05:00
James Cotton
b10c3f623d
Changes to TelemetryMonitor, ready for testing
2012-08-06 16:54:20 -05:00
James Cotton
6bc97f1a3d
Most of the work on Telemetry.java as well as lots of signals for various
...
object events
2012-08-06 16:54:20 -05:00
James Cotton
63f750c51e
A few more synchronized statements and deep cloning of objects
2012-08-06 16:54:20 -05:00
James Cotton
943dd82a75
Initial start of the telemetry system which interfaces between UAVTalk and the
...
ObjectManager/Objects
2012-08-06 16:54:20 -05:00
James Cotton
157e561927
Add isMetadata() instead of testing whether dynamic cast fails
2012-08-06 16:54:20 -05:00
James Cotton
b81450a4aa
Test case for the callbacks
2012-08-06 16:54:20 -05:00
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
75118e0abc
Added unit tests
2012-08-06 16:54:18 -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
9a4c158690
Java autogenerated code to be more compatible with gcs code
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
1810fb61a0
Update the object template to be more consistent with ground 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
James Cotton
29b5852f2b
AndroidGCS: In the SystemAlarms display rank fields by alarm severity. Also
...
make hte fake telemetry object generate alarms.
2012-08-06 13:52:42 -05:00
James Cotton
1fdc5d50a9
AndroidGCS: An ugly system alarms gadget that lists all the alarm values
2012-08-06 09:14:39 -05:00
James Cotton
c30598255d
AndroidGCS: Revert a line of c24164d661
which will probably
...
bring back a memory leak but stops crashing when you reopen the same activity
Bug introduced here again!
2012-08-06 08:54:06 -05:00
James Cotton
5cd670ef49
AndroidGCS: Add a telemetry monitor to the action bar that shows the TX/RX data
...
rate. Right now seem to have a bug when going into the same widget twice it
crashes teh second time.
2012-08-06 08:32:42 -05:00
James Cotton
a47cec644f
AndroidGCS: Artwork for a telemetry monitor in the action bar
2012-08-06 06:59:48 -05:00
James Cotton
0b4ec6cedd
AndroidGCS: Add a launcher icon for the SystemAlarms gadget
2012-08-06 05:57:56 -05:00
James Cotton
722b608b2b
AndroidGCS: Logger now displays the number of bytes and objects logged.
2012-08-06 05:56:53 -05:00
James Cotton
9d2830b75f
AndroidGCS: Write logging in the format consistent with how we record on the
...
ground station and can parse from matlab.
2012-08-06 04:47:29 -05:00