Open marc-hanheide opened 8 years ago
use something like this:
from yaml import load,dump
look here as well: https://github.com/LCAS/ToNE/issues/4#issuecomment-185146761
go here there is a metric map called arena.yaml
which you will load with your interface.
Then you will have a different system to load topological maps you will load these maps (one only, but use others to verify) and draw the node positions in the metric map you are displaying. Remember topological map definition here
each node should be its own object and have all the properties a node has in the definition.
take a look at this class: load_maps_from_yaml.py
@Laxnyama and me did an example on loading top maps https://gist.github.com/Jailander/4d87f9d29801181fb49e laxwell will use this as base for loading and drawing the topological map
@Jailander to provide an example map with annotations that tell what needs to go into the GUI