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

1805 Commits

Author SHA1 Message Date
cranphin
c2fee8fc6d GCS: Right, fixed this the right way per suggestion of PeterG (Thanks :)
). Splitters now have 6 pixels of grab area on each side again, without
crashing 4.7.0.
I still is ugly code, but Qt leaves us no option :) Added some comments
to make this clear.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1769 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 09:29:23 +00:00
peabody124
da583e0914 Flight/Guidance: Disable by default
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1768 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:07:40 +00:00
peabody124
6d811cc4db OP-140 AHRS: Don't run INSGPS until OP says board is initialized. This will
also block heart beat.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1767 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:57 +00:00
peabody124
8475a68958 Flight/Stabilization: Keep command and error in deg/s for rate stabilization
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1766 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:54 +00:00
peabody124
a3ea9a5461 AHRS: Add a weak mag correction in indoor mode to remove gyro bias and try and
get a reliable heading

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1765 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:51 +00:00
peabody124
a91e5502b4 Ground/XPlane: Should update GPSPosition with gps position
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1764 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:47 +00:00
peabody124
6d66060730 Ground/MagicWaypoint: Now displays the current position and desired position (icons could do with work)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1763 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:45 +00:00
peabody124
6fe9a12358 Ground/OPMap & Coordinate conversions: Keep units in cm throughout
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1762 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:41 +00:00
peabody124
ba0fb92853 Ground/MagicWaypoint: New gadget that controls position desired in a magic waypoint fashion.
Ground/PFD: Update to use velocity actual

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1761 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:37 +00:00
peabody124
77b68e5169 Flight/Guidance: Initial template for guidance module
Flight: Create PositionDesired (the active waypoint) UAVObject and make the FlightSituationActual no update since it not used.
Flight: New velocity desired object that passes information between the look computing the desired velocity and the PID loop to get it (updated at different rates)
UAVObjects/PositionActual: Remove unused GPS fields
UAVObjects/PositionActual VelocityActual: Split the velocity into a separate object.  ALso make sure all the information telemetered around is in cm to avoid using floats.
UAVObject/GuidanceSettings: New guidance settings object for the guidance module
Flight/Posix: Add the new objects to the Posix sim
Flight/Guidance: Computes a desired velocity based on position error than runs a PID loop to control roll and pitch to achieve that velocity.  All distances are in cm, and updated the PositionActual fields to reflect this and use int32.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1760 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:27 +00:00
kokomojoe
ca4f3b53fa OP-21/Flight Bootloader - added compiler and linker options to remove unused functions. Code is now smaller.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1759 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 02:34:04 +00:00
zedamota
9b05282be5 OP-21/Flight Bootloader - should make things cross platform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1758 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 00:39:01 +00:00
zedamota
0371808099 OP-21/Flight Bootloader - should make things cross platform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1757 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 00:36:42 +00:00
cranphin
cb9fdc8df6 GCS: Trying to tidy up splitter code some :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1756 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 21:14:16 +00:00
peabody124
a01783b2a8 OP-140 AHRS: Explicilty deal with if it is initialized or not, use that to
determine retransmitting calibration, home location and such.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1755 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 21:05:38 +00:00
zedamota
4536bc38db OP37/GCS MapLib - File committed by mistake, reverting changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1754 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 19:35:05 +00:00
zedamota
06e07fef2f OP37/GCS MapLib - Should stop black tiles on digital zooming
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1753 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 19:31:09 +00:00
cranphin
467bb42b02 GCS: 'This file isn't big enough for the two of us!' Moved SplitterOrView to it's own files, makes stuff easier to figure out :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1752 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 18:56:57 +00:00
pip
9bf6bbcbeb Removed manual set home position, fixed go home functions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1751 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 18:15:44 +00:00
dankers
4787a6f5cd Update the translations, rename Chinese translation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1750 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 18:07:33 +00:00
cranphin
c9af2b23d0 GCS: This should fix crashing with splitters in Qt 4.7.0 :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1749 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 16:42:24 +00:00
zedamota
e2dde2c097 OP37/GCS MapLib - Increased google true zoom to 21. It seems it was increased on one of the latest google maps versions. Thanks Peabody and Pip for the heads up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1748 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 16:13:06 +00:00
cranphin
a64981ae4c GCS: Fix on the fix, I messed up so gadget layouts wouldn't load at all, ever :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1747 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 16:09:34 +00:00
cranphin
da113799ad GCS: Tiny cleanup, remove a member variable which wasn't really used.
Makes stuff easier to understand :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1744 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 14:32:16 +00:00
cranphin
8fd00b9466 GCS: Small bugfix, with no ini file, the initial workspaces got their
'empty gadget/widget' removed.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1743 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 14:24:52 +00:00
pip
1f482371ca Fixed (hopefully) opmap plug-in zooming,
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1742 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 11:51:31 +00:00
peabody124
9b28f2d72c OP-167 OP-157 AHRS/Calibration: Added mag scale and really cleaned up calibration.
Calibration should take less time now too (using second moments to estimate
variance in one pass).  Now need to change to multiple messages to get the
calibration in to keep the request message size minimal.  Also currently
running sensor calibrate doesn't store the gyro bias so if you want to use this
you'll have to tweak it manually.  I'll fix that step tomorrow.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1741 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-25 09:20:38 +00:00
edouard
fd370f571d OP-138 Initial Quadcopter mixer UI, to be refined. Quad shapes artwork.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1740 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 23:02:32 +00:00
edouard
ef222a8739 OP-138 Mixer interface: implemented Elevon fixed wing. Not flown either.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1739 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 22:16:20 +00:00
edouard
918770f4a2 OP-138 Standard Fixed wing mixer implemented. I have not flown with it yet, take your responsibilities :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1738 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 21:24:42 +00:00
edouard
eedf85a5ac OP-138 Start of the new Mixer configuration interface, for fixed wing only. This does not work yet, takes a long time to fully implement.
The system settings UAVObject is updated, you will have to recompile your firmware. If you want to take a look and let me know, please do!



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 20:39:37 +00:00
zedamota
fa4818542e OP37/GCS MapLib - Fixed drag with digital zooming, enhanced graphics quality
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1735 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 19:28:40 +00:00
dankers
d9b890791c Basic Chinese translation for the GCS.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1734 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 18:17:34 +00:00
zedamota
095cbb4dd5 OP-21/Flight Bootloader - Now pulls SS pin low again if no AHRS is found.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1733 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 15:46:59 +00:00
edouard
fde1615fed OP-138 Preliminary work on the mixer settings (in the config/airframe tab).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-24 06:22:53 +00:00
peabody124
7a49f13540 Ground/OPMap: Fix compile error that PT made:
http://img93.imageshack.us/img93/8520/angrymonkey3uv.gif
Also I'm not sure ZoomReal is correct, this just gets things running.  There
are some quirks with the OPMap scroll bar now that need to be addressed.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1731 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 23:23:47 +00:00
cranphin
1758f55f1c GCS GPS Display: Noticed redrawing got real slow if I left the GPS
Display running for a while. I'm blaming that on the text area filling
with a million lines, though that still needs to be confirmed.
So I added a arbritrary 200 line limit, after which lines at the top
start disapearing. Seems sensible anyways :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1730 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 22:19:40 +00:00
corvus
1472b342c1 1.0 Featur Freeze -
Removing some Experimental and Incomplete Modules and their UAVObjects not suited for 1.0
- they will be moved into an experimental branch:

Navigation     : experimental code only
FlightSituation: experimental code only 
Guidance       : preliminary draft - possibly to be replaced by peabody124 position hold code if finished in time.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1729 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 22:05:03 +00:00
cranphin
e5c8c2129f GCS GPSDisplay: Add SNR bars, fix sattelite indexes from nmea parser.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1728 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 21:35:08 +00:00
zedamota
aec96a3867 OP37/GCS MapLib - Upgraded to new google versions.
Zoom now as no limit.
Other changes:
OPMapWidget:
SetZoom(double) accepts any value. Ex:19.4
double ZoomReal() returns the true zoom.
double ZoomDigi() returns the current digital zoom.
double ZoomTotal() returns digital+true zoom.
SIGNAL:
void zoomChanged(double ZoomTotal,double ZoomReal,double ZoomDigi);

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1727 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 21:13:18 +00:00
edouard
7598973824 Removed useless debug output from the dials plugins, to make GCS less verbose.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 20:17:17 +00:00
corvus
7125378cae OP-169 - Fill in new NED vector values from flight simulator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1725 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 19:48:08 +00:00
nickolay
53c630c7eb [HITL] : - add X-Plane bridge;
- appropriate and needed changes in HITL core files;

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1724 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 15:16:45 +00:00
cranphin
e217f8fc31 GCS: Whoops! I broke saving layout for empty workspaces. This should fix
it, Sorry! :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1723 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 22:28:52 +00:00
corvus
e44045f422 OP-165 : Guidance Module
Creating GuidanceModule together with PositionDesired UAVObject (as discussed),
so dschin and me can work on it :-)
Will compile and (on sim_posix) execute, but PID logic is yet untested and preliminary.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1722 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 22:16:48 +00:00
cranphin
d9dc37ad33 GCS GpsDisplay: Display PRN numbers in constellation, and some cleanup.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1721 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 21:36:11 +00:00
cranphin
e4d317f40e GCS: Drop read support for binary plugin configuration. If you haven't converted your old ini yet, load it up once in a revision built from source before this change.
See also: http://forums.openpilot.org/topic/1850-existing-configuration-files-read-this-if-you-have-them/

Note: Reading binary layout (which gadgets are shown in each workspace and how they are split) still is available, since that was a later change. That'll get done somewhere in the future :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 19:57:02 +00:00
pip
c734584b01 Tidied up the zoom code in the map widget plug-in.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1719 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 08:42:38 +00:00
edouard
3dec1b4105 Added Compass dial to GCS share directory as it is working fine. Reminder: "artwork" is for work in progress and the developer repository for artwork in general.
the share/openpilotgcs/dials contains the dials artwork which are installed with the GCS.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1718 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 08:38:24 +00:00
peabody124
3c647f3481 Ground/UAVTalk: Export UAVTalk object so logging compiles on windows (and reenable). Cross platform my ass.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1717 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 06:11:34 +00:00