James Cotton
2e7028b2e8
Fixup: Correct typo in controller
2012-08-05 16:26:18 -05:00
James Cotton
afd4495c96
Fixup: Make browser use a smaller column width for the list of objects than
...
their contents
2012-08-05 16:25:54 -05:00
James Cotton
edd6b2ab3a
Fixup: Typo in disconnected
2012-08-05 16:18:38 -05:00
James Cotton
98f3fcb8da
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-05 16:13:17 -05:00
James Cotton
3be2485b5e
AndroidGCS: Cleanup for some debugging output in telemetry. Make
...
uppdateRequested() a public method so anything can request a UAVO update.
2012-08-05 16:13:17 -05:00
James Cotton
1d387a2082
AndroidGCS: Controller gadget that uses virtual joypad to control UAV
2012-08-05 16:13:17 -05:00
James Cotton
b503286a00
AndroidGCS: Clean up start page and improve the icons.
2012-08-05 16:13:17 -05:00
James Cotton
d6c2aad62a
AndroidGCS: Fix the getDouble() method for enum fields and make the UAVO
...
browser properly initialize enums in editing mode
2012-08-05 14:38:29 -05:00
James Cotton
22513bf6c8
AndroidGCS: Clean up messaging from TelemetryService
2012-08-05 12:18:48 -05:00
James Cotton
97445007fb
AndroidGCS: Hardcode some dimensions on the editor dialog so the keyboard fits
...
more nicely with it.
2012-08-05 04:54:10 -05:00
James Cotton
3ddcb4440e
Fixup: Lower the debugging output for uavtalk
2012-08-05 04:44:54 -05:00
James Cotton
0d5140a67d
AndroidGCS: Updating and saving objects now works.
2012-08-05 04:42:28 -05:00
James Cotton
cd6a2fb7da
AndroidGCS: Make sure the rest of the UAVO IDs are working as positive long
...
values instead of ints.
2012-08-05 04:41:57 -05:00
James Cotton
35d57911f9
AndroidGCS: Change the UAVO generation to suppress warnings
2012-08-05 04:11:33 -05:00
James Cotton
33132e8ebd
AndroidGCS: Convert UAVObject IDs to longs from ints because they are meant to
...
be unsigned uint32 which is unsupported by java.
2012-08-05 04:09:05 -05:00
James Cotton
cf80d59f17
AndroidGCS: Suppress some debugging information from telemetry
2012-08-05 04:00:12 -05:00
James Cotton
7fe8e314a7
AndroidGCS: Refine the graphics of the object editor
2012-08-05 02:54:03 -05:00
James Cotton
ad496ab8a3
AndroidGCS: Output all fields from the UAVObjects
2012-08-04 22:20:00 -05:00
James Cotton
c3b5f90b50
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-04 21:36:33 -05:00
James Cotton
8f98383fa5
Check in a joystick gadget class
2012-08-04 21:00:54 -05:00
James Cotton
4e7d8bffc4
Update the sdk version
2012-08-04 21:00:25 -05:00
James Cotton
c6073772fb
Make port and bluetooth adapter be listed in the preferences. Using the BT
...
adapter not working yet.
2012-08-04 11:33:59 -05:00
James Cotton
2881a4573f
Allow selecting the IP address from the preferences
2012-08-04 02:14:12 -05:00
James Cotton
851923e8b9
Update the UAVO files
2012-08-04 01:35:49 -05:00
James Cotton
cfb9f1277e
Catch invalid number decoding to cover cases where there is no IP address.
2012-08-03 13:49:16 -05:00
James Cotton
4233c7da0d
Forgot to initialize the fields for metadata
2012-08-02 13:08:47 -05:00
James Cotton
62bb4601c5
Finish porting the meta data changes from GCS and update all the UAVOs
2012-08-02 12:49:34 -05:00
James Cotton
1a63c21be9
First step to fixing metat data representation for android
2012-08-02 11:04:35 -05:00
James Cotton
574c2000b6
Lower all the debugging levels again
2012-08-02 10:40:41 -05:00
James Cotton
02f9452193
Update fake telemetry object
2012-08-02 10:40:41 -05:00
James Cotton
e9964668be
Update objects and delete old UAVObjects
2012-08-02 10:40:40 -05:00
James Cotton
aa99433310
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-02 10:40:40 -05:00
James Cotton
3bcfeca77c
Enable some debugging statements
2012-08-02 10:40:40 -05:00
James Cotton
3445cafb0a
Add TCP UAVTalk interface for android
2012-08-02 10:40:40 -05:00
James Cotton
4a38eac0db
Small upgrades to teh android install
2012-08-02 10:40:40 -05:00
James Cotton
739dc0f984
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-02 10:40:39 -05:00
James Cotton
38e4960fa5
Update the project and checked in the meta data. Hopefully this will make it
...
run more easily in future.
2012-08-02 10:40:39 -05:00
James Cotton
caeaa0169f
Cleaner editor interface
2012-08-02 10:40:39 -05:00
James Cotton
1a4db33328
Few tweaks and suppress some warnings
2012-08-02 10:40:39 -05:00
James Cotton
3f5be92cc3
Added location feature and made fake stream create movement
2012-08-02 10:40:39 -05:00
James Cotton
936ec06966
Make auto starting work. For now removed support for standalone service but
...
easy to add back.
2012-08-02 10:40:39 -05:00
James Cotton
56aca6a8ec
Make fake telemetry show rotating attitude.
2012-08-02 10:40:39 -05:00
James Cotton
5669a3fc33
Added a simple PFD
2012-08-02 10:40:38 -05:00
James Cotton
545dd029d6
More work on the object browser/editor. Hard to make it resize itself though.
2012-08-02 10:40:38 -05:00
James Cotton
68e0e27f75
Added a home page, added an option to select connection type. Made the
...
ListView adapter trigger updates on the data.
2012-08-02 10:40:38 -05:00
James Cotton
e2a90b2265
Added some missing files. Improved object browser to use ListView.
...
ExpandableListView next.
2012-08-02 10:40:38 -05:00
James Cotton
6505507230
Get rid of lots of warnings
2012-08-02 10:40:38 -05:00
James Cotton
515a4c4fd1
Start of a widget for monitoring telemetry status
2012-08-02 10:40:38 -05:00
James Cotton
529b450f1d
Common Activity class that binds to the Telemetry service
2012-08-02 10:40:38 -05:00
James Cotton
5e2c2a0ec3
Clean up the logging somewhat
2012-08-02 10:40:38 -05:00
James Cotton
6edafd2c5f
Create a UAVTalk service that is called from the object browser
2012-08-02 10:40:37 -05:00
James Cotton
38213de9aa
Make the UAVTalk object process one byte per call so it can be embedded in
...
another loop. Also clean up some warnings.
2012-08-02 10:40:37 -05:00
James Cotton
74ea0e5ac2
Make it easy to enable or disable logging in separate modules
2012-08-02 10:40:37 -05:00
James Cotton
77910a93ab
Update display to show connected icon
2012-08-02 10:40:37 -05:00
James Cotton
bd0a599e96
Works on Nook, but recursive loop too deep in registering objects
2012-08-02 10:40:36 -05:00
James Cotton
06f583ff75
Fixed some timer issues. Got connection with this.
2012-08-02 10:40:36 -05:00
James Cotton
03b9bbbb8a
Fix the CRC calculation for java sending
2012-08-02 10:40:36 -05:00
James Cotton
e12cef6b4b
Little updates
2012-08-02 10:40:36 -05:00
James Cotton
621d31a520
Unit test for telemetry
2012-08-02 10:40:36 -05:00
James Cotton
7b20773100
Fixed bug in object signals that stopped updates sending. Various tweaks.
2012-08-02 10:40:36 -05:00
James Cotton
55e0834051
Changes to TelemetryMonitor, ready for testing
2012-08-02 10:40:36 -05:00
James Cotton
cb5e690de0
Most of the work on Telemetry.java as well as lots of signals for various
...
object events
2012-08-02 10:40:36 -05:00
James Cotton
3d7f4e2273
A few more synchronized statements and deep cloning of objects
2012-08-02 10:40:35 -05:00
James Cotton
b0f8267588
Initial start of the telemetry system which interfaces between UAVTalk and the
...
ObjectManager/Objects
2012-08-02 10:40:35 -05:00
James Cotton
01e9d1a472
Add isMetadata() instead of testing whether dynamic cast fails
2012-08-02 10:40:35 -05:00
James Cotton
1ffe0691f5
Test case for the callbacks
2012-08-02 10:40:35 -05:00
James Cotton
97b5f758a0
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-02 10:40:35 -05:00
James Cotton
c7f57dffe3
Updates to various objects
2012-08-02 10:40:35 -05:00
James Cotton
6158e19df1
Initial implementation of UAVTalk protocol and a test platform for it and the
...
UAVObjectManager
2012-08-02 10:40:35 -05:00
James Cotton
3a71d26604
Some cosmetic changes, also initialize the Metadata properly
2012-08-02 10:40:35 -05:00
James Cotton
6758d5c598
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-02 10:40:34 -05:00
James Cotton
72de0c622a
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-02 10:40:34 -05:00
James Cotton
b98bdb9be0
More updates to the java objects. Also checking in the auto generated code for
...
now to make things easier.
2012-08-02 10:40:34 -05:00
James Cotton
5220ddc201
Added unit tests
2012-08-02 10:40:34 -05:00
James Cotton
5aa8eb522a
Make object store with the minimal amount of space and deal with unsigned
...
values
2012-08-02 10:40:34 -05:00
James Cotton
f41980c276
Remove some debugging lines, also use Number interface instead of explicit
...
Byte, Integer, Short etc in setValue/getValue
2012-08-02 10:40:34 -05:00
James Cotton
a2e93f1971
More work on the java UAVObject implementation
2012-08-02 10:40:33 -05:00
James Cotton
1c2eb1bf22
More updates to UAVObject and Field for android app
2012-08-02 10:40:33 -05:00
James Cotton
b5e1d3bf29
Some changes to the object field to get it to initialze the array to be the
...
right length
2012-08-02 10:40:33 -05:00
James Cotton
180f87dae5
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-02 10:40:33 -05:00
James Cotton
0abd2ee671
Continuing to work on the java code to be more consistent with GCS code
2012-08-02 10:40:33 -05:00
James Cotton
8d7dc0eab7
Trying to get eclipse project right
2012-08-02 10:40:33 -05:00
James Cotton
d06b40ea29
Initial import of my androidgcs framework
2012-08-02 10:39:39 -05:00