LCAS / ToNE

MIT License
0 stars 0 forks source link

load YAML map #2

Open marc-hanheide opened 8 years ago

marc-hanheide commented 8 years ago

@Jailander to provide an example map with annotations that tell what needs to go into the GUI

marc-hanheide commented 8 years ago

look at https://github.com/strands-project/strands_navigation/tree/indigo-devel/topological_navigation for more info

marc-hanheide commented 8 years ago

use something like this:

from yaml import load,dump
marc-hanheide commented 8 years ago

https://github.com/strands-project/strands_navigation/blob/indigo-devel/topological_utils/scripts/load_yaml_map.py

marc-hanheide commented 8 years ago

look here as well: https://github.com/LCAS/ToNE/issues/4#issuecomment-185146761

Jailander commented 8 years ago

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.

Jailander commented 8 years ago

take a look at this class: load_maps_from_yaml.py

Jailander commented 8 years ago

@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