1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-08 19:46:06 +01:00
Commit Graph

1010 Commits

Author SHA1 Message Date
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
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
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
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
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
Oleg Semyonov
8325cc3be7 Uncrustify 2013-06-22 14:24:47 +03:00
Philippe Renon
ee5d6957c8 Merge branch 'filnet/OP-1007_output_config_gadget_shows_unsaved_warning_when_no_chnage_were_made' into next 2013-06-21 22:10:26 +02:00
Alessio Morale
a1388e203c OP-1019 fix UI typo
+review OPReview-521
2013-06-21 17:08:29 +02:00
Alessio Morale
259c1393b0 OP-1019 fix UI margins for AltitudeHold/Vario settings
+review OPReview-521
2013-06-21 14:17:14 +02:00
Philippe Renon
2ece9ef3da OP-1007 fixed issue in output config gadget where the unsaved changes warning was displayed although no changes were made 2013-06-21 09:39:06 +02:00
dankers
0cf3ef1e52 OP-1019 fixed UI for AltitudeHold/Vario settings 2013-06-20 19:42:12 +02:00
Fredrik Arvidsson
b221c7bfea OP-1000 Changes a label again. 2013-06-16 17:53:15 +02:00
Fredrik Arvidsson
15c6e625b2 OP-1000 Changes a label. 2013-06-16 17:40:25 +02:00
Fredrik Arvidsson
cb3ba339fe OP-1000 Changes some ranges. Removed faulty tool-tips. 2013-06-15 14:02:43 +02:00
Fredrik Arvidsson
1a1b1b1e4e OP-1010 Removes some default check-box settings. 2013-06-15 13:40:46 +02:00
Fredrik Arvidsson
02562902a9 OP-1000 Adds disabling of AH settings tab if board is not Revolution. 2013-06-15 13:00:54 +02:00
Fredrik Arvidsson
9cd368bd11 OP-1000 Adds GUI to set Altitude Hold filter parameters. 2013-06-13 22:48:45 +02:00
Corvus Corax
88071b1078 Merge remote-tracking branch 'next' into corvuscorax/OP-947_stateestimator-module 2013-06-09 22:43:25 +02:00
Corvus Corax
6f59c49506 just uncrustification 2013-06-09 22:09:04 +02:00
Corvus Corax
022f1a1ac0 Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
Conflicts:
	flight/modules/Attitude/revolution/attitude.c
2013-06-09 13:49:52 +02:00
Fredrik Arvidsson
5fe1bfbe36 OP-784 Changed max values to 180 for Attitude full stick range. 2013-06-09 09:30:50 +02:00
Corvus Corax
e8e99f54aa Merge branch 'next' into corvuscorax/OP-947_stateestimator-module 2013-06-07 21:55:12 +02:00