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

3482 Commits

Author SHA1 Message Date
Fredrik Arvidsson
38f7d9b28e OP-1119 Minor fixes 2013-11-30 16:54:18 +01:00
Fredrik Arvidsson
74ad0fd40a OP-1119 Added cancel functionality on download. Added soem more gui update logic. 2013-11-30 13:02:52 +01:00
Fredrik Arvidsson
a3c555f8bb OP-1119 Fixed support for saving multiple flights when saving logs to .opl format. 2013-11-30 11:44:55 +01:00
Philippe Renon
a6d0f09d21 OP-1122 OP-1125 minor change to uavobject::toStringBrief() method 2013-11-29 19:40:10 +01:00
Philippe Renon
cb902900de OP-1122 OP-1125 uavtalk - fixed minor typos 2013-11-29 09:23:27 +01:00
Philippe Renon
1a25e87fde OP-1122 removed debug spurious debug logging when using waypoint editor + fixed compilation warnings 2013-11-29 09:14:29 +01:00
Philippe Renon
390c88b92a OP-1122 OP-1125 uavtalk - object request messages are now acked only by object messages and acked object messages are acked only by ack messages 2013-11-29 02:51:46 +01:00
Philippe Renon
15c4392ed5 OP-1122 OP-1125 uavtalk - more OPReview-593 related cleanups 2013-11-29 01:21:45 +01:00
Philippe Renon
50a0a4f512 OP-1122 OP-1125 uavtalk - minor OPReview-593 related cleanups 2013-11-28 23:42:08 +01:00
Philippe Renon
2f0974fda9 OP-1122 OP-1125 uavtalk - fixed a number of issues concerning acked multi instance messages :
- all messages now systematically include an instance ID (fixes parsing of messages containing unknown object)
- added missing NACK of object request on fight side
- added more logging and warnings
- misc fixes and cleanups
this commit affects both the firmware and GCS (need to flash new version of firmware)
2013-11-28 01:14:29 +01:00
m_thread
d14044431e OP-1119 WIP export of logs to .opl file 2013-11-27 16:07:34 +01:00
m_thread
81443570ab OP-1119 Moved class LogFile from Logging plugin to libs/utils 2013-11-27 16:07:15 +01:00
m_thread
bc9bbebfdf OP-1119 Starting to implement the export functionality. Aiming to do it so it is compatible with the standard .opl file format and replayable in the logging plugin. 2013-11-26 23:45:38 +01:00
m_thread
144b2c587d OP-1119 Added real-time updates of the flights combobox. Added some cleanup code. 2013-11-26 22:52:24 +01:00
m_thread
7bb127445d OP-1119 Added some progress indication with cursors and disabling of controls during operation. 2013-11-26 17:00:01 +01:00
m_thread
5738a87141 OP-1119 Added code to format log flash on flight controller 2013-11-26 16:22:44 +01:00
m_thread
8054cd5296 OP-1119 Code cleanup and more uncrustification 2013-11-26 16:06:12 +01:00
m_thread
a11d98aa0d OP-1119 Uncrustify 2013-11-26 15:42:49 +01:00
m_thread
3f3245b749 OP-1119 Added some mem management improvements 2013-11-26 15:25:27 +01:00
m_thread
daf589d9ce OP-1119 Added Functions.js to host functions needed in qml.
Added de-serialization of UAVDataObjects in table.
Started to clean up memory management tasks in code.
2013-11-25 17:58:29 +01:00
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
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
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