James Cotton
ddb197a15d
AndroidGCS: Move the telemetry functionality into its own package
2012-08-08 10:04:52 -05:00
James Cotton
07074ef41e
AndroidGCS: Add copyright header of the other files
2012-08-08 09:22:09 -05:00
James Cotton
dc6b3af707
AndroidGCS: Add copyright headers to the UAVTalk/UAVObject/Telemetry implementations.
2012-08-08 09:06:31 -05:00
James Cotton
2008486922
AndroidGCS: Remove unused file
2012-08-08 09:00:31 -05:00
James Cotton
babe4d9f0e
AndroidGCS: Make the fragment object updated callbacks register in the main
...
activity method and use the main activity handler to consolidate things into
one place.
2012-08-08 08:55:58 -05:00
James Cotton
6bed9fcb3c
AndroidGCS: Create a fragment API.
...
The ObjectManagerFragment will automatically registers against the
activity to be notified when an onOPConnected or onOPDisconnected method
occurs. The Fragment API also duplicates the registerObjectUpdates(UAVObject)
method from ObjectManagerActivity so that it's objectUpdated() method is called
whenever and using the appropriate UI thread.
2012-08-08 08:37:35 -05:00
James Cotton
0f0e5faba0
AndroidGCS: Update objects to match next
2012-08-06 17:01:59 -05:00
James Cotton
19b5cf4616
AndroidGCS: In the SystemAlarms display rank fields by alarm severity. Also
...
make hte fake telemetry object generate alarms.
2012-08-06 16:55:02 -05:00
James Cotton
a3038af4ad
AndroidGCS: An ugly system alarms gadget that lists all the alarm values
2012-08-06 16:55:02 -05:00
James Cotton
3eb84e188e
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 16:55:02 -05:00
James Cotton
f3dd96ed1d
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 16:55:02 -05:00
James Cotton
578689748b
AndroidGCS: Artwork for a telemetry monitor in the action bar
2012-08-06 16:55:02 -05:00
James Cotton
0601fd8b33
AndroidGCS: Add a launcher icon for the SystemAlarms gadget
2012-08-06 16:55:01 -05:00
James Cotton
a5933b7af5
AndroidGCS: Logger now displays the number of bytes and objects logged.
2012-08-06 16:55:01 -05:00
James Cotton
01a8c4a7e1
AndroidGCS: Write logging in the format consistent with how we record on the
...
ground station and can parse from matlab.
2012-08-06 16:55:01 -05:00
James Cotton
eb13db4126
AndroidGCS: Get the logger writing a list of updated objects
2012-08-06 16:55:01 -05:00
James Cotton
f986a83ef6
AndroidGCS: Unregister from the broadcast receiver when destroying
...
ObjectManagerActivity.
2012-08-06 16:55:01 -05:00
James Cotton
c9124d5676
AndroidGCS: Class to facilitate selecting a bluetooth device in the preferences
...
pane
2012-08-06 16:55:01 -05:00
James Cotton
0274c8c860
AndroidGCS: Check in the stubs for a logging activity which will eventually
...
move into the service and this will become the control interface.
2012-08-06 16:55:01 -05:00
James Cotton
51765f4033
AndroidGCS: Missed some map icons
2012-08-06 16:55:01 -05:00
James Cotton
13392d0f20
AndroidGCS: Get rid of remaining warnings
2012-08-06 16:55:00 -05:00
James Cotton
7a214dc6cb
AndroidGCS: Clean up some warnings in UAVO templates
2012-08-06 16:55:00 -05:00
James Cotton
3f881454da
AndroidGCS: Update preferences to the new Fragment API
2012-08-06 16:55:00 -05:00
James Cotton
e80aad99c0
AndroidGCS: Correct the equation for converting PositionActual (NED) to world
...
coordinates
2012-08-06 16:55:00 -05:00
James Cotton
d18b3bbbf6
AndroidGCS: Add the device location to the map overlay. Improve the icons for
...
the UAV and home location.
2012-08-06 16:55:00 -05:00
James Cotton
bebeb78a06
AndroidGCS: Update the API key for my debugging key. I guess everyone testing
...
will need to merge in their own key for hte location engine.
2012-08-06 16:55:00 -05:00
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