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

936 Commits

Author SHA1 Message Date
peabody124
4e3325f3ba Ground/Libs: I'm an idiot, forgot to comment out sdllibrary itself
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 16:02:20 +00:00
peabody124
ce75434017 Ground/Plugins: Disable joystick control by default because of SDL dependency.
People will need to install SDL :(.  Anyone know if we can make the joystick
aspect of this code separate and detect at build time if they have the
requirements?

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1796 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 13:15:48 +00:00
edouard
434a9499e2 OP-52 Hide Connect/Disconnect buttons in telemetry mode. Unhide in other modes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1795 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 12:12:46 +00:00
peabody124
c95b1e6117 Ground/UAVControl: Working joystick support although currently not configurable
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1794 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 03:59:03 +00:00
peabody124
7d6163c746 Ground/SDLGamepad: Import the library. This and the next commit introduce SDL
as a dependency.  Please let me know if you have any problems.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1793 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 03:58:58 +00:00
edouard
a246c0f9ad OP-138 Corrected inconsistency with Quad-X read/write.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-28 19:44:55 +00:00
edouard
bd6754cd6b OP-138 Mixer: fixed wing works, and Quad-Plus and Quad-X configurations are supported. Not tested for obvious reasons, since I am working in the train.
You can check how this works for you and report bugs. Layout works fine with screens as small as 800x600.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1791 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-28 18:27:34 +00:00
edouard
14af2b5726 OP-138 Small improvements and work on UI. Progressing slowly...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1787 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 20:38:39 +00:00
peabody124
e1e629d6fb Ground/Joystick Control: Separated the logic for changing values from the
visualization to prepare for real joystick support.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1785 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 19:35:25 +00:00
sambas
21278e7a0e Ground/share: peabody was half sleep when making this, so here is the fix ;)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1783 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 15:47:10 +00:00
peabody124
c5863320fe Ground/AHRS Config: Made gyro bias computation happen on GCS during 6pt
calibration

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1781 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:48:28 +00:00
peabody124
22db0d8785 Ground/Share: Sorry, writing it more elegantly. Tired.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1780 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:48:26 +00:00
peabody124
bdcca823fc Ground/Share: Ok, previous patch for this messed up on windows. I'm making
Linux/Windows act like before but Linux people should check if they want the
mac version or not, I'd guess $(COPY_DIR) on mac more like osx.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:43:42 +00:00
peabody124
f74d64f0be Ground/Share: Remove the second $$dir to prevent copying the resource
directories into the directories on a second build.  Also checking for
resources using the configured path instead of the hardcoded one.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:28:23 +00:00
sambas
6eabaeba2c GCS compile problem fix, windows, QTCreator, qt 4.6.3
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 06:58:38 +00:00
sambas
9599bb384b uavobjectgenerator: user file removed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1772 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 05:50:25 +00:00
erhard
9d5f82727f OP-99 Ground Import/Export Plugin: Add version-number to plugin configuration.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1771 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 17:34:23 +00:00
sambas
a46b46f939 Ground/hitlnew: makefiles removed from svn
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1770 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 15:02:12 +00:00
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
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
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
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