James Cotton
4997f1198c
AndroidGCS: As soon as the controller is released set the throttle to -1
2012-08-06 16:55:00 -05:00
James Cotton
b1780701d7
AndroidGCS: Use a timer when computing the update time for GCSTelemetryStats
2012-08-06 16:54:59 -05:00
James Cotton
e359b96b09
AndroidGCS: After terminating the telemetry connection make sure to close the
...
TCP socket or the android system will keep it active and block reconnections.
2012-08-06 16:54:59 -05:00
James Cotton
5670a958a8
AndroidGCS: Propagate the exceptions from the low level UAVTalk methods up to
...
the high level monitoring so it knows when the connection has been terminated.
2012-08-06 16:54:59 -05:00
James Cotton
4c1171e1fb
AndroidGCS: Joystick can now control UAV
2012-08-06 16:54:59 -05:00
James Cotton
6ff3378dbe
AndroidGCS: Add load button to the object browser.
2012-08-06 16:54:59 -05:00
James Cotton
87f6700d74
AndroidGCS: Respond to the virtual pad movements and stop transmitting updates
...
when they are released.
2012-08-06 16:54:59 -05:00
James Cotton
8b26696e77
Fixup: Correct typo in controller
2012-08-06 16:54:59 -05:00
James Cotton
48701f3252
Fixup: Make browser use a smaller column width for the list of objects than
...
their contents
2012-08-06 16:54:59 -05:00
James Cotton
cc1d44b49b
Fixup: Typo in disconnected
2012-08-06 16:54:58 -05:00
James Cotton
91bd93798d
AndroidGCS: UAVO browser requests an update when it displays objects to make
...
sure they are current. For some reason some settings aren't properly getting
initialized on connection.
2012-08-06 16:54:58 -05:00
James Cotton
eb98baa6cd
AndroidGCS: Cleanup for some debugging output in telemetry. Make
...
uppdateRequested() a public method so anything can request a UAVO update.
2012-08-06 16:54:58 -05:00
James Cotton
410aec8c94
AndroidGCS: Controller gadget that uses virtual joypad to control UAV
2012-08-06 16:54:58 -05:00
James Cotton
8982765307
AndroidGCS: Clean up start page and improve the icons.
2012-08-06 16:54:58 -05:00
James Cotton
ee54ca47f4
AndroidGCS: Fix the getDouble() method for enum fields and make the UAVO
...
browser properly initialize enums in editing mode
2012-08-06 16:54:58 -05:00
James Cotton
f04930b8cf
AndroidGCS: Clean up messaging from TelemetryService
2012-08-06 16:54:58 -05:00
James Cotton
91b2d667c1
AndroidGCS: Hardcode some dimensions on the editor dialog so the keyboard fits
...
more nicely with it.
2012-08-06 16:54:58 -05:00
James Cotton
bfdb5749b3
Fixup: Lower the debugging output for uavtalk
2012-08-06 16:54:57 -05:00
James Cotton
31793093c6
AndroidGCS: Updating and saving objects now works.
2012-08-06 16:54:57 -05:00
James Cotton
a067c0b0de
AndroidGCS: Make sure the rest of the UAVO IDs are working as positive long
...
values instead of ints.
2012-08-06 16:54:57 -05:00
James Cotton
fc7e9d2b2b
AndroidGCS: Change the UAVO generation to suppress warnings
2012-08-06 16:54:57 -05:00
James Cotton
ae40f88600
AndroidGCS: Convert UAVObject IDs to longs from ints because they are meant to
...
be unsigned uint32 which is unsupported by java.
2012-08-06 16:54:57 -05:00
James Cotton
9ded1bb9fb
AndroidGCS: Suppress some debugging information from telemetry
2012-08-06 16:54:57 -05:00
James Cotton
3a3ac552da
AndroidGCS: Refine the graphics of the object editor
2012-08-06 16:54:57 -05:00
James Cotton
0348a8921e
AndroidGCS: Output all fields from the UAVObjects
2012-08-06 16:54:56 -05:00
James Cotton
b7cd02c9bf
AndroidGCS: Refactor the UAVO browser to use a split view - objects names on
...
the side and content on the other side. Add a filter for settings versus data.
2012-08-06 16:54:56 -05:00
James Cotton
bf93435322
Check in a joystick gadget class
2012-08-06 16:54:56 -05:00
James Cotton
a44e84ff9b
Update the sdk version
2012-08-06 16:54:56 -05:00
James Cotton
20b585383d
Make port and bluetooth adapter be listed in the preferences. Using the BT
...
adapter not working yet.
2012-08-06 16:54:56 -05:00
James Cotton
45f4ae0701
Allow selecting the IP address from the preferences
2012-08-06 16:54:56 -05:00
James Cotton
65861b4b8d
Update the UAVO files
2012-08-06 16:54:56 -05:00
James Cotton
95218802da
Catch invalid number decoding to cover cases where there is no IP address.
2012-08-06 16:54:56 -05:00
James Cotton
32ec48412d
Forgot to initialize the fields for metadata
2012-08-06 16:54:56 -05:00
James Cotton
9960411ead
Finish porting the meta data changes from GCS and update all the UAVOs
2012-08-06 16:54:55 -05:00
James Cotton
c736488c3b
First step to fixing metat data representation for android
2012-08-06 16:54:55 -05:00
James Cotton
cd89d97bbb
Lower all the debugging levels again
2012-08-06 16:54:55 -05:00
James Cotton
0e6cffaaf6
Update fake telemetry object
2012-08-06 16:54:55 -05:00
James Cotton
902dbd9269
Update objects and delete old UAVObjects
2012-08-06 16:54:55 -05:00
James Cotton
2257bc5953
Fix an insidious bug in the Android UAVObjectField unpack method for enums that
...
was exposed by shuffling field orders. There goes 5 hours, FML.
2012-08-06 16:54:55 -05:00
James Cotton
9d7c15fb7f
Enable some debugging statements
2012-08-06 16:54:55 -05:00
James Cotton
c1c12ed57e
Add TCP UAVTalk interface for android
2012-08-06 16:54:54 -05:00
James Cotton
92764ebc67
Small upgrades to teh android install
2012-08-06 16:54:54 -05:00
James Cotton
e1ba3d2e63
Update the UAVObjects to the version on next. At some point a make script
...
should generate these and copy from build/uavobjects-synth/java to this
directory automatically.
Also make sure java objects use CamelCase
2012-08-06 16:54:54 -05:00
James Cotton
723bcddc11
Update the project and checked in the meta data. Hopefully this will make it
...
run more easily in future.
2012-08-06 16:54:54 -05:00
James Cotton
b654d68ee6
Cleaner editor interface
2012-08-06 16:54:54 -05:00
James Cotton
dadcb39396
Few tweaks and suppress some warnings
2012-08-06 16:54:54 -05:00
James Cotton
2139954e49
Added location feature and made fake stream create movement
2012-08-06 16:54:54 -05:00
James Cotton
c8c7323ab7
Make auto starting work. For now removed support for standalone service but
...
easy to add back.
2012-08-06 16:54:53 -05:00
James Cotton
0950d0386b
Make fake telemetry show rotating attitude.
2012-08-06 16:54:53 -05:00
James Cotton
bee5740983
Added a simple PFD
2012-08-06 16:54:53 -05:00
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
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