1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
LibrePilot/ground/openpilotgcs/src/plugins
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
..
antennatrack uncrustification for ground/openpilotgcs/src/plugins/antennatrack/antennatrackplugin.h 2013-11-16 17:34:39 +01:00
config Changed the element id's in one of the SVG files that I incorrectly edited. This prevents the error: 2013-11-24 17:29:38 -05:00
consolegadget Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES 2013-05-19 17:37:30 +03:00
coreplugin uncrustification for ground/openpilotgcs/src/plugins/coreplugin/coreplugin.h 2013-11-16 17:34:40 +01:00
debuggadget uncrustification for ground/openpilotgcs/src/plugins/debuggadget/debugplugin.h 2013-11-16 17:34:40 +01:00
dial uncrustification for ground/openpilotgcs/src/plugins/dial/dialplugin.h 2013-11-16 17:34:40 +01:00
donothing Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES 2013-05-19 17:37:30 +03:00
emptygadget uncrustification for ground/openpilotgcs/src/plugins/emptygadget/emptyplugin.h 2013-11-16 17:34:40 +01:00
gcscontrol uncrustification for ground/openpilotgcs/src/plugins/gcscontrol/gcscontrolplugin.h 2013-11-16 17:34:40 +01:00
gpsdisplay uncrustification for ground/openpilotgcs/src/plugins/gpsdisplay/gpsdisplayplugin.h 2013-11-16 17:34:40 +01:00
hitl uncrustification for ground/openpilotgcs/src/plugins/hitl/hitlplugin.h 2013-11-16 17:34:40 +01:00
importexport uncrustification for ground/openpilotgcs/src/plugins/importexport/importexportplugin.h 2013-11-16 17:34:40 +01:00
ipconnection uncrustification for ground/openpilotgcs/src/plugins/ipconnection/ipconnectionplugin.h 2013-11-16 17:34:40 +01:00
lineardial uncrustification for ground/openpilotgcs/src/plugins/lineardial/lineardialplugin.h 2013-11-16 17:34:41 +01:00
logging uncrustification for ground/openpilotgcs/src/plugins/logging/loggingplugin.h 2013-11-16 17:34:41 +01:00
magicwaypoint uncrustification for ground/openpilotgcs/src/plugins/magicwaypoint/magicwaypointplugin.h 2013-11-16 17:34:41 +01:00
modelview uncrustification for ground/openpilotgcs/src/plugins/modelview/modelviewplugin.h 2013-11-16 17:34:41 +01:00
notify uncrustification for ground/openpilotgcs/src/plugins/notify/notifyplugin.h 2013-11-16 17:34:41 +01:00
ophid uncrustification for ground/openpilotgcs/src/plugins/ophid/inc/ophid_plugin.h 2013-11-16 17:34:41 +01:00
opmap uncrustification for ground/openpilotgcs/src/plugins/opmap/opmapplugin.h 2013-11-16 17:34:41 +01:00
osgearthview uncrustification for ground/openpilotgcs/src/plugins/osgearthview/osgearthviewplugin.h 2013-11-16 17:34:41 +01:00
pathactioneditor uncrustification for ground/openpilotgcs/src/plugins/pathactioneditor/pathactioneditorplugin.h 2013-11-16 17:34:41 +01:00
pfdqml uncrustification for ground/openpilotgcs/src/plugins/pfdqml/pfdqmlplugin.h 2013-11-16 17:34:41 +01:00
qmlview uncrustification for ground/openpilotgcs/src/plugins/qmlview/qmlviewplugin.h 2013-11-16 17:34:42 +01:00
scope uncrustification for ground/openpilotgcs/src/plugins/scope/scopeplugin.h 2013-11-16 17:34:42 +01:00
serialconnection uncrustification for ground/openpilotgcs/src/plugins/serialconnection/serialplugin.h 2013-11-16 17:34:42 +01:00
setupwizard Changed the element id's in one of the SVG files that I incorrectly edited. This prevents the error: 2013-11-24 17:29:38 -05:00
systemhealth uncrustification for ground/openpilotgcs/src/plugins/systemhealth/systemhealthplugin.h 2013-11-16 17:34:42 +01:00
uavobjectbrowser uncrustification for ground/openpilotgcs/src/plugins/uavobjectbrowser/browserplugin.h 2013-11-16 17:34:42 +01:00
uavobjects uncrustification for ground/openpilotgcs/src/plugins/uavobjects/uavobjectsplugin.h 2013-11-16 17:34:42 +01:00
uavobjectutil uncrustification for ground/openpilotgcs/src/plugins/uavobjectutil/uavobjectutilplugin.h 2013-11-16 17:34:42 +01:00
uavobjectwidgetutils uncrustification for ground/openpilotgcs/src/plugins/uavobjectwidgetutils/uavobjectwidgetutilsplugin.h 2013-11-16 17:34:42 +01:00
uavsettingsimportexport uncrustification for ground/openpilotgcs/src/plugins/uavsettingsimportexport/uavsettingsimportexport.h 2013-11-16 17:34:42 +01:00
uavtalk uncrustification for ground/openpilotgcs/src/plugins/uavtalk/uavtalkplugin.h 2013-11-16 17:34:43 +01:00
uploader uncrustification for ground/openpilotgcs/src/plugins/uploader/uploaderplugin.h 2013-11-16 17:34:43 +01:00
welcome uncrustification for ground/openpilotgcs/src/plugins/welcome/welcomeplugin.h 2013-11-16 17:34:43 +01:00
plugins.pro [OP-835] Qt 5.1.0 - disabled compilation of antennatrack plugin 2013-09-20 22:26:00 +02:00