Try to move a node - it will not work. You will see something like the following in the terminal.
[ INFO] [1589187733.416487645]: Updating topological map
[ INFO] [1589187733.416885089]: WayPoint9
[ WARN] [1589187733.423375574]: Failed to get tags for node WayPoint1
[ WARN] [1589187733.430425037]: Failed to get tags for node WayPoint2
[ WARN] [1589187733.436575677]: Failed to get tags for node WayPoint3
[ WARN] [1589187733.442741614]: Failed to get tags for node WayPoint4
[ WARN] [1589187733.450094861]: Failed to get tags for node WayPoint5
[ WARN] [1589187733.456694266]: Failed to get tags for node WayPoint6
[ WARN] [1589187733.463797253]: Failed to get tags for node WayPoint7
[ WARN] [1589187733.470154284]: Failed to get tags for node WayPoint8
[ WARN] [1589187733.516802932]: Failed to get tags for node WayPoint9
[ERROR] [1589188546.635162]: Impossible to store in DB 0 waypoints found after query
[ERROR] [1589188546.638079]: Available data: []
To reproduce:
Insert empty map
Run rviz tools and construct a map with a few nodes and edges
Export the map to yaml
Import the map with a different pointset name
Rerun rviz tools with the loaded map
Try to move a node - it will not work. You will see something like the following in the terminal.
Calling get node tags will fail:
This is because the line https://github.com/LCAS/topological_navigation/blob/master/topological_navigation/src/topological_navigation/manager.py#L109 will not return anything.
This happens in a database which has many existing maps in it, and also in one which only contains the two maps generated as above.
Deleting both maps and then inserting the map again with
--pointset
will have the same issue.Running insertion without the
--pointset
flag will work fine.