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

993 Commits

Author SHA1 Message Date
dankers
05896ec335 Update Sounds for Notify Plugin, update CREDITS.txt
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1809 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 12:21:54 +00:00
peabody124
c69f884f01 Ground/AHRS Calibration: Make sure it returns updateRaw to false after running
to stop from hammering telemetry and keep OP-AHRS smooth.  Also fixed bad
connection in magic waypoint.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1807 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:49:55 +00:00
peabody124
e2d63cbf19 Flight & Ground/AHRS Calibration: Made variance estimation into a two pass
approach again because ran out of numerical precision for single pass.  Also
made ground force the gyro signs to be correct.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:30:29 +00:00
peabody124
4caab584f1 Ground/AHRS Calibration: Hard code the signs of teh sensor calibrations to be
correct.  Six point calibration otherwise is sometimes inconsistent.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1805 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:34 +00:00
peabody124
25314ab92a Ground/UAVControl: Removed some debuggings and a qFatal in SDLGamepad for no
joystick found.  Changed gadget name to Controller to remove redundant UAV.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1804 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:29 +00:00
peabody124
f2d5db60da Remove debugging messages
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:26 +00:00
edouard
742987a314 OP-138 Small bugfix to prevent a crash when actuator settings are incoherent
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 19:40:11 +00:00
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
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
peabody124
5cd8791f7a Ground/Logging: Disabling this plugin by default until we get it building on windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1716 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 05:28:20 +00:00
peabody124
5771769acf Ground/Logging: Change replay state at end of replay file to stop lock up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 01:04:24 +00:00
peabody124
674ee88f6d More Q_UNUSED
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1714 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 22:53:08 +00:00
peabody124
b376350bc2 Ground/UAVTalk: Add destructor and make sure it's called in Logging when stopping logging to disconnect the signals.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1713 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 22:52:49 +00:00
peabody124
2a9fd99b06 Ground/Logging: Support for pausing and resuming playback and time rescaling plus an (ugly) toolbar to control it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1712 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 21:43:23 +00:00
peabody124
d30c6830e7 Ground: more Q_UNUSED
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1711 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 20:17:55 +00:00
les
ef7ee86d45 Mixer: zero throttle shuts off motors and changed MixernMatrix to MixernVector
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:31:17 +00:00
peabody124
b6bffaeb27 Ground: Cosmetic change
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1709 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:45 +00:00
peabody124
af6b6d91a3 Ground: Suppressing some more random unused variable warnings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:43 +00:00
peabody124
df0ed37d29 Ground/Logging: Supports replay. Still needs a sexy widget to allow seeking (although seeking will be difficult since technically it depends on the entire state but we can probably ignore that). Also I think the interface for replay shoudln't be through a menu item but should be like any other connection. The way I implemented it (custom QIODevice that buffers the logfile and reads the timestamps) makes this pretty easy to do. I'm just not familiar enough with the connection manager to do this. This means currently if you're connected to device and start a replay you get updates from two places.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1705 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:28:01 +00:00
peabody124
a56e757003 Ground: Supress a few warnings. A drop in a bucket...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1704 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:37:59 +00:00
peabody124
7a8424e98e Ground/UAVObjectField: Explicitly handle case of bad enum values to avoid crashes. Still shouldn't occur.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:36:04 +00:00
peabody124
f96654ace1 Adding mixerstatus/mixersetting uavobject files that were missed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1701 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:08:51 +00:00
peabody124
5c9701753b OP-24 Ground/Logging: Made logging module use QIODevice passed to UAVTalk which inserts timestamps and object sizes. Should be trivial to implement read functionality. Need to confirm that QIODevice writes the data in the correct size though so timestamps are in the write place for sure.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1700 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:07:39 +00:00
cranphin
0634f8ec53 This should fix the problem with splitter positions not being stored when the workspace their on isn't viewed before closing GCS, as Edouard found out.
The source of this problem is that QSplitter.sizes() only returns the sizes set by setSizes() after the QSplitter is actually shown. Even though save/restoreState manages to retrieve them in the same situation. I think it's a bug, not sure if I can be motivated enough to report it though :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 20:11:16 +00:00
les
875437f483 Added matrix based actuator mixing. Note the makefile is set to use the original actuator code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 19:27:08 +00:00
zedamota
7a69feea8c OP-21/Flight PC app - Minor change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1694 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 20:53:00 +00:00
cranphin
318a60e05e GCS UAVGadgetManager: Minor bugfix, wasn't always deleting oldstyle
subgroups, which would cause them to be loaded.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1693 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 19:16:01 +00:00
zedamota
5c848d4944 OP-21/Flight PC app - Created AbortOperation function.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 18:34:20 +00:00
cranphin
400f832b3c GCS: Import/Export The checkboxes didn't work, fixed :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:39:04 +00:00
cranphin
0441b8b786 GCS FlightGear sim: This is how it's done in the manual, and seems to
work well for me :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:37:41 +00:00
cranphin
e59a58aa0e GCS: Remove support in [UAVGadgetManager] for Settings/DefaultSettings.
Wasn't really used since it wasn't properly finished (no support in UI).
The idea of having ways to support defaults is good, but can probably be
done better in a different way. (I like the idea of a embedded second
ini file, which serves as 'default'. But many ways are possible).

AS usual, write support removed, read support still there for now.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:35:48 +00:00
edouard
33494ffc7c OP-160 Curve widget: 1st working version. Use "initCurve" with a list of double to create a curve, and connect to the curveUpdated signal to
read it (or call getCurve manuall).


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1687 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:49:48 +00:00
osnwt
88de8f789a Ground/OPMap config page: fixed vertical stretch of Default longitude textbox.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:40:57 +00:00
edouard
be7ff70491 OP-160 Small progress on the widget, points move vertically only now. Next commit will be fully functional.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 05:47:18 +00:00
zedamota
40c9c208cf OP-21/Flight PC app - Update to work with embedded changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 23:39:37 +00:00
martin
900c19a2ee Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 08:22:33 +00:00
zedamota
569e7a94e7 OP-21/Flight PC app - Added send delay.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 00:47:45 +00:00
edouard
35c36da060 OP-160 Rough draft of mixer curve widget, for comments. I will make it look nicer later, this is just for seeing what can be done.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1677 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 20:49:24 +00:00
edouard
b435053e66 High-Contrast dials for the share directory (text converted to path for being independent from SVG renderer capabilities and
installed fonts)




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 09:01:27 +00:00
cranphin
b1b4b15ef4 GCS: Also zero the structures in the il2 sim.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:35:36 +00:00
cranphin
3d43f1cff1 GCS: Zero data structures, since this is not Java ;)
I was getting some weird initial random values from the sim.
This fixes that.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:32:49 +00:00