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

85 Commits

Author SHA1 Message Date
Laurent Lalanne
0872abb5cb OP-1622 Modified tread for tank 2014-11-21 18:13:03 +01:00
Laurent Lalanne
71f6872dee OP-1622 Better centering for rear wing 2014-11-17 18:34:54 +01:00
Laurent Lalanne
17eefe6a41 OP-1622 Add a small rear wing to Car frame 2014-11-17 18:30:41 +01:00
Laurent Lalanne
2a294575f2 OP-1622 Added Ground artwork, changed UI. Fix issue with Motorbike tab (typo) 2014-11-17 18:14:01 +01:00
m_thread
0428cdfadc OP-1590 Added TabBar Toolbuttons with menus to copy/reset/restore/swap settings.
Still needs actual implementation.
2014-11-03 01:33:45 +01:00
Laurent Lalanne
a0541f431c OP-1222 Added vtail propeller 2014-09-29 21:12:37 +02:00
Laurent Lalanne
e88b8ccbdb OP-1222 FW_Wizard Ground shapes : Better labels, cleanup 2014-09-18 20:05:44 +02:00
Laurent Lalanne
d99aba54e3 OP-1222 Added ground shapes : Motorbike, Tank and Car 2014-09-17 22:44:08 +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
4bc89ef638 OP-1491 HQuad_mixing_values : Renamed with quad-h labels, artwork fixes. 2014-09-16 01:47:34 +02:00
Laurent Lalanne
fb4b9b05cd OP-1491 Artwork fixes + wizard support - work in progress 2014-09-16 00:48:45 +02:00
Laurent Lalanne
48ce38370c OP-1491 HQuad_mixing_values First commit : add QuadH artwork, config tab 2014-09-15 22:25:07 +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
71a6726749 This file looked fine in inkscape but rendered with a missing gradient in
the elevon artwork, a long battle with inkscape and it now renders correctly
again
2014-08-26 19:25:06 +10:00
Fredrik Larson
9a59cf347e Create image for vtail in svg 2014-08-26 18:20:56 +10:00
Fredrik Larson
934faa5f8a Revert adding servos based on Eric's feedback 2014-08-26 12:12:33 +10:00
Fredrik Larson
6bcc6f32ed Add servos, more informative for end users 2014-08-25 03:43:59 +10:00
Fredrik Larson
b119f7ee5f Update grouping to show servos 2014-08-24 00:40:24 +10:00
Fredrik Larson
6c79b5554f Add single servo artwork 2014-08-24 00:34:07 +10:00
Fredrik Larson
337ab6a436 Add servos to image as we will support single servo 2014-08-23 23:36:06 +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
c26e33964a OP-1063 Multi_config_Hexa_fixes Added OctoX, define new mixer table for Octo(p) and OctoX. New motor definition for OctoX (NNE, ENE...) Fixes for svg frames. Defined default settings for OctoP/X in setupwizard (but disabled) 2014-07-13 13:58:18 +02:00
Laurent Lalanne
5b3f2513c6 Merge branches 'laurent/OP-1063_Multi_config_Hexa_fixes' and 'laurent/OP-1063_Multi_config_Hexa_fixes' of ssh://git.openpilot.org/OpenPilot into laurent/OP-1063_Multi_config_Hexa_fixes
Added Svg OctoX frame
2014-07-13 11:07:40 +02:00
Laurent Lalanne
711aa7f7d6 OP-1063_Multi_config_Hexa_fixes Added OctoX Svg 2014-07-13 11:01:06 +02:00
Laurent Lalanne
64eb77ed8b OP-1063 Multi_config_Hexa_fixes Svg file : Added HexaX_reverse and fixed gradients
SetupWizard : Updated Hexa, HexaX and HexaH default values, default
Throttle curve at 90% max
Fixed a previous bug sign in HexaH (and HexaX because previously copied)
: Bug was in M4 Roll and M6 Yaw.
2014-07-13 10:30:45 +02:00
Laurent Lalanne
0c0ae36413 OP-1063 Multi_config_Hexa_fixes Svg file : Added HexX_reverse and fixed gradients
SetupWizard : Updated Hexa, HexaC and HexaH default values, default Throttle curve at 90% max
Fixed a previous bug sign in HexaH (and HexaX because previously copied) : Bug was in M4 Roll and M6 Yaw.
2014-07-13 01:39:50 +02:00
Laurent Lalanne
748190935d OP-1063 Multi_config_Hexa_fixes : Mixer matrix settings for Hexa, HexaX, HexaH.
New mixer values (60/40) for Pitch and Roll, read from values stored in board.
Svg fixes
2014-07-10 16:33:11 +02: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
b9733363b3 some revision control data is misplaced preventing compile 2014-06-11 12:23:33 -04:00
Kevin Finisterre
7558509720 Revert "Fix minor cosmetic issue where vtail model was not rendering in the Configuration screen. Edit the Inkscape Object Properties."
This reverts commit 11fa414e1a9efd6c32f52d43ca04bd5fef5e5048.

Conflicts:
	ground/openpilotgcs/src/plugins/config/images/fixedwing-shapes.svg
	ground/openpilotgcs/src/plugins/setupwizard/pages/fixedwingpage.cpp
2014-06-08 00:00:43 -04:00
Kevin Finisterre
0bd4e9efa5 Try to fix my Vtail->Elevon naming issue. Attempt to fix Elevon mixer setting defaults 2014-06-07 22:31:42 -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
Kevin Finisterre
11fa414e1a Fix minor cosmetic issue where vtail model was not rendering in the Configuration screen. Edit the Inkscape Object Properties.
Likewise adjust fixedwingpage.cpp to be more consistant with the inkscape label. ie 'vtail' vs. 'v-tail'
2014-05-29 11:51:20 -04:00
Alessio Morale
bb35a8fc97 OP-975 remove "magic strings", cleanup 2014-04-27 12:58:59 +02:00
Alessio Morale
76b19f8c35 OP-975 Employ a new sequence that is optimal for magnetometer calibration. Updated all images 2014-04-27 12:13:49 +02:00
Alessio Morale
7e6875bf3b OP-975 give to empty image a meaningful name 2014-04-22 17:39:12 +02:00
Alessio Morale
d0a3303018 OP-975 replace empty model image. 2014-04-18 14:43:50 +02:00
Alessio Morale
9fb0f980f3 OP-975 replace plane pictures and add bare board images 2014-04-11 20:42:42 +02:00
Alessio Morale
73169e0f20 OP-975 Split level/gyro calibrations, base level calibration on board rotation, a lot more refactoring/cleanup 2014-04-10 22:43:47 +02:00
Alessio Morale
9e702a123a OP-975 add an "help view" and associated graphics for leveling 2014-04-09 02:23:50 +02:00
Alessio Morale
d13d3da204 OP-975 die, die my paperplane 2014-04-09 01:15:08 +02:00
m_thread
a99de5d326 OP-1222 Fixed svg files. Cleaned up and grouped items to work in wizard.
Removed some translations and simplified some gradients.
Added support for output calibration of Aileron and v-tail wings.
Added comments in the code explaining the various arrays with
indexes and ids in the output configuration page class.
2014-02-14 00:00:52 +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
Fredrik Arvidsson
6d3407e4e4 OP-935 Adds shadow to the image on Revolution hardware page. 2013-05-01 18:18:30 +02:00
Philippe Renon
c331a143ae OP-907 moved mixer curve background svg file (curve-bg.svg) to
src/plugins/uavobjectwidgetutils as it is used from mixercurvewidget.cpp
located in that directory
2013-04-15 21:43:04 +02:00
Fredrik Arvidsson
99ae18990e OP-856 Removed redundant code. Changed image of Revolution board to one with white PCB. 2013-03-04 08:04:55 +01:00
Fredrik Arvidsson
de026a13fc OP-856 Basic implementation of hardware settings page. 2013-02-28 08:13:21 +01:00
James Cotton
aba5c65e93 GCS Config Gadget: Fix the file name for the pipx icons in the code and
name the icons correctly
2012-10-17 01:06:45 -05:00