1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-10 20:52:11 +01:00

1577 Commits

Author SHA1 Message Date
Philippe Renon
6b3a02c485 [OP-1105] improved handling of missing firmware description in GCS 2014-01-05 18:53:21 +01:00
Philippe Renon
cceb9a363c [OP-1105] improved handling of missing firmware description in GCS 2014-01-05 18:45:57 +01:00
Cliff Geerdes
a48b9cc242 OP-1117 reduced CPU for CC/3D coded log2f() / powf() 2014-01-04 04:22:54 -05:00
Fredrik Arvidsson
b97c410e37 OP-984 Small fixes after re-factoring. 2014-01-02 20:47:23 +01:00
Fredrik Arvidsson
b244f8a3cd OP-984 Some refactoring to prepare for multi PID bank GUI support. 2014-01-01 22:49:04 +01:00
Alessio Morale
4b5ee1c2fb OP-1149 Changes to GCS to use AccelGyroSettings for bias calculations 2013-12-29 18:58:45 +01:00
Fredrik Arvidsson
99d6c9e4bd OP-984 Added GUI for selecting PID bank for TxPID module. 2013-12-29 18:02:16 +01:00
Fredrik Arvidsson
dfc5a745cd OP-984 Added GUI to configure which PID bank to use for the 3 common stabilization modes. 2013-12-29 17:47:27 +01:00
Alessio Morale
a340c06b01 OP-1149 Changes to GCS to accounts for UAVO Changes from previous commit 2013-12-26 16:56:54 +01:00
Kevin Finisterre
3862c9cfaa settings still not saving to the board... trying to sort it out. Making sure all necessary codepaths exist in the FixedWing clone of the MultiRotor code for the Wizard. 2013-12-20 02:08:08 -05:00
Cliff Geerdes
14aa1f83de OP-1117 make anti windup insensitive to Ki changes, include dT in calcs, linearize config spinner 2013-12-19 03:21:30 -05:00
Kevin Finisterre
6ee5baa146 I was aparantly missing a call to updateAirframe(frameType); 2013-12-18 17:28:25 -05:00
Kevin Finisterre
de9a30e424 prepping to fix refreshWidgetValues(0 all the setComboCurrentIndex() calls are missing. 2013-12-18 17:16:12 -05:00
Kevin Finisterre
33d963d24e prepping to fix refreshWidgetsValues() so that Output & Vehicle screens populate properly after wizard is run. 2013-12-18 16:41:38 -05:00
Cliff Geerdes
13f500a67d OP-1117 move default tab back to the beginning 2013-12-18 14:50:44 -05:00
Kevin Finisterre
9e417f5ee5 Remove some redundant "elevon" stuff for now. Will come back later when proper "elevon + rudder" artwork exists. Currently no different from vtail anyway...
Enabled proper channel mixing settings inside the FixedWing wizard Output configuration screen. Attempt to set GUIConfigDataUnion to fixedwing
2013-12-18 12:57:35 -05:00
Cliff Geerdes
56b4d8647f OP-1117 Rename Horizon to Rattitude, Anti Windup and dT additions 2013-12-18 05:01:16 -05:00
Kevin Finisterre
6e5e7e4dd3 Work around for a problem caused by lack of elements in the fixed wing SVG for use in the output window. 2013-12-16 20:51:43 -05:00
Kevin Finisterre
a960fd5c85 Fix the Configuration screen to show the new fixed wing artwork by Zen_ 2013-12-16 15:18:43 -05:00
Kevin Finisterre
82e2c5cf92 Move some code around to accomidate multiple svg images in the output calibration screen.
Need to fix the SVG to allow for zooming in on specific channel components as we do with the multi rotor screen.

This has some sloppy comments in if for my own debugging purposes.
2013-12-16 14:29:04 -05:00
Kevin Finisterre
632ffed707 Add the fixed wing plane art to the channel config screen (in progress)
Begin adding plane art to Output config screen in wizard.
2013-12-15 21:37:19 -05:00
Philippe Renon
0417b361b7 Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization 2013-12-15 13:27:26 +01:00
Kevin Finisterre
a042ffd843 just trying to cleanup a bad push from last night. I stomped on some things I should not have. 2013-12-15 03:38:12 -05:00
Kevin Finisterre
604a349d01 Merge branch 'next' into kf_fixes 2013-12-14 17:48:32 -05:00
Alessio Morale
e472b167e4 Uncrustification 2013-12-14 17:58:27 +01:00
Alessio Morale
08ce27a6d6 Merge remote-tracking branch 'origin/voha/fix_build_error_with_clang' into next
Conflicts:
	ground/openpilotgcs/src/plugins/ophid/ophid.pro
2013-12-14 17:55:43 +01:00
Philippe Renon
e0115a25b0 OP-1122 OP-1125 cleaned up GCS side uavtalk includes 2013-12-11 22:22:28 +01:00
Les Newell
abaa17ab23 OP-984 Modified GCS to build with multiple pid banks. NOTE: stabilization config only uses bank 1 2013-12-11 17:08:56 +00:00
Kevin Finisterre
0d5e91ee26 I fixed the first screen, now the vtail and aileron models show when slected. For some reason I am unable to move beyond the first wizard screen. 2013-11-25 01:06:07 -05:00
Kevin Finisterre
92c19f2d74 Changed the element id's in one of the SVG files that I incorrectly edited. This prevents the error:
Could not resolve property : SVGID_1_

Error comes from qsvghandler.cpp or qsvgstyle.cpp in the QT libraries Qt5.2.0//5.2.0-beta1/Src/qtsvg/src/svg/

The fixedwing-shapes.svg and flyingwing-shapes.svg files need modified to prevent the errors caused by qsvgtinydocument.cpp in the QT libraries.

Couldn't find node aileron. Skipping rendering.
Couldn't find node vtail. Skipping rendering.

These errors come from the case statement that was added to updateImageAnd Description() for FixedWingPage

+    switch (type) {
+    case SetupWizard::FIXED_WING_AILERON:
+        elementId = "aileron";
+        break;
+    case SetupWizard::FIXED_WING_VTAIL:
+        elementId = "vtail";
+        break;
+    default:
+        elementId = "";
+        break;
+    }

A similar error needs to be resolved in connectiondiagram.cpp
+            switch (m_configSource->getVehicleSubType()) {
+            case VehicleConfigurationSource::FIXED_WING_AILERON:
+                elementsToShow << "aileron";
+                break;
+            case VehicleConfigurationSource::FIXED_WING_VTAIL:
+                elementsToShow << "vtail";
+                break;
+            default:
+                break;
+            }

Likewise outputcalibrationpage.cpp will need to reverence the elements inside the SVG file properly.
+        m_vehicleElementIds << "fixed-aileron" << "aileron";
+        m_vehicleHighlightElementIndexes << 0 << 1;
...
+        m_vehicleElementIds << "fixed-vtail" << "vtail";
+        m_vehicleHighlightElementIndexes << 0 << 1;

Until these elements are fixed in the SVG files the wizard will not render properly and allow the user to click *next*.
2013-11-24 17:29:38 -05:00
Kevin Finisterre
721000b279 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
This is an attempt I made several months back at enabling the fixed wing wizard. AILERON and VTAIL concepts added where necessary. VehicleConfigurationHelper::setupAileron() and friends are completely wrong, need to be sorted out.

The files that go in setupwiz/resources need to be corrected to show motor direction. Basically need an inverse copy merged into existing images, see multirotor svg files for comparison.

m_vehicleElementIds and m_vehicleHighlightElementIndexes need to be fixed in the SVG files and code appropriately. The ID tags in the sVG files are incrorect. likewise grouping are incorrect. Could use help from someone more profficient in SVG files.

*work in progress*
2013-11-24 11:14:37 -05:00
Corvus Corax
17da3a6c7a uncrustification for ground/openpilotgcs/src/plugins/config/configplugin.h 2013-11-16 17:34:40 +01:00
Patrick Huebner
b4d0a93133 OP-1103 Some minor cleanup work and adding a version check for Qt5.1 2013-11-13 21:04:57 +11:00
Patrick Huebner
c0f6d9d7bc OP-1103 Fixes a build problem where the CoreFoundation framework wasn’t found on some systems. 2013-11-10 09:36:37 +11:00
Philippe Renon
f85498e7c5 [OP-1085] Qt5.1.1 - a bit of manual uncrustifying 2013-10-24 00:12:35 +02:00
Rich von Lehe
d6e711cfd7 Additional fixes as a result of review comments. 2013-10-18 23:18:35 +02:00
Rich von Lehe
3affd6a7cd Fixed some minor spelling errors in tooltips within stabilization.ui 2013-10-18 23:18:25 +02:00
Philippe Renon
a2ba33f28a [OP-835] Qt 5.1.0 - migrated GCS plugins 2013-09-15 23:37:20 +02:00
Voha
6ab83e5d33 fixed build errors with clang in MacOsX 10.9(DP5) and xCode 5.0(DP5) 2013-08-10 21:27:36 +03:00
Brian Webb
c2df59498b Merge remote-tracking branch 'origin/master' into next 2013-07-06 07:08:30 -07:00
Brian Webb
fd8d5352e2 OP-932 Adds tooltips to the channel widgets. 2013-07-03 20:20:31 -07:00
Brian Webb
bab69401b9 OP-932 Allows configuring the Revo as coordinator. 2013-06-27 19:55:01 -07:00
Brian Webb
2aea2342ab OP-932 Adds a direct PPM channel on each Tx packet when in PPM mode, and adds a PPM only mode that uses a 9600 bps air datarate. Also updates the OPLink configuration tab and moves all OPLink configuration to the OPLink configuration tab on the Revo, and customizes the OPLink configuration tab for the Revo. 2013-06-26 18:01:54 -07:00
Brian Webb
8c370df319 OP-932 A significant re-work of the OPLink and configuration of the OPLink. Auto-configuration is removed, and remote modems are bound the coordinator, rather than the other way around. Timing of the radio link is also significantly changed. The rfm22b code is also simplified so that it only sends packet, and has no notion about what those packets are, so the rfm22b is converteded to simply a com type device. 2013-06-26 17:56:56 -07:00
Corvus Corax
0c43346292 Merge branch 'corvuscorax/OP-947_stateestimator-module' into next
Thanks everyone for helping getting this together, especially Alessio
and DLite :-)
2013-06-25 23:48:12 +02:00
Corvus Corax
c18cd85cf5 uncrustification 2013-06-25 22:31:10 +02:00
Fredrik Arvidsson
01ff02eab5 Merge branch 'thread/OP-1020_Red_Cross_Save' into rel-13.06.01 2013-06-25 22:07:19 +02:00
Fredrik Arvidsson
a46dfbfb00 OP-1028 Fixed a bug with disabled controls. 2013-06-25 13:41:15 +02:00
Fredrik Arvidsson
bf573e6adc OP-1020 Removes AltitudeHoldSettings object from list of objects to save if connected board does not support it. 2013-06-25 12:21:16 +02:00
Corvus Corax
6163c5f53a Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
Conflicts:
	flight/modules/AltitudeHold/altitudehold.c
	ground/openpilotgcs/share/openpilotgcs/pfd/default/AltitudeScale.qml
	ground/openpilotgcs/share/openpilotgcs/pfd/default/PfdIndicators.qml
	ground/openpilotgcs/share/openpilotgcs/pfd/default/SpeedScale.qml
	ground/openpilotgcs/src/plugins/pfd/pfdgadgetwidget.cpp
2013-06-22 18:44:03 +02:00