Refactored graph::getPosesInRadius -> graph::findNearestPoses. Labels can be removed: added Remove label option in MainWindow. In localization mode, label set with id=0 is set to nearest node of current pose.

This commit is contained in:
matlabbe
2022-01-20 18:56:38 -05:00
parent 3c215b9b4d
commit 83d1e27b81
11 changed files with 262 additions and 177 deletions
+7 -1
View File
@@ -27,7 +27,7 @@
<x>0</x>
<y>0</y>
<width>1012</width>
<height>21</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@@ -351,6 +351,7 @@
<addaction name="actionTrigger_a_new_map"/>
<addaction name="separator"/>
<addaction name="actionLabel_current_location"/>
<addaction name="actionRemove_label"/>
<addaction name="actionSend_waypoints"/>
<addaction name="actionSend_goal"/>
<addaction name="actionCancel_goal"/>
@@ -1670,6 +1671,11 @@
<string>OpenNI2</string>
</property>
</action>
<action name="actionRemove_label">
<property name="text">
<string>Remove label...</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>