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

5820 Commits

Author SHA1 Message Date
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
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
c1a0f176eb Merge branch 'master' into next 2012-08-03 09:37:22 -05:00
James Cotton
dafc455bfa Increase the manualcontrol stack size based on Stac's comments 2012-08-03 09:36:59 -05:00
James Cotton
6948f1dc41 Merge remote-tracking branch 'origin/master' into next
Conflicts:
	package/winx86/translations/strings_de.nsh
2012-08-03 09:35:18 -05:00
Ryan Hunter
4d257860c8 Moved the matlab files to matlab folder for GCS plugin 2012-07-31 13:26:35 -05:00
Werner Backes
e32152386a Increased stack for PIOS_SETS_HOMELOCATION case to avoid running into low stack warnings when settings the home location from GPS was actually used. 2012-07-31 11:10:23 +02:00
Werner Backes
b8450d4a07 Fixed World Magnetic Model to accept altitude in meters instead of kilometers 2012-07-31 00:18:10 +02:00
Oleg Semyonov
51b7e11160 AeroSimRC: remove unused MSVC options 2012-07-30 00:08:43 +03:00
Oleg Semyonov
dcf68c2359 AeroSimRC: fix MinGW DLL locations for Qt 4.8.1+ (4.8.0 compatible) 2012-07-30 00:03:01 +03:00
Oleg Semyonov
1273a58d9f Windows packaging: update sh.cmd script for QtSDK 1.2.1 2012-07-29 23:59:58 +03:00
Oleg Semyonov
e75a2718f1 Windows packaging: fix MinGW DLL locations for Qt 4.8.1+ (4.8.0 compatible) 2012-07-29 23:59:54 +03:00
Oleg Semyonov
08034df50e Windows packaging: update sh.cmd script for QtSDK 1.2.1 2012-07-29 23:55:51 +03:00
Oleg Semyonov
fc51680e6c Windows packaging: fix MinGW DLL locations for Qt 4.8.1+ (4.8.0 compatible) 2012-07-29 23:08:59 +03:00
James Cotton
f5af60af3e Increase the stack size for the system module now the saving occurs within that
thread.
2012-07-27 17:43:47 -05:00
James Cotton
9d82538a09 If we set FirmwareIAPObj to update on change then initial object retrieval will
force it to be fetched before emitting the autopilotConnected signal.
2012-07-27 16:16:16 -05:00
James Cotton
6ba8f3ca9e Fix from hyper to catch when multiple object requests stack up 2012-07-27 16:16:12 -05:00
PT_Dreamer
bf6790f554 GCS-Made the changes to vehicleconfig final and reenabled the
system settings update call.
2012-07-27 16:12:15 -05:00
PT_Dreamer
1955e8b842 GCS-Comment out the updated statements on vehicleconfig.cpp
TODO check if this brings other problems. REVERT commit if it does
2012-07-27 16:12:12 -05:00
PT_Dreamer
4003cd70a8 GCS-Made rate Kd roll and pitch link when checkbox is checked. 2012-07-27 09:13:53 -05:00
James Cotton
6867068b9e Merge branch 'saving_queue' into next 2012-07-25 13:28:17 -05:00