Skip to content
Snippets Groups Projects
Commit 4893ffdd authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add option to optimize nullspace if target was reached to...

Add option to optimize nullspace if target was reached to CartesianWaypointControlGuiWidgetController
parent c7d3cf73
No related branches found
No related tags found
No related merge requests found
......@@ -298,19 +298,6 @@
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>FT limit</string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QDoubleSpinBox" name="doubleSpinBoxMaxAccNull">
<property name="maximum">
......@@ -435,7 +422,7 @@
</property>
</widget>
</item>
<item row="5" column="0" colspan="9">
<item row="8" column="0" colspan="9">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="pushButtonZeroFT">
......@@ -480,6 +467,19 @@
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>FT limit</string>
</property>
</widget>
</item>
<item row="4" column="2" colspan="7">
<widget class="QDoubleSpinBox" name="doubleSpinBoxFTLimit">
<property name="minimum">
......@@ -493,6 +493,13 @@
</property>
</widget>
</item>
<item row="5" column="2" colspan="7">
<widget class="QCheckBox" name="checkBoxKeepOptimizing">
<property name="text">
<string>Optimize nullspace if target was reached</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
......
......@@ -239,6 +239,8 @@ namespace armarx
cfg.wpCfg.kpPos = static_cast<float>(_ui.doubleSpinBoxPosKP->value());
cfg.forceThreshold = static_cast<float>(_ui.doubleSpinBoxFTLimit->value());
cfg.optimizeNullspaceIfTargetWasReached = _ui.checkBoxKeepOptimizing->isChecked();
return cfg;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment