corot / world_canvas

ROS framework for storing and accessing semantic information about the world, with an initial emphasis on needs and use cases for mobile robots.
10 stars 19 forks source link

Improve YAML export format #29

Closed jihoonl closed 9 years ago

jihoonl commented 9 years ago

At the moment export yaml saves map data by following

...
    34     shape: 1
    35     size:
    36       x: 16.0000002384
    37       y: 25.6000003815
    38       z: 1.0e-06
    39     timestamp:
    40       nsecs: 371998071
    41       secs: 1412780304
    42     type: nav_msgs/OccupancyGrid
    43     world: test2
    44   data:
    45     data:
    46     - -1
    47     - -1
    48     - -1
    49     - -1
    50     - -1
    .... 

It would be nice if we can change to...

    44   data:
    45     data: [-1, -1, -1 ....]
corot commented 9 years ago

Please test with more than one map!!!