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
Stacey Sheldon
017d8c79c9
hid joystick: add missing .c file
...
This time for sure...
2012-08-06 11:49:03 -04:00
Stacey Sheldon
d44e24a150
hid joystick: add missing .h files
2012-08-06 11:42:44 -04: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
James Cotton
11a27cd593
AndroidGCS: Get the logger writing a list of updated objects
2012-08-06 04:26:24 -05:00
James Cotton
c24164d661
AndroidGCS: Unregister from the broadcast receiver when destroying
...
ObjectManagerActivity.
2012-08-06 04:04:05 -05:00
James Cotton
ab5c3128c2
AndroidGCS: Class to facilitate selecting a bluetooth device in the preferences
...
pane
2012-08-06 02:47:00 -05:00
James Cotton
76ef6292de
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 02:40:10 -05:00
James Cotton
589132a009
AndroidGCS: Missed some map icons
2012-08-06 02:37:28 -05:00
James Cotton
cc593390d2
AndroidGCS: Get rid of remaining warnings
2012-08-06 01:26:10 -05:00
James Cotton
f6692c07fe
AndroidGCS: Clean up some warnings in UAVO templates
2012-08-06 01:17:19 -05:00
James Cotton
dff1344b6c
AndroidGCS: Update preferences to the new Fragment API
2012-08-06 01:15:29 -05:00
James Cotton
41c07c8f23
AndroidGCS: Correct the equation for converting PositionActual (NED) to world
...
coordinates
2012-08-06 00:35:53 -05:00
James Cotton
2094c37102
AndroidGCS: Add the device location to the map overlay. Improve the icons for
...
the UAV and home location.
2012-08-06 00:05:50 -05:00
James Cotton
9923d4f97c
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-05 22:46:16 -05:00
James Cotton
ec31f0dc6a
AndroidGCS: As soon as the controller is released set the throttle to -1
2012-08-05 22:14:40 -05:00
James Cotton
8be488b92f
AndroidGCS: Use a timer when computing the update time for GCSTelemetryStats
2012-08-05 22:07:40 -05:00
James Cotton
6748981090
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-05 21:53:54 -05:00
James Cotton
8fc7ed49c4
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-05 21:52:09 -05:00
Stacey Sheldon
ef0c12b1b6
hid joystick: emulate a USB HID joystick using RC Transmitter
...
Adds a new RCTransmitter setting for the USB HID interface which
emulates a USB HID joystick. The scaled RC receiver channels
from any RCVR protocol are passed through to the various emulated
joystick controls.
The main use for this feature is to allow you to use your own RC
transmitter with any RC simulator on a PC.
This is known to work with CRRCsim but should work with any simulator
that supports joystick input.
2012-08-05 21:45:27 -04:00
James Cotton
fc18dac90b
AndroidGCS: Joystick can now control UAV
2012-08-05 18:41:07 -05:00
James Cotton
bd280f6fec
AndroidGCS: Add load button to the object browser.
2012-08-05 18:17:26 -05:00
James Cotton
fd9dc66efb
AndroidGCS: Respond to the virtual pad movements and stop transmitting updates
...
when they are released.
2012-08-05 17:07:00 -05:00
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