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

6062 Commits

Author SHA1 Message Date
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
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
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
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
James Cotton
0ed5b84ee9 Move the try catch when parsing overo files 2012-07-25 14:41:10 -05:00
James Cotton
735c009843 Disable writing to the overo driver for every pios_com write again. It drives
up system consumption too much, although now data will get lost :(.
2012-07-25 13:15:47 -05:00
James Cotton
41f80eb34f Disable offset nulling while performing GCS mag calibration. 2012-07-25 11:26:37 -05:00
James Cotton
c587ceebfd Make the mag offset nulling convergence rate come from the UAVO. When it is
set to zero nulling does not occur to allow us to still calibrate the sensors.
2012-07-25 11:23:27 -05:00
James Cotton
3b57b492d0 Mag bias tracking seems to work 2012-07-25 11:19:39 -05:00
James Cotton
1a5af9dafb Remove some old debugging code 2012-07-25 11:10:10 -05:00
James Cotton
d1e6dcc2f0 First pass implementation of William Premerlani's magnetometer bias correction 2012-07-25 11:07:40 -05:00
James Cotton
8ac31808b9 Overo bump 2012-07-24 14:11:05 -05:00
James Cotton
36fcdcc107 Make PH use axis lock by default 2012-07-24 14:10:05 -05:00
James Cotton
82219d2511 Make matlab log processing support overo UAVtalk packets now 2012-07-24 14:08:14 -05:00
James Cotton
30085d23ff Reenable sending from the overo tx method but no longer yield since we aren't
using a blocking write anyway.
2012-07-24 11:29:24 -05:00
James Cotton
6561b9b164 For now make it an error when GPS is enabled but missing. However, no warnings
when it's present.
2012-07-24 11:28:31 -05:00
James Cotton
a90dd1ef5c For now do not call PIOS_OVERO_WriteData from the Tx method because this is too
slow (task yield?) and results in a lot of event system errors.
2012-07-24 11:18:58 -05:00
James Cotton
e006ae2b4d Fix a really stupid bug where I ordered two cases together; 2012-07-24 11:07:40 -05:00
James Cotton
d75fef52ee Increase the overo event queue size to try and stop getting warnings. Only
allocate when using overosync.
2012-07-24 09:48:24 -05:00
James Cotton
92d975e668 Reduce the UAVTalk type mask to allow the top byte flag to indicate if there is
a timestamp
2012-07-24 03:44:35 -05:00
James Cotton
4809d569c0 Need to tell UAVTalk to expect a longer packet when it includes a timestamp 2012-07-24 03:44:03 -05:00
James Cotton
ea5c3be026 Need to add hooks in sendObject and receiveObject to actually transmit _TS objects 2012-07-24 02:57:51 -05:00
James Cotton
858c2cd512 Increase the size of the overo queue 2012-07-24 01:54:04 -05:00
James Cotton
617de9c68b Revert "Disable the FLASH_FREERTOS flag for revolution so that it doesn't try and use"
This reverts commit 7522bd07ba.
2012-07-24 01:49:53 -05:00
James Cotton
1f7345ef77 Dos2unix uavtalk files 2012-07-23 19:59:01 -05:00
James Cotton
13ff0dbb36 Add accessor method to get the time of the last timestamp to avoid breaking the
API
2012-07-23 19:44:07 -05:00
James Cotton
3137d5288b Add a message type flag (0x80) to UAVTalk which inserts a timestamp after the
previous header and the decoding to read this out.
2012-07-23 19:39:17 -05:00
James Cotton
26f07c21f6 Fix the pios_overo driver for compiling against the bootloader 2012-07-23 10:07:42 -05:00