Re: [ros-users] Announcing new package minecraft-ros

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: Re: [ros-users] Announcing new package minecraft-ros
It would be sort-of easy for someone to write scripts to translate the 2d
maps back. But it would probably be easier to use Gimp to edit them anyhow.

I don't really know about how to go about writing a minecraft-to-octomap
converter. It seems like it would a little more difficult to create an
octomap tree than it was to read it.

Also, I forgot to mention that the octomap converter is very slow. I think
it's mainly because the algorithm for matching colors to minecraft blocks
is very inefficient.

-Jon


On Wed, Mar 6, 2013 at 11:11 PM, Toris, Russell Charles <>wrote:

> +100....
>
> Is there a way to covert back? Minecraft as an editor... :)
>
> -Russell
>
>
> Jon Stephan <> wrote:
>
> ROS users,
>
> I am pleased to announce a new package: minecraft-ros. It consists of 2
> utilities to convert ROS maps and octomaps to Minecraft worlds.
>
> The files and instructions can be found here:
> https://code.google.com/p/minecraft-ros/
>
> The map_2d_2_minecraft.py script will convert a 2D .pgm map file into a
> minecraft world. The world file is copied into the ~/.minecraft/saves
> folder.
>
> [
> https://minecraft-ros.googlecode.com/files/map_whole_house_13_02_17_fixed.jpg]
> -----> [https://minecraft-ros.googlecode.com/files/minecraft_2d_map.png]
>
>
> The octomap_2_minecraft script, along with the octomap_dump program will
> convert an octomap into a Minecraft map.
>
> [https://minecraft-ros.googlecode.com/files/kitchen.jpg] --> [
> https://minecraft-ros.googlecode.com/files/octomap_kitchen.jpg]
>
> Both these scripts rely on pymclevel. A chunk of the octomap conversion
> code is borrowed from Nathan Viniconis' Kinect conversion code.
>
> Enjoy!
>
> -Jon Stephan
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>