mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
MainWindow: made mynteye action checkable.
This commit is contained in:
@@ -2876,7 +2876,7 @@ bool Rtabmap::process(
|
|||||||
// if _optimizeFromGraphEnd parameter just changed state, don't use optimized poses as guess
|
// if _optimizeFromGraphEnd parameter just changed state, don't use optimized poses as guess
|
||||||
float normMapCorrection = _mapCorrection.getNormSquared(); // use distance for identity detection
|
float normMapCorrection = _mapCorrection.getNormSquared(); // use distance for identity detection
|
||||||
if((normMapCorrection > 0.001f && _optimizeFromGraphEnd) ||
|
if((normMapCorrection > 0.001f && _optimizeFromGraphEnd) ||
|
||||||
(normMapCorrection < 0.0001f && !_optimizeFromGraphEnd))
|
(normMapCorrection < 0.001f && !_optimizeFromGraphEnd))
|
||||||
{
|
{
|
||||||
for(std::multimap<int, Link>::iterator iter=_constraints.begin(); iter!=_constraints.end(); ++iter)
|
for(std::multimap<int, Link>::iterator iter=_constraints.begin(); iter!=_constraints.end(); ++iter)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1610,6 +1610,9 @@
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionMYNT_EYE_S_SDK">
|
<action name="actionMYNT_EYE_S_SDK">
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>MYNT EYE S SDK</string>
|
<string>MYNT EYE S SDK</string>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user