Corvus Corax
3f9fa97d0f
OP-1222 fixed FW elevon wizzard channel assignment to be compatible with config widget
2014-08-31 20:15:20 +02:00
Fredrik Arvidsson
5d928725f1
Merge remote-tracking branch 'origin/next' into thread/OP-1222_FW_Wizard
...
Conflicts:
ground/openpilotgcs/src/plugins/config/cfg_vehicletypes/configmultirotorwidget.cpp
2014-08-29 00:50:08 +02:00
Laurent Lalanne
9857ef56dd
OP-1422 Tricopter_mixers_settings : Uncrustify !
2014-08-27 20:38:04 +02:00
Laurent Lalanne
f313bef2e5
OP-1422 Tricopter_mixers_settings Store mixing / sliders values on board - Wizard/Config tab. Tricopter Yaw mixing now applies to servo, 100% default.
2014-08-27 20:33:11 +02:00
m_thread
b31ee46724
OP-1222 Uncrustify
2014-08-26 22:34:58 +02:00
Laurent Lalanne
0edf70d0aa
OP-1422_Tricopter_mixers_settings : Uncrustify
2014-08-26 19:31:08 +02:00
Laurent Lalanne
94809de9c4
OP-1422_Tricopter_mixers_settings Ternary operator and include qmath.h in cpp
2014-08-26 19:27:05 +02:00
Laurent Lalanne
aea2adf2df
OP-1422 Tricopter_mixers_settings Normalize mixer values saved from Wizard and Config tab. Fix bad values saved previously like -63/64.
2014-08-26 17:07:00 +02:00
Laurent Lalanne
458120cce2
OP-1422 Tricopter_mixers_settings : Do the same calc as Gcs and round values so Wizard set same values as Gcs defaults. Little fix for HexaX wizard that set HexaH frame !
2014-08-26 14:17:24 +02:00
Fredrik Larson
e4a4f35178
Summary to not show unknown ESC type fpr FWs, remane legacy ESC to
...
standard ESC, summary shows "legacy" still for Multis.
Remaining problems appear to be SVG ID related.
2014-08-23 02:00:11 +10:00
Fredrik Larson
18c3f8147a
Start basics of single Aileron type support, here be dragons and some SVG
...
known issues
2014-08-23 01:01:01 +10:00
m_thread
a893f6ff2b
OP-1222 Renamed some pages. Added support for both esc and servo types.
2014-08-22 01:40:05 +02:00
m_thread
a7ab68f539
OP-1222 Fixed a 'off-by-one' bug with channels. Fixed some bugs in the configuration plugin regarding fixed wings.
2014-08-21 23:47:18 +02:00
m_thread
82a3590da5
OP-1222 Fixed a bug with Actuator settings and banks to use for motors.
2014-08-18 13:14:07 +02:00
m_thread
5354723928
OP-1222 Renamed some files.
...
Fixed Wing wizard made only available on Revo
Moved motor for fixed wing to channel 3 since channel 3 got its own timer.
Fixed a crash in config plugin when selecting Fixed Wing.
Added code in outputcalibration in Fixed Wing setup to set min and max values as well as neutral for servos.
Added Controller type Nano.
2014-08-18 01:20:31 +02:00
Fredrik Larson
137a6e4308
Refactor name of legacy servos, remove PID hard coding from the config
...
helper
2014-08-18 03:47:16 +10:00
Fredrik Larson
ea1e95db7b
Minor refactroring of a type in a class, change ESC_TYPE and geter /
...
serter to be actuator type as we are dealing with servos. Add servos to
enum, remove hard coded min / max for now.
2014-08-17 22:55:11 +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
d2471361bb
OP-1063 Multi_config_Hexa_fixes : Uncrustify
2014-07-14 15:59:26 +02: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
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
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
58dad5d3a5
Try to set Ilimit Rate... somehow I set Ilimit Attitude instead. Need to sort out. basic idea worked though.
2014-06-12 12:07:03 -04:00
Kevin Finisterre
9aaa764797
work out a method to set some default PIDs... using a setData() call helps!!!
2014-06-12 11:05:46 -04:00
Kevin Finisterre
1bf9f250dc
poor attempt to set some default PIDS? make a note to change the modelview ehre as well.
2014-06-12 02:43:38 -04:00
Kevin Finisterre
1f74a78263
Attempt adding in the proper Mixer setting constructs for Elevon setup.
2014-06-11 14:41:42 -04:00
Kevin Finisterre
28246cccbe
fix remaining headers
2014-06-07 23:04:12 -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
4ebaa6f205
set all the min and max values to 554 and 2400 per the Arduino servo library
...
fix some cosmetic errors on the debug output
fix the Vtail mixer setting that caused channel 4 to go crazy due to being undefined. Servo would sit and shake for no reason.
2014-05-25 16:05:13 -04:00
Kevin Finisterre
4d250ff856
Fix channel indexes to use servoCenterSlider
...
Set channelNeutral = 1500 where appropriate for each model type.
Add the missing actuator save for fixed wing! actSettings->setData(data);
2014-05-25 15:20:04 -04:00
Corvus Corax
0509595137
OP-1309 present for Laurent: 3 more Stabilized modes (and a bit of cleanup)
2014-05-03 18:38:45 +02:00
Corvus Corax
33acbc4209
OP-1309 added new thrust mode default to setup wizard
2014-04-26 20:57:39 +02:00
Corvus Corax
599661ba18
OP-1309 UAVObject changes, GCS changes and Makefile changes needed for Stabi refactoring
2014-04-26 15:14:40 +02:00
m_thread
cfff73361b
Merge branch 'next' into thread/OP-1245_FlightLog_Configuration_And_Control_GUI
2014-03-20 07:25:20 +01:00
Alessio Morale
e407eb8126
Merge branch 'next' of git://git.openpilot.org/OpenPilot into next
2014-03-09 14:38:17 +01:00
Alessio Morale
0b30b79c98
Merge remote-tracking branch 'origin/amorale/OP-1149_gyro_accel_thermal_calibration' into next
...
Conflicts:
ground/openpilotgcs/src/libs/eigen/Eigen/src/Core/util/Memory.h
ground/openpilotgcs/src/plugins/config/revosensors.ui
ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
2014-03-09 14:38:08 +01:00
Corvus Corax
82a196b8cf
Merge branch 'next' into corvuscorax/OP-1216_flight-control-refurbishment
2014-03-08 15:52:45 +01:00
m_thread
4209f1d6b5
Merge remote-tracking branch 'origin/next' into thread/OP-1245_FlightLog_Configuration_And_Control_GUI
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-03-08 10:50:32 +01:00
m_thread
0c61fd35c8
OP-1245 Added table with UAVOs. Re-factored some UAVObject code.
2014-03-06 00:41:48 +01:00
m_thread
076e690337
OP-1170 Got rid of more compiler warnings.
...
Uncrustified the code.
2014-03-04 23:45:01 +01:00
m_thread
f306a356f3
OP-1170 got rid of compiler warnings in multiple plugins.
2014-02-26 17:57:45 +01:00
Corvus Corax
b5a27d05e7
OP-1197 configurable failsafes OP-1219 thrust control OP-1217 separate manualcontrolsettings apart
2014-02-09 19:37:22 +01:00
Alessio Morale
4b5ee1c2fb
OP-1149 Changes to GCS to use AccelGyroSettings for bias calculations
2013-12-29 18:58:45 +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
b6f0e5e305
Sort out issues with servo vs. motor sliders... finally figure out what wizardIndexes are! per OutputCalibrationPage::setWizardPage()
2013-12-18 15:14:56 -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
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
Alessio Morale
be999329b9
OP-990 Some fixes to calibration in wizard
...
1) zeroes any existing bias prior to calibration.
2) Quick and dirty fix to missing UAVO updates during calibration setup
3) missing resetting of BiasCorrectGyro to true on Revolution after save.
2013-06-05 22:24:12 +02:00
Fredrik Arvidsson
316afefff7
OP-906 Changed defaults for Stabilization settings and Flight modes.
2013-05-27 22:25:17 +02:00
Sexy Pony
900f643bbd
Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES
2013-05-19 17:37:30 +03:00