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
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
Kevin Finisterre
b6f0e5e305
Sort out issues with servo vs. motor sliders... finally figure out what wizardIndexes are! per OutputCalibrationPage::setWizardPage()
2013-12-18 15:14:56 -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
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
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
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
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
66b66ee8f4
OP-816 Re-factoring and removal of warnings.
2013-04-16 19:41:13 +02:00
Fredrik Arvidsson
dd7b69dbbc
Fixed so that the actuator state error message box does not open behind the wizard. Changed the text to be more informative.
2012-10-16 00:37:15 +02:00
Fredrik Arvidsson
befa5da671
Fixed layouts in the setup wizard and made the wizard resizeable.
2012-10-10 00:36:29 +02:00
Fredrik Arvidsson
e7e95412e8
OP-39 Fixed Wizard Style so that it looks ok on Mac and Windows
...
Changed the output calibration part of the wizard so that it is a part of the wizard flow instead of a separate flow inside one page.
2012-09-26 00:42:17 +02:00
Fredrik Arvidsson
098c0d43fd
OP-39 Hopefully fixed the servo calibration neutral value issue.
2012-09-16 16:21:51 +02:00
Fredrik Arvidsson
bd3d3708eb
Merge branch 'next' into thread/OP-39
...
Conflicts:
ground/openpilotgcs/src/plugins/config/configinputwidget.cpp
ground/openpilotgcs/src/plugins/coreplugin/connectionmanager.cpp
ground/openpilotgcs/src/plugins/coreplugin/connectionmanager.h
ground/openpilotgcs/src/plugins/pfdqml/pfdqmlgadget.h
ground/openpilotgcs/src/plugins/plugins.pro
ground/openpilotgcs/src/plugins/setupwizard/pages/controllerpage.cpp
ground/openpilotgcs/src/plugins/setupwizard/pages/controllerpage.h
ground/openpilotgcs/src/plugins/setupwizard/pages/controllerpage.ui
ground/openpilotgcs/src/plugins/setupwizard/pages/endpage.cpp
ground/openpilotgcs/src/plugins/setupwizard/pages/endpage.ui
ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.cpp
ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.h
ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.ui
ground/openpilotgcs/src/plugins/setupwizard/pages/startpage.ui
ground/openpilotgcs/src/plugins/setupwizard/pages/vehiclepage.ui
ground/openpilotgcs/src/plugins/setupwizard/setupwizard.cpp
ground/openpilotgcs/src/plugins/setupwizard/setupwizard.h
ground/openpilotgcs/src/plugins/setupwizard/setupwizard.pro
ground/openpilotgcs/src/plugins/setupwizard/wizardResources.qrc
2012-09-16 15:14:47 +02:00
Fredrik Arvidsson
463c14bf84
OP-39 Removed the motor max rate calibration steps from the wizard. Hardcoded max rate to 1900 ms for now.
...
Fixed a bug with button enable/disable in the output calibration page.
2012-09-13 23:49:08 +02:00
Fredrik Arvidsson
a5335a0ace
OP-39 Minor fixes
2012-09-11 20:05:07 +02:00
Fredrik Arvidsson
d337fcf1d8
OP-39 Finished up motor/servo calibration, actuator settings.
...
Bug fixes after initial testing end2end testing.
I am making a note here: First successful 1-2-Fly! session ever!
2012-09-09 23:44:42 +02:00
Fredrik Arvidsson
3a38cb2cc1
OP-39 Added new button graphix.
...
Implemented servo min/max/neutral calibration.
Added check for Actuator module alarm before running calibrarion.
2012-09-07 07:35:43 +02:00
Fredrik Arvidsson
0871cd3db2
OP-39 More Motor and servo calibration code.
2012-09-05 00:58:53 +02:00
Fredrik Arvidsson
51dc691ab8
OP-39 Motor and servo calibration code.
2012-09-04 01:28:28 +02:00
Fredrik Arvidsson
a44ea92df7
OP-39 Output calibration functionality. Connection diagram updates.
2012-09-03 01:01:57 +02:00
Fredrik Arvidsson
41f2a49bb2
OP-39 Added outputcalibration page to wizard.
2012-08-28 18:11:49 +02:00