1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-11 19:24:10 +01:00
Commit Graph

6368 Commits

Author SHA1 Message Date
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
PT_Dreamer
40415f606e Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-06 19:01:48 +01:00
Chris Pember
89a8b05422 fixed tab order, a little spacing tweak onadvanced page 2012-08-06 10:32:01 -07: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
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
Chris Pember
c600014f2f merged the weak leveling and axis lock to same group 2012-08-05 14:04:42 -07:00
Chris Pember
bcb23bb779 pre-spinner value align shift 2012-08-05 12:44:36 -07:00
Chris Pember
56dfed2e8b pre-spinner value align shift 2012-08-05 12:41:19 -07:00
Chris Pember
17bcdb6113 resized the default buttons areas, moved the entire sensor tuning to expert, fixed apply layout spacing 2012-08-04 23:03:56 -07:00
Chris Pember
72749a1ce1 resized the default buttons areas, moved the entire sensor tuning to expert, still WIP 2012-08-04 23:03:00 -07:00
James Cotton
d201cad768 Connect correct signal to relay tuning so the UI populates the calculated
stabilization settings.
2012-08-04 12:03:53 -05:00
James Cotton
096f940fee Reenable the flash version now Stac's fix is tested. 2012-08-04 12:03:41 -05:00
James Cotton
d6c485459f Fix error Stac caught in sin_lookup 2012-08-04 00:33:20 -05:00
Chris Pember
0d2e307885 resized the save area on stabi page, added axislock and weakleveling to advanced menu 2012-08-03 22:01:54 -07:00
Mike LaBranche
0643f59b85 Merge branch 'pt/CC3d_Release' of ssh://gitolite@git.openpilot.org/OpenPilot.git into CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/uavobjectwidgetutils/popupwidget.cpp
2012-08-03 14:36:16 -07:00
Mike LaBranche
b621b057b6 remove overo? 2012-08-03 14:31:54 -07:00
Mike LaBranche
38e521fc1a TelemetryWidget: set AlignCenter, chasing osx render correctness. 2012-08-03 13:52:35 -07:00
PT_Dreamer
df61d33f66 GCS- Added the ability to have more than 1 ui limit per index 2012-08-03 18:57:24 +01:00
James Cotton
8eac518a9c If the sin table is empty don't attempt to use it and return 0. 2012-08-03 12:43:50 -05:00
James Cotton
ccbbda1b51 Make default tuning mode Attitude to make it easier on people like me :) 2012-08-03 12:41:00 -05:00