1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-09 20:46:07 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Laurent Lalanne
a8f0bb6eb6 OP-1222 Uncrustify 2014-09-16 19:27:18 +02:00
Laurent Lalanne
bc9e6b24f9 Merge remote-tracking branch 'origin/laurent/OP-1491_HQuad_mixing_values' into laurent/OP-1222_FW_Wizard
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.cpp
	ground/openpilotgcs/src/plugins/setupwizard/resources/connection-diagrams.svg

Conflicts resolved in artwork, same style as FW branch
2014-09-16 18:55:43 +02:00
Laurent Lalanne
fb4b9b05cd OP-1491 Artwork fixes + wizard support - work in progress 2014-09-16 00:48:45 +02:00
m_thread
1a2bf73969 OP-1222 Added constant for image padding. re-factored the firInView into a function.
Removed old comments.
Fixed background on saved image to be white. Was previous black.
2014-09-07 13:50:41 +02:00
Laurent Lalanne
e9dd37eaf8 OP-1222 Bigger size for wizard window + add margins for connection diagram 2014-09-07 12:24:05 +02:00
m_thread
1d50f9e949 OP-1222 Added support for gps and airspeedsensors in connection diagram.
Optimized bounding rect handling. Got rid of need for background element.
2014-09-05 17:30:20 +02:00
Laurent Lalanne
c39424d50a OP-1222_FW_Wizard : Finished artwork diagram, cpp file. Wing tips for FW, polished Vtail and all frames in dark gray. 2014-08-29 16:04:28 +02:00
Fredrik Larson
e4a4f35178 Summary to not show unknown ESC type fpr FWs, remane legacy ESC to
standard ESC, summary shows "legacy" still for Multis.

Remaining problems appear to be SVG ID related.
2014-08-23 02:00:11 +10:00
Fredrik Larson
18c3f8147a Start basics of single Aileron type support, here be dragons and some SVG
known issues
2014-08-23 01:01:01 +10:00
Fredrik Larson
501441d3fb Merge branch 'next' into kf_hayvosh/OP-1222_FW_Wizard_lets_get_this_finished
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/pages/outputcalibrationpage.cpp
	ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationsource.h
2014-08-16 12:12:15 +10:00
Laurent Lalanne
a46480a99b OP-1063 Multi_config_Hexa_fixes : Added real HexaX, renamed HexaX > HexaH
Added artwork in config and wizard svg. Cleanup on svg connection diagram (layers)
DO NOT USE until mixers are fixed
2014-07-10 06:01:28 +02:00
Kevin Finisterre
1f74a78263 Attempt adding in the proper Mixer setting constructs for Elevon setup. 2014-06-11 14:41:42 -04:00
Kevin Finisterre
28246cccbe fix remaining headers 2014-06-07 23:04:12 -04:00
Kevin Finisterre
c2c89bf0f5 Merge remote-tracking branch 'origin/next' into thread/OP-1222_Fixed_Wing_Wizard_Support
Getting more current code in place.
2014-06-07 21:24:05 -04:00
m_thread
076e690337 OP-1170 Got rid of more compiler warnings.
Uncrustified the code.
2014-03-04 23:45:01 +01:00
m_thread
f306a356f3 OP-1170 got rid of compiler warnings in multiple plugins. 2014-02-26 17:57:45 +01: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
Sexy Pony
900f643bbd Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES 2013-05-19 17:37:30 +03:00
Fredrik Arvidsson
e1e3183c6d OP-816 Adding Revolution illustration to the connection diagram. 2013-04-27 11:22:08 +02:00
Fredrik Arvidsson
2cd3485cf6 OP-816 Fixed Revolution identification and Revolution + OPLink firmware auto-update functionality. 2013-03-03 19:33:24 +01:00
Fredrik Arvidsson
57169ceeb2 OP-39 Fixed a bug when changing receiver type in wizard. The channel group type was not correctly set in manual control settings.
Added support in code for all known DSM types (2/X10Bit/X11Bit). Still have to add/create GUI/Icons to enable selection of specific protocol.
Renamed some enums to have better and more correct names.
2012-09-17 21:40:42 +02:00
Fredrik Arvidsson
37abf82fc2 OP-39 Added saving as image to the connection diagram dialog. 2012-09-10 22:37:39 +02:00
Fredrik Arvidsson
a44ea92df7 OP-39 Output calibration functionality. Connection diagram updates. 2012-09-03 01:01:57 +02:00
Fredrik Arvidsson
df987ab57f OP-39 Connection diagram changes.
Fixed a bug levelling util and changed rate from 100ms to 30ms.
2012-08-30 22:13:44 +02:00
Fredrik Arvidsson
66534ae91c OP-39 Fiddling around with connection diagram.
Updated some GUI.
Started on motor calibration function.
2012-08-27 07:19:46 +02:00
Fredrik Arvidsson
49bdb731f5 OP-39 Added button for Radio Config Wizard.
Cleaned up the GUI, removed all group boxes and aligned components on pages.
Changed place of rapid and default esc buttons.
Set the size of the wizard to a fix size.
Updated some of the texts.
Changed font sizes.
Added resources.
Started the connection diagram implementation.
2012-08-24 00:48:09 +02:00
Fredrik Arvidsson
bc9181ba04 OP-39 Added dialog for the connection diagram. 2012-08-23 18:37:55 +02:00