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
a9066494c7
Java autogenerated code to be more compatible with gcs code
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
7ab3f5b47e
Update the object template to be more consistent with ground 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
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
dde9de080e
Need to increase the GPS stack size when I include the GPZDA message
2012-07-29 12:41:20 -05:00
James Cotton
0af240e0a3
Add a plane/quad directory to ignore for sim_posix files
2012-07-28 22:57:10 -05:00
James Cotton
24636eb5f4
Add a waypoint above home for the box pattern.
2012-07-28 22:55:59 -05:00
James Cotton
9bd49ded4f
OSX Simulator - get model type correctly
2012-07-28 13:35:31 -05:00
James Cotton
b86c683948
Merge branch 'alt_mag_nulling' into revo
2012-07-28 12:08:51 -05:00
James Cotton
61c1771862
Change the constant so LED flashing works properly on Revo
2012-07-28 11:24:28 -05:00
James Cotton
f02aacfeb6
Change the constant so LED flashing works properly on Revo
2012-07-28 11:22:24 -05: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
James Cotton
221ae05ef6
Perform the update every cycle. Mag rate of 0.001 seems to work well.
2012-07-27 13:20:30 -05:00
James Cotton
abb0caa6bd
Try a different mag nulling algorithm.
2012-07-27 13:14:18 -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
9f00eda1b4
Add the mag offset compensation into into the simulated sensor code
2012-07-26 21:00:30 -05:00
James Cotton
880d58e4d9
Changes to mag nulling from D-Lite. Perform update only when we have a new
...
vector sufficiently different from the previous one.
2012-07-26 20:38:16 -05:00