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

1494 Commits

Author SHA1 Message Date
Philippe Renon
9c7fcbe47c [OP-1105] uncrustified 2014-01-09 21:17:44 +01:00
Fredrik Arvidsson
3d8e3eb823 OP-984 Uncrustify. 2014-01-09 19:52:56 +01:00
Fredrik Arvidsson
cd5fb01d7e Merge remote-tracking branch 'origin/next' into thread/OP-984_PID_banks_GUI 2014-01-09 19:29:53 +01:00
m_thread
68573af710 OP-984 Feature complete. 2014-01-09 13:34:11 +01:00
m_thread
088197ac69 OP-984 Added backing store for values when switching between uavos. 2014-01-09 13:02:03 +01:00
Fredrik Arvidsson
a3c03b0244 OP-984 Minor changes. 2014-01-09 09:39:47 +01:00
Fredrik Arvidsson
958efa62e1 OP-984 Added code to allow switching between pid banks by selecting tabs
The tabs are now dynamically created from a constant.
2014-01-08 00:33:45 +01:00
Alessio Morale
ecaaf84a79 OP-1150 add code to calculate the thermal calibration coefficients for baro, gyro and accel 2014-01-08 00:01:00 +01:00
Fredrik Arvidsson
99cfa5339d OP-984 UI changes. Added TabBars to visually simulate PID bank change. 2014-01-07 23:04:32 +01:00
Alessio Morale
78f77e8d3f OP-1150 Make calibrationutil class static and include the Polynomial fit algorithm 2014-01-07 19:50:53 +01:00
Fredrik Arvidsson
15cf91aa53 OP-984 UI changes. 2014-01-06 23:31:46 +01:00
Fredrik Arvidsson
69e5f0c186 OP-984 Minor fixes before actual gui changes. 2014-01-06 22:25:38 +01:00
Fredrik Arvidsson
a2e0158bfb OP-984 Closing in... 2014-01-06 17:25:39 +01:00
Alessio Morale
46ff4c8bf9 OP-1150 Add calibration util class implementing polynomial/ellipsoid fit algorithms 2014-01-06 11:11:16 +01:00
Alessio Morale
82691a9348 OP-1150 Update Eigen 2014-01-06 11:09:22 +01:00
Philippe Renon
329ea821f8 [OP-1105] improved handling of missing firmware description in GCS
- fixed logging spam introduced by previous commit
2014-01-05 23:05:36 +01:00
Philippe Renon
ec421ad962 [OP-1105] improved handling of missing firmware description in GCS
- fixed logging spam introduced by previous commit
2014-01-05 22:27:54 +01:00
Philippe Renon
6b3a02c485 [OP-1105] improved handling of missing firmware description in GCS 2014-01-05 18:53:21 +01:00
Philippe Renon
cceb9a363c [OP-1105] improved handling of missing firmware description in GCS 2014-01-05 18:45:57 +01:00
Cliff Geerdes
a48b9cc242 OP-1117 reduced CPU for CC/3D coded log2f() / powf() 2014-01-04 04:22:54 -05:00
Fredrik Arvidsson
b97c410e37 OP-984 Small fixes after re-factoring. 2014-01-02 20:47:23 +01:00
Fredrik Arvidsson
b244f8a3cd OP-984 Some refactoring to prepare for multi PID bank GUI support. 2014-01-01 22:49:04 +01:00
Alessio Morale
4b5ee1c2fb OP-1149 Changes to GCS to use AccelGyroSettings for bias calculations 2013-12-29 18:58:45 +01:00
Fredrik Arvidsson
99d6c9e4bd OP-984 Added GUI for selecting PID bank for TxPID module. 2013-12-29 18:02:16 +01:00
Fredrik Arvidsson
dfc5a745cd OP-984 Added GUI to configure which PID bank to use for the 3 common stabilization modes. 2013-12-29 17:47:27 +01:00
Alessio Morale
a340c06b01 OP-1149 Changes to GCS to accounts for UAVO Changes from previous commit 2013-12-26 16:56:54 +01:00
Kevin Finisterre
3862c9cfaa settings still not saving to the board... trying to sort it out. Making sure all necessary codepaths exist in the FixedWing clone of the MultiRotor code for the Wizard. 2013-12-20 02:08:08 -05:00
Cliff Geerdes
14aa1f83de OP-1117 make anti windup insensitive to Ki changes, include dT in calcs, linearize config spinner 2013-12-19 03:21:30 -05:00
Kevin Finisterre
6ee5baa146 I was aparantly missing a call to updateAirframe(frameType); 2013-12-18 17:28:25 -05:00
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
Cliff Geerdes
13f500a67d OP-1117 move default tab back to the beginning 2013-12-18 14:50:44 -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
Cliff Geerdes
56b4d8647f OP-1117 Rename Horizon to Rattitude, Anti Windup and dT additions 2013-12-18 05:01:16 -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
Philippe Renon
0417b361b7 Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization 2013-12-15 13:27:26 +01: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
Philippe Renon
e0115a25b0 OP-1122 OP-1125 cleaned up GCS side uavtalk includes 2013-12-11 22:22:28 +01:00
Les Newell
abaa17ab23 OP-984 Modified GCS to build with multiple pid banks. NOTE: stabilization config only uses bank 1 2013-12-11 17:08:56 +00: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