1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-12 20:08:48 +01:00
Commit Graph

9642 Commits

Author SHA1 Message Date
m_thread
00d710a324 OP-1119 Downloading from firmware now works. Added columns for log data and some table formatting quirks. 2013-11-25 14:59:23 +01:00
m_thread
0a085ce106 OP-1119 Added logging event for disabling logging. 2013-11-25 14:58:08 +01:00
m_thread
06924d335a Merge remote-tracking branch 'origin/next' into thread/OP-1119_Flight_Side_Logs_Plugin 2013-11-25 09:29:45 +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
Alessio Morale
bacc4d3d79 Merge branch 'master' into next
Conflicts:
	flight/targets/boards/oplinkmini/firmware/pios_board.c
	ground/openpilotgcs/copydata.pro
2013-11-25 01:12:10 +01: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
Fredrik Arvidsson
d41f99aca8 OP-1119 Bug fixin 2013-11-24 21:47:57 +01:00
Corvus Corax
1c83d3ee28 BUGFIX to OpLinkMini: oplinkmod needs to initialize the Callback Scheduler
OPLMini does not use Systemmod but its own system module called
oplinkmod - which did not initialize the callback scheduler. Making the
event dispatcher a callback caused it to no longer run due to the
missing callback scheduler initialization
2013-11-24 21:24:55 +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
Kevin Finisterre
aba761b0e0 Merge branch 'corvuscorax/callbackeventdispatcher2' into next 2013-11-24 10:07:51 -05:00
Corvus Corax
18ad56d4ed removed identical files from pios/posix (use files from common instead) 2013-11-24 15:40:32 +01:00
Corvus Corax
89afbde58a initialized log packages with 0xff instead of 0x0 to reduce flash wear 2013-11-24 15:36:26 +01:00
Corvus Corax
32b5ff22cf cleanup defect in OP-Review-586 2013-11-24 15:27:33 +01:00
Fredrik Arvidsson
2ed6c02166 OP-1119 Fix in pios function for debuglogging uavo. 2013-11-23 23:36:23 +01: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
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
Fredrik Arvidsson
f05e7c87aa Merge remote-tracking branch 'origin/next' into thread/OP-1119_Flight_Side_Logs_Plugin 2013-11-19 22:10:41 +01:00
m_thread
04f4083d4d OP-1119 Minor change 2013-11-19 22:00:16 +01:00
Corvus Corax
77b7ba3089 Added new setting 'OnlyWhenArmed' to debuglogsettings 2013-11-19 19:29:24 +01:00
Corvus Corax
3bfe74e73c added some in uavobject definition comments 2013-11-19 18:55:38 +01:00
Corvus Corax
d235a24e23 Merge branch 'next' into corvuscorax/onboardlogging 2013-11-19 18:49:58 +01:00
Corvus Corax
92f8102597 Merge branch 'corvuscorax/callbackeventdispatcher2' into next 2013-11-19 18:45:42 +01:00
Corvus Corax
7a6c0b61e8 Merge branch 'next' into corvuscorax/callbackeventdispatcher2 2013-11-19 18:36:20 +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
Alessio Morale
f36e3d66c1 Merge branch 'bsongis/OP-1099_Hidden_icons_in_configuration_tab' into next 2013-11-18 14:10:58 +01:00
Bertrand Songis
9183e2bb20 Fix for OP-1099: Hidden icons in Configuration tab 2013-11-18 14:10:17 +01:00
Patrick Huebner
42ad960044 OP-1109 Fix uninitialised use of m_container in welcomemode 2013-11-18 22:43:14 +11:00
Fredrik Larrson
0afbed5995 Doh, stupid type in comment, sorry. 2013-11-18 20:13:05 +11:00
Fredrik Larrson
d8772c5529 Clean this up, so debug DDLs don't hang around in a release and vice versa 2013-11-18 20:04:11 +11:00
Corvus Corax
9414f3513f adapted telemetry stack sizes for flight firmware to include more space needed for logging feature 2013-11-17 22:39:39 +01:00
Corvus Corax
951c7bfea0 removed redundant code from Telemetry 2013-11-17 22:20:19 +01:00
Corvus Corax
0e502d3734 Modified queue creation for telemetry and logging
event queues are now created for all uavobjects for both telemetry and
logging, so later modifications from manual to periodic are possible
2013-11-17 22:10:03 +01:00
Corvus Corax
c6031ed963 fixed usr flash system definition 2013-11-17 21:03:08 +01:00
Corvus Corax
3f1ea5ed09 set all uavobjects logging mode to manual
enable only at users discretion as needed to preserve log space
2013-11-17 20:45:04 +01:00
Corvus Corax
c7431623af changed hardware definition for revolution to have usr space in just one arena
(no flash garbage collection since used primarily for logging where there are no deletes)
2013-11-17 20:43:53 +01:00
Corvus Corax
fcc479f5cb more intelligent log interfacing, including flash formatting option 2013-11-17 20:14:50 +01:00
Corvus Corax
3d8625abaf Enabled logging on revolution (added module and uavobjects) 2013-11-17 18:50:51 +01:00
Corvus Corax
9dbac5d060 Enabled printf-stdarg on all targets, implemented vsnprintf() (needed for logging) 2013-11-17 18:49:50 +01:00
Corvus Corax
6031200aea Some fixes in debuglog to compile and run on all firmware platforms 2013-11-17 18:04:47 +01:00
Corvus Corax
243e261411 UAVObject logging through telemetry module and uavobjectmanager 2013-11-17 17:15:23 +01:00