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
cwabbott
c2e93aa810
PiOS/win32: Made the process priority "high priority" for OpenPilot.exe to help with accurate timing. Also removed some unneeded debugging code from tasks.c.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1553 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 21:23:02 +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
peabody124
e06162fa3a
Flight/AHRS: Reorganized the code a little to make sure indoor used by default unless GPS updates come
...
in. Also change the velocity variance in indoor mode to lower to make it get a better attitude estimate (primarily faster convergence - probably will tweak this in the future dynamically). Finally decreased barometer variance - in scope it's actually quite reasonable, normally within +/- .5 m.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1546 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 07:54:19 +00:00
peabody124
e260077247
Flight/ManualControl: Making failsafe test (which must explicitly look at receiver inputs instead of throttle values in case of reversal) also consider readonly flag to detect GCS control.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1545 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 02:58:41 +00:00
peabody124
61854ac6ab
Flight: Support for quadcoptors. The format of this control will change to support octo's and more flexible tuning.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1544 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-06 02:58:39 +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
stac
95595664c3
telemetry: fix comments around #ifdef
...
No functional changes.
The closing comment on some of the USB_HID related
ifdefs was outdated. Fixed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1541 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 23:10:34 +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
sambas
d457781173
OP-52 Ground/GPS Display: Maybe this works better
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1532 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 06:06:59 +00:00
zedamota
70715ba0e2
OP-21/Flight Bootloader PC APP- More command line parameters handled.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1531 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 00:18:49 +00:00
zedamota
492227c916
OP-21/Flight Bootloader - Donwload function is now interrupt driven. Had to increase IN polling interval due to some problems.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1530 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-05 00:17:20 +00:00
peabody124
f9a0b799a2
Foolishly forgot object like I always do
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1529 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 22:01:11 +00:00
edouard
a378621666
OP-52 Ground/GPS Display: better data formatting, added display of location on tiny worldmap.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 19:55:06 +00:00
peabody124
d3b677298c
Flight/ManualControl: Added a hysteresis loop to the manual control connection/disconnection status. I seem to get glitching without it - probably because of the receiver catching noise. It still occasionally glitches but I don't want to make it longer. Probably should be an adjustable setting.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1527 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 17:08:04 +00:00
peabody124
c21d058110
Flight: Added ability to use a third accessory input. Currently using that to select tuning roll/pitch bias and PID tuning. I also _STRONGLY_ recommend if you enable these accessory channels (and thus these features) you make the saved meta data for the StabilizationSettings and AttitudeSettings read-only, so only on flights where you mean to can you change these settings. I'm also not convinced about the interface - it seems like flicking TX switches to get into adjustments is a recipe for disaster. Probably need to just control through GCS.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 17:08:02 +00:00
peabody124
45e8131a30
Flight: Added ability to use additional TX inputs to tune attitude bias. Note this form of the calibration is temporary and will likely be replaced by a rotation matrix to deal with more general rotations.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1525 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 17:07:59 +00:00
edouard
aa909cf7dd
Various updates: use PDOP on PFD since the INSGPS algo relies on it, and more work on GPS Display gadget, minute improvements...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1524 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 16:42:56 +00:00
edouard
24f5023e10
Ground/PFD : fixed the heading issue. Careful with this code, it's precision mechanics ;-)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1523 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 07:21:13 +00:00
peabody124
cd93574511
Ground/PFD: Removing a debug output I forgot
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1522 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 06:13:13 +00:00
peabody124
b607200fa6
Removing makespec line for windows from Makefile. Find out how to put it in an OS conditional, don't break the other two OS.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1521 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 06:13:12 +00:00
peabody124
8dbc382e5b
Ground/CoordinateConversions: Shows correct location now. I just typed in a 3.14 constants and forgot to change to M_PI.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1520 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 05:58:43 +00:00
peabody124
544f15eadf
Ground/PFD: Reconnected right data to PFD. Edouard - heading doesn't seem to scale between degrees and transform on the compass correctly, but I don't know the right constant.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1519 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 03:20:40 +00:00
peabody124
b4ff14b725
Ground/GCSControl: Swapped sign conventions of sticks to match the sign convention of roll/pitch/yaw. I.e. now right on the roll causes a + roll, pulling down on the pitch causes + pitch.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1518 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:06 +00:00
peabody124
404e0c2f44
OP-132 AHRS: Changes to the Indoor flight handling to only use the barometer indoors and update with a zero for velocity and high variance.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1517 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:04 +00:00
peabody124
bb45b0c38a
Ground/GCSControl: Swapped sign conventions of sticks to match the sign convention of roll/pitch/yaw. I.e. now right on the roll causes a + roll, pulling down on the pitch causes + pitch.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1516 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:02 +00:00
peabody124
a406034ed9
OP-132 Flight/AHRS: Changed the heuristics regarding GPS quality and INSGPS updates. Now if satellites < 7 or PDOP > 3.5 it does not perform GPS updates. Professor is working on some code to fix parts of the covariance matrix. If indoor updates high a 0 position and velocity and high variance.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1515 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 02:19:00 +00:00
zedamota
72e64e1009
OP-21/Flight Bootloader - Command line parameters added, still some missing.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1514 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 01:07:44 +00:00
zedamota
8233f87b0a
OP-21/Flight Bootloader - Download function fixed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1513 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-04 01:06:40 +00:00
cranphin
6e9b745f18
GPS Viewer: Delete port/parser when configuration gets reloaded, and
...
make connect/disconnect work properly for serial.
This did include some refactoring, sorry if that interfers with someone
else's work! Should be too hard to merge tho (and I couldn't find
Edouard online, and I'll be gone the rest of the weekend :) ).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1512 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-03 22:04:54 +00:00
dschin
84d054c4ed
gdb command file to enable debugging with interrupts in Eclipse
...
See http://forums.openpilot.org/topic/1671-debugging-with-interrupts-in-eclipse/
for details.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1511 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-03 13:10:04 +00:00
cwabbott
d7a3ffb464
flight/PiOS.win32: update Makefile.win32 with new UAVObjects, also change UAVObject headers to have a newline at the end.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1510 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 23:55:24 +00:00
zedamota
f4464c01a7
OP-21/Flight Bootloader - More functions added, file hash now automagicaly created and uploaded. Device discovery working. As with the bootloader embedded SW this is highly experimental.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1509 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 22:46:06 +00:00
zedamota
749267aee5
OP-21/Flight Bootloader - Minor bug fix.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1508 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 22:43:32 +00:00
zedamota
7a66232be0
OP-21/Flight Bootloader - Complete recoding. WARNING- As with all flash memories, the one in your OP HW as limited write cycles. Errors in this bootloader may damage your HW if it falls under a write or erase dead loop. This is still under development, for devs only.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1507 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-02 20:13:41 +00:00