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

3660 Commits

Author SHA1 Message Date
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
Fredrik Arvidsson
d41f99aca8 OP-1119 Bug fixin 2013-11-24 21:47:57 +01:00
Fredrik Arvidsson
71ec5a9a64 OP-1119 Added helper class for synchronous uavo stuff. Added code for retrieval of flight side logs. 2013-11-24 17:50:07 +01: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
m_thread
077c2b0921 OP-1119 Changed from ListView to TableView. Starting to implement the log entry population and retrieveng code. 2013-11-21 18:07:48 +01:00
m_thread
e693d94637 OP-1119 Added more gui elements. Fixed layouts and alignments. 2013-11-21 12:10:06 +01:00
Philippe Renon
87725ded48 OP-1122 OP-1123 fixed assertion errors when loading waypoint file in wp editor 2013-11-21 00:22:19 +01:00
Philippe Renon
aff543561b OP-1122 OP-1120 refactored code to retreive board waypoints + fixed compilation error 2013-11-20 22:25:19 +01:00
Fredrik Arvidsson
72d1744676 OP-1119 More gui 2013-11-20 21:08:26 +01:00
m_thread
ed18e372db OP-1119 Some more gui work 2013-11-20 16:56:43 +01:00
m_thread
e42c53de74 OP-1119 Added QmlProperty to handle list of log events downloaded from board. 2013-11-20 16:24:57 +01:00
m_thread
2191acd22f OP-1119 Adding dialog and qml 2013-11-20 12:24:34 +01:00
Fredrik Arvidsson
1b33f48048 OP-1119 Some glue code between qml and c++ 2013-11-20 00:07:04 +01:00
Philippe Renon
3efea32507 OP-1122 OP-1120 fixed regressions introduced by previous refactoring of waypoint to board transmission - re-introduced calls to updated() which are needed for some reason I don't yet understand
- without the updated() call the waypoint are not sent to the board (or at least they get overwritten by the board waypoint)
- with the updated() call i see lots of "!!!!!! Making request for an object:  Waypoint"  for which a request is already in progress!!!!!! messages.
2013-11-19 23:30:56 +01:00
Philippe Renon
f942cdf9d6 OP-1122 OP-1120 intial refactoring of code to send waypoints to board
- all uavobject sends are now in the same method
- removed uncessary updated() calls
2013-11-19 22:03:03 +01:00
m_thread
04f4083d4d OP-1119 Minor change 2013-11-19 22:00:16 +01:00
Philippe Renon
2da7c24bb7 OP-1122 OP-1121 close all windows when closing main GCS windows
this fixes failures to exit GCS when some dialogs are still open (for example the Waypoint Editor)
2013-11-19 21:54:07 +01:00
m_thread
19fbefbdec Merge remote-tracking branch 'origin/shared/OP-1109_qtquick2' into thread/OP-1119_Flight_Side_Logs_Plugin
Conflicts:
	artwork/PFD/pfd.svg
2013-11-19 12:59:20 +01:00
Fredrik Arvidsson
a4d302bcc7 OP-1119 Adding some more boilerplate code. 2013-11-19 07:39:52 +01:00
Fredrik Arvidsson
a2c4cb0454 OP-1119 Fixed .pro file dependency issue. 2013-11-19 00:26:38 +01:00
Fredrik Arvidsson
3ec280b74f Merge remote-tracking branch 'origin/corvuscorax/onboardlogging' into thread/OP-1119_Flight_Side_Logs_Plugin 2013-11-18 23:48:03 +01:00
m_thread
8a064b27b9 OP-1119 Initial commit of empty plugin with only menu item added to GCS. 2013-11-18 15:51:56 +01:00
Patrick Huebner
42ad960044 OP-1109 Fix uninitialised use of m_container in welcomemode 2013-11-18 22:43:14 +11:00
Corvus Corax
fcc479f5cb more intelligent log interfacing, including flash formatting option 2013-11-17 20:14:50 +01:00
Corvus Corax
354ca88cd6 Updated UAVObject metadata to include correct flags needed for on board logging 2013-11-17 14:00:42 +01:00
Corvus Corax
a0746d87fa Logging facility: logs debug data to logfs and exports it through container UAVObject 2013-11-17 02:54:26 +01:00
Corvus Corax
89f7dab2de uncrustification for ground/openpilotgcs/src/plugins/welcome/welcomeplugin.h 2013-11-16 17:34:43 +01:00
Corvus Corax
cf5d59a677 uncrustification for ground/openpilotgcs/src/plugins/uploader/uploaderplugin.h 2013-11-16 17:34:43 +01:00
Corvus Corax
31d4234c79 uncrustification for ground/openpilotgcs/src/plugins/uavtalk/uavtalkplugin.h 2013-11-16 17:34:43 +01:00
Corvus Corax
7420276a06 uncrustification for ground/openpilotgcs/src/plugins/uavtalk/telemetrymonitor.h 2013-11-16 17:34:43 +01:00
Corvus Corax
2582eefaed uncrustification for ground/openpilotgcs/src/plugins/uavtalk/telemetrymonitor.cpp 2013-11-16 17:34:42 +01:00
Corvus Corax
28d79420c1 uncrustification for ground/openpilotgcs/src/plugins/uavsettingsimportexport/uavsettingsimportexport.h 2013-11-16 17:34:42 +01:00
Corvus Corax
f73e2c1a75 uncrustification for ground/openpilotgcs/src/plugins/uavobjectwidgetutils/uavobjectwidgetutilsplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
0e8f01baa8 uncrustification for ground/openpilotgcs/src/plugins/uavobjectutil/uavobjectutilplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
e7bd28e14c uncrustification for ground/openpilotgcs/src/plugins/uavobjects/uavobjectsplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
436293dbaf uncrustification for ground/openpilotgcs/src/plugins/uavobjectbrowser/browserplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
5c6885caf4 uncrustification for ground/openpilotgcs/src/plugins/systemhealth/systemhealthplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
68a8863fbd uncrustification for ground/openpilotgcs/src/plugins/setupwizard/setupwizardplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
406daf316c uncrustification for ground/openpilotgcs/src/plugins/serialconnection/serialplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
a21357d8e9 uncrustification for ground/openpilotgcs/src/plugins/serialconnection/serialplugin.cpp 2013-11-16 17:34:42 +01:00
Corvus Corax
2c04a338b4 uncrustification for ground/openpilotgcs/src/plugins/scope/scopeplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
cef290ddca uncrustification for ground/openpilotgcs/src/plugins/qmlview/qmlviewplugin.h 2013-11-16 17:34:42 +01:00
Corvus Corax
04b7fbbf35 uncrustification for ground/openpilotgcs/src/plugins/pfdqml/pfdqmlplugin.h 2013-11-16 17:34:41 +01:00
Corvus Corax
9b5c7e20c3 uncrustification for ground/openpilotgcs/src/plugins/pathactioneditor/pathactioneditorplugin.h 2013-11-16 17:34:41 +01:00
Corvus Corax
0fd357ae61 uncrustification for ground/openpilotgcs/src/plugins/osgearthview/osgearthviewplugin.h 2013-11-16 17:34:41 +01:00
Corvus Corax
4babcedfe2 uncrustification for ground/openpilotgcs/src/plugins/opmap/opmapplugin.h 2013-11-16 17:34:41 +01:00
Corvus Corax
55eb581e45 uncrustification for ground/openpilotgcs/src/plugins/ophid/inc/ophid_plugin.h 2013-11-16 17:34:41 +01:00
Corvus Corax
df77cd7613 uncrustification for ground/openpilotgcs/src/plugins/notify/notifyplugin.h 2013-11-16 17:34:41 +01:00
Corvus Corax
2cbe028cd5 uncrustification for ground/openpilotgcs/src/plugins/modelview/modelviewplugin.h 2013-11-16 17:34:41 +01:00
Corvus Corax
cc04e31b5d uncrustification for ground/openpilotgcs/src/plugins/magicwaypoint/magicwaypointplugin.h 2013-11-16 17:34:41 +01:00