peabody124
1051d894b9
AHRS: Merged in some new code from Dschin that expliclity writes the prediction terms in the covariance matrix. Also made changes to compile with -Os. Now runs around 125 - 150 Hz depending on corrections used (this will become adjustable from GCS shortly).
...
Squashed commit of the following:
commit 897e3365ab6c762584c34238efd12dc144e72af0
Author: James Cotton <peabody124@gmail.com>
Date: Mon Sep 13 22:15:21 2010 -0500
AHRS: Getting it running nice and quickly.
commit 53d72fb849164730c89873cab81c9e09be0b112b
Author: James Cotton <peabody124@gmail.com>
Date: Mon Sep 13 15:57:46 2010 -0500
AHRS: Make more variables volatile for -Os.
commit 4fa90821b5d3d8c2ea5e67756313a8a63c0eeb8c
Author: James Cotton <peabody124@gmail.com>
Date: Mon Sep 13 15:11:31 2010 -0500
AHRS/Makefile: -O0 not added to allow me to try various space flags that don't break code.
commit 5bd17a304dc28dc271c2f3e8c6cb8ad4a830404f
Author: James Cotton <peabody124@gmail.com>
Date: Mon Sep 13 14:44:05 2010 -0500
AHRS: Make debuggign USART easy to disable
commit 5453f2a7939492769fe9e9cc822e69c107320670
Author: James Cotton <peabody124@gmail.com>
Date: Mon Sep 13 14:38:37 2010 -0500
AHRS: Explicitly expand covariance prediction. Brings computations from 160 to 90. Makes it not fit in AHRS though.
commit b6712da7eece2a464a2073d24b77be22bfa47094
Author: James Cotton <peabody124@gmail.com>
Date: Sun Sep 12 22:59:42 2010 -0500
AHRS: Make it easy to comment out the I2C/Magnetometers.
commit 8c84d0091f3d6f6bedc7a0224a4ed9cb099b022b
Author: James Cotton <peabody124@gmail.com>
Date: Thu Sep 9 00:49:50 2010 -0500
AHRS: Small change to INSGPS analysis tools
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1613 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 06:42:56 +00:00
sambas
41a23a8eeb
Ground/GCSControl: weird problem with assert in windows environment, this hack seems to help it
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1608 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 15:12:58 +00:00
martin
ba18af6ed9
Update Russian translation
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1606 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 00:54:02 +00:00
martin
f03958b4a6
rollback to the previous path to *.qm files
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1605 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-13 00:08:40 +00:00
peabody124
10cfeeb35f
AHRS/Matlab: Small bug in the quaternion transformation in case anyone else uses this :)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1602 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 21:22:44 +00:00
erhard
be1dc09c29
OP-99 Import/Export: Reflect the format-changes from 1599 in the version-number.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1600 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 21:05:35 +00:00
cranphin
f826ee0a20
Use QSettings key/properties instead of byte arrays for plugin configurations.
...
I've left in the reading of the byte arrays for now, so people can load their old config files, on the next save they'll be converted. This should be removed at some point in the not too far future though, since it's a lot of duplicate code in each plugin.
I've converted all the plugins, it's certainly possible I made a typo somewhere, I tried to test as much as I could, sorry if I broke something though :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 16:24:54 +00:00
erhard
ddf6ee46ee
OP-99 Import/Export: Prepare for version compatibility.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 15:51:14 +00:00
peabody124
e90e714c2b
Flight: Tweaked the throttle handling and VTOL use of it to make sure engines can be shut off easily in stabilization mode.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1593 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:49 +00:00
peabody124
56131476ef
AHRS: Switch to sampling at 2khz, plenty of CPU usage. However need to make EKF rate different for outdoor mode with this patch because otherwise will drop samples :-(
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1592 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:47 +00:00
peabody124
5d1ebf76ea
Flight/VTOLmixer: Fix bug in mixer that messed up roll mixing. Also changed minimum to -1 so that neutral can be position motors come on and -1 the off position. Also made failsafe throttle value -1 to be consistent.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1591 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:44 +00:00
peabody124
c376711405
Flight/Stabilization: Make the derivative account for the sampling time (dAngle/dt) for the PID loop since integral does and also make the integral bounds uavobject settings. It was originally bounded by constant/Ki but I'm not sure why as you change the gain of the error integral you also want to decrease the maximum error it can cause.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1590 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:41 +00:00
peabody124
8999355327
Flight: Made actuator a periodic task. I don't think the queue is low enough latency - should figure out how to make this happen as callback is the right way to go.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1589 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:38 +00:00
peabody124
dceb20b16d
Flight: VTOLStatus object that returns the thrusts on all the engines
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1588 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:34 +00:00
peabody124
bba3b0c64a
Flight: VTOLSetings object to contain the mixer settings for VTOL crafts
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1587 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 02:54:30 +00:00
edouard
929f7dd5d8
Make Notification plugin sound path portable too.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1579 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-11 21:17:44 +00:00
edouard
ce53757baa
Servo input config was missing the accessory inputs. Changed the plugin to remove any hardcoded value, so it should be safe for future new channel assignement types
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1578 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-11 09:05:42 +00:00
edouard
3d388d2e93
Modelview: another ugly fix to complte the first one. There is a lingering issue of initing the GL context on the first valid
...
model that is loaded, this fix addresses it but it could be much more elegant, I'm sure.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1576 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-10 15:25:05 +00:00
edouard
4d399d7034
Fix for Mac build, sorry
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1575 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 22:01:45 +00:00
edouard
beed9c8936
Solved (please confirm) modelview crashing on non-existing files
...
Made configuration portable for: dials, bargraph dials, pfd, modelview and system heatlh
THis means: if your config points to resources in the share directory, then the config will be portable
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1574 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:18:43 +00:00
cranphin
3b0b860c7b
GPS Viewer: more layout tweaks. This looks kinda Ok, I think.. :)
...
Suggestions/complaints welcome ;)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1573 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:01:47 +00:00
cranphin
4db1849c6c
GPS Viewer: Use a grid layout for the 4 main parts.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1572 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 20:12:42 +00:00
cranphin
2634067727
This should scale a bit better again, hopefully :) more coming!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1571 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 19:56:16 +00:00
edouard
2b70ed53f7
New "PathUtils" Utils function, to help plugins detect where the "share" directory is located. Should be improved but it is a start.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1569 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 15:17:37 +00:00
cranphin
38f0cffede
GPS Viewer: Try to improve scaling a bit, add split thing between log
...
and main view. Hope noone dislikes the changes ;) QT Layouts are fiddly!
:) Kinda a work in progress still.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1566 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 23:20:31 +00:00
edouard
4b3096dd57
OP-38 Ground / Config Gadget: implemented channel reversal for output channels.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1564 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 21:31:09 +00:00
peabody124
cd9f5a0a5d
Ground/Logging: Fix bug overwriting timestamp. Thanks Cranphin.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1563 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 18:48:16 +00:00
peabody124
6cdb9b0b48
AHRS: Added Matlab code to analyze the INSGPS friendly data dump format and plot the important variables. This requires "DUMP_FRIENDLY" be enabled in the file.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1560 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 06:15:21 +00:00
peabody124
e499f33fd5
AHRS: Improved code to stream raw data from AHRS and added a matlab function to acquire and analyze the data. The QT program to analyze it should work but QextSerial seems to have a bug and drops or inserts data
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1559 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-08 06:15:18 +00:00
edouard
b53f19dc03
OP-38 Ground/Config Gadget : another try at making AHRS settings more intuitive. And the Object queue now works (...)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1558 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 20:08:29 +00:00
edouard
b5608ed2ac
OP-38 Ground/Config gadget: implementation of a queue to manage successive ObjectPersistence updates, will solve several issues (two updates
...
one after another will fail if we don't wait for the transaction completed signal).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1557 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 19:31:19 +00:00
peabody124
9895b403c7
Ground/SerialLogging: Improved the serial dump from AHRS to have a big random frame header and to detect it on the logging program.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1556 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 16:33:10 +00:00
chebuzz
755c47d666
OP/GCS ModelView - Added transparent rendering support, as well as debug output with right-click
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1555 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 12:52:52 +00:00
edouard
0af3d26981
OP-38 Ground/Config gadget: AHRS indoor mode works, as well as Home Location saving.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1554 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-07 12:26:33 +00:00
cranphin
d06d7025ff
Don't forget to unhide the gps data stream when switching back to serial
...
input :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1552 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 21:16:21 +00:00
cranphin
e8b0169b34
Add fix type (auto/manual), and fix sv's to nmea parser (not connected
...
to anything atm.)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1551 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 21:02:35 +00:00
cranphin
c87ff38039
Some fixing/cleanup:
...
- Swap fix type and satelite count in UI.
- Use QString for the packet signal, if it ever happens to be
multithreaded signal/slot this will be better (And char* should perish
:) )
- Make QString in the slots const and by reference, that seems to be
preferred (const = safer, reference = faster).
- Don't use 'new' QStrings in the nmea parser, not sot sure if that
causes memory leakage, but it wouldn't surprise me.
- Emit fix type updates from the (Serial) nmea parser.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1550 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 19:15:42 +00:00
zedamota
609d215749
OP-21/Flight Bootloader PC APP- Cosmetic changes only.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1549 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 19:05:41 +00:00
edouard
5c4ba7140b
OP-38 Ground / Configuration gadget: automatically save results of 6-point calibration to SD (consistent with behaviour of sensor noise calibration). Other smaller updates.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1548 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 11:53:13 +00:00
edouard
ce6a4325e4
OP-38 Ground/Settings gadget : query uavobject properly for input channel assignements, so that any new input type is supported. Solves the issue with accessory inputs not appearing.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1547 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 08:26:27 +00:00
zedamota
01b4c5d0e3
OP-21/Flight Bootloader PC APP- Finished, not tested on HW though.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1543 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 23:15:45 +00:00
stac
44b41c32d2
gpsdisplay: correct lat/lon minute calculation for 3/4 of earth
...
The computation of the minutes portion of the lat/lon was
wrong for any negative values. lat-deg was effectively
doubling the whole degree part rather than removing it for
any negative whole degree part so you would get huge whole
minute parts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1542 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 23:10:36 +00:00
edouard
1690e500e9
OP-52 Ground/GPS Gadget : make it resizable, within reasonable limits. Should behave much better now on smaller screens.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1540 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 20:23:25 +00:00
edouard
0c884ed14d
OP-136 Ground/PFD Fixed issue where pitch value was used for roll settings. What was it about the monkey again? ;-)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1539 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 17:30:49 +00:00
edouard
7ef12a801e
OP-52 Ground/GPS Gadget: DOP values on NMEA sentences too. Tested on both telemetry & NMEA/Serial
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1538 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 08:20:32 +00:00
sambas
6868a3ec48
OP-52 Ground/GPS Display: Refixed, I guess edouard tested only the telemetry stuff
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:39:30 +00:00
edouard
22ea3ce214
OP-52 Ground / GPS Gadget. Fixes, that will be all for now...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:13:02 +00:00
edouard
d689c2cf23
OP-52 Ground / GPS Gadget: sorry, missed the 1E-7...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1535 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:05:17 +00:00
edouard
1f78c63648
OP-52 Ground / GPS Display: overhaul of UI - should not change anymore hopefully - to be more compact and more readable, with more info
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1534 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 07:03:29 +00:00
sambas
2283e2e9ad
OP-52 Ground/GPS Display: More tweaks
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1533 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 06:28:30 +00:00