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

66 Commits

Author SHA1 Message Date
m_thread
d4c562eb11 OP-1747 Updated code in SetupWizard to use different max rate outputs for pwm and OneShot125. 2015-03-05 21:45:08 +01:00
Laurent Lalanne
6ba3aa0424 OP-1723 Changes for review - Fix for FW dual aileron (output6 not set to 1500) 2015-02-17 13:35:47 +01:00
Laurent Lalanne
d76affcae3 OP-1723 English typo 2015-02-16 01:22:04 +01:00
Laurent Lalanne
60f9e96571 OP-1723 keep only tr() 2015-02-16 00:11:29 +01:00
Laurent Lalanne
f4e11fa6ef OP-1723 Missing tr() - removed debug code 2015-02-15 21:35:39 +01:00
Laurent Lalanne
c645738bc5 OP-1723 Ground wizard, reversable motor support - Fixes default outputs levels issue (OP-1718) 2015-02-15 18:32:01 +01:00
Laurent Lalanne
49a53757f7 OP-1643 Small fixes, typo 2014-12-19 10:15:36 +11:00
Laurent Lalanne
c213e923ca OP-1643 First commit : Add ground vehicle to setup wizard 2014-12-19 10:14:53 +11:00
Fredrik Larsson
69d146988b Merge remote-tracking branch 'origin/laurent/OP-1620_FixedWing_Vtail_wizard' into next 2014-12-03 17:49:16 +11:00
Laurent Lalanne
01cb489378 Remove QuadH from setup wizard 2014-11-24 00:51:40 +01:00
Laurent Lalanne
c1c0c87677 OP-1620 Added Vtail frame to setup Wizard 2014-11-17 00:27:16 +01:00
m_thread
02f50b952f OP-1586 Fixed OutputCalibrationUtil.
Moved the setup and restore of ActuatorControl metadata to static
methods. This was needed in the case when multiple channels was
manipulated since the metadata would restore to a faulty state
otherwise.
2014-10-30 10:56:00 +01:00
m_thread
9038c89991 OP-1556 Changed ESC calibration procedure slightly.
Added even more warning artwork to ESC calibration to make it even more
explicit. Darwin awards might have lost even a few more poor souls by
this i hope.
2014-10-27 15:24:23 +01:00
Fredrik Arvidsson
7268a676eb OP-1567 Added setting PWM out to 1000us.
At motor neutral calibration stop, first set PWM out to 1000us for 500ms
followed by setting it to 0.
2014-10-25 15:01:25 +02:00
Fredrik Arvidsson
612c3802ec OP-1571 Fixed template export.
User can now choose a place and a name if preferred.
Location will be default location in GCS config dir if it exists,
otherwise in the users home directory.
Added code to handle exort and import/selection of template without
image.
2014-10-25 11:35:05 +02:00
m_thread
0457e22132 Changed safe actuator value for motors to 0 ( for extra safety ). 2014-10-24 16:35:53 +02:00
m_thread
a7a7d32ec8 OP-1517 Small adjustments. 2014-10-02 21:25:38 +02:00
m_thread
8123e816b6 OP-1517 Fixed saving of vehicle setup to be performed before output calibration and esc calibration. 2014-10-01 15:05:32 +02:00
Laurent Lalanne
b31feb31b3 OP-1222 FW_Wizard Fix : QuadH and HexaH do not load Svg file 2014-09-16 20:41:45 +02:00
Laurent Lalanne
bc9e6b24f9 Merge remote-tracking branch 'origin/laurent/OP-1491_HQuad_mixing_values' into laurent/OP-1222_FW_Wizard
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/pages/multipage.cpp
	ground/openpilotgcs/src/plugins/setupwizard/resources/connection-diagrams.svg

Conflicts resolved in artwork, same style as FW branch
2014-09-16 18:55:43 +02:00
Laurent Lalanne
365a9c5026 OP-1491 HQuad_mixing_values : Wizard fixes, should works now 2014-09-16 01:16:45 +02:00
Fredrik Larson
7486ba8803 Put channels in order, make outputs match the diagrams, channels now
reflect common fixed wing model conventions
2014-09-02 14:23:26 +10:00
m_thread
b31ee46724 OP-1222 Uncrustify 2014-08-26 22:34:58 +02:00
m_thread
a9dad6f4df OP-1222 Added reversed for servos. Beautification of fixed wing page. 2014-08-26 01:22:35 +02:00
m_thread
73ca58ce0f OP-1222 Disabled reverse. 2014-08-26 00:02:44 +02:00
m_thread
4273f6a1fc Merge branch 'thread/OP-1222_FW_Wizard' of ssh://git.openpilot.org/OpenPilot into thread/OP-1222_FW_Wizard 2014-08-25 23:46:03 +02:00
m_thread
a2af596b56 OP-1222 Changed servo calibarion to contain min, max and center on the same page. 2014-08-25 23:45:46 +02:00
Fredrik Larson
9e93c7ded5 Rename wizard svg file, avoids confusion. TODO: Other duplicate files like
this that are shared with config and wizards
2014-08-25 03:21:20 +10:00
m_thread
f494c326de OP-1222 Fixed some groups in svg.
Removed translation node in svg by regrouping childs.
Fixed fit in view issue in fixedwingpage and some channel setup in outputcalibrationpage.
2014-08-23 17:50:50 +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
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
dd07ccbec9 Resolve merge conflicts 2014-08-16 14:20:31 +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
748a522b5d OP-1063 Multi_config_Hexa_fixes : Commented mixer matrix, cleanup. 2014-07-14 15:50:48 +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
0bd4e9efa5 Try to fix my Vtail->Elevon naming issue. Attempt to fix Elevon mixer setting defaults 2014-06-07 22:31:42 -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
m_thread
a99de5d326 OP-1222 Fixed svg files. Cleaned up and grouped items to work in wizard.
Removed some translations and simplified some gradients.
Added support for output calibration of Aileron and v-tail wings.
Added comments in the code explaining the various arrays with
indexes and ids in the output configuration page class.
2014-02-14 00:00:52 +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
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
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
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
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
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