[ros-users] SLAM precoding?
Brian Gerkey
gerkey at willowgarage.com
Thu Mar 31 16:06:44 UTC 2011
On Wed, Mar 30, 2011 at 9:37 PM, Charles DuHadway <duhadway at google.com> wrote:
> Sounds like its working. You can retrieve the map via the
> service nav_msgs/GetMap or the topic nav_msgs/OccupancyGrid.
Two things to try, in particular:
* start rviz and check that it visualizes the map correctly
* use map_server/map_saver to retrieve and save the map as a bitmap
I've never tried loading an .xcf file; there's some chance that
map_server/map_server won't read that format correctly. On Linux, .png
is definitely supported.
brian.
> On Thu, Mar 24, 2011 at 7:35 PM, Jason Byers <jabyers at g.clemson.edu> wrote:
>>
>> Ok so I drew up the map to scale using the GIMP image editor, and created
>> the YAML file named map.yaml, and ran the command line
>>
>> rosrun map_server map_server map.yaml
>>
>> after running roscore in a separate terminal but it just sits idle saying
>>
>> [ INFO] [1301019197.508222505]: Loading map from image
>> "./riggs_basement_metric.xcf"
>>
>> and my map's name is riggs_basement_metric.xcf and is in the same package
>> folder as the yaml file. Is the map file supposed to be located somewhere
>> else? Or am I making some kind of error?
>>
>> Thanks for any help,
>> Jason
>>
>>
>> On Mon, Mar 14, 2011 at 11:36 AM, Charles DuHadway <duhadway at google.com>
>> wrote:
>>>
>>> The map is represented as an image file. See
>>> http://www.ros.org/wiki/map_server for details on the format. You can use
>>> any image editor to create it. The GIMP is what I've used in the past.
>>> Charles
>>>
>>> On Sun, Mar 13, 2011 at 8:27 AM, Jason Byers <jabyers at g.clemson.edu>
>>> wrote:
>>>>
>>>> So how would I draw this map in ROS, like is there a certain application
>>>> or tutorial for it?
>>>> Thanks,
>>>> Jason
>>>>
>>>>> Sure, you can draw a map by hand, or even use an architectural
>>>>> floorplan. As long as it's reasonable accurate, and to scale,
>>>>> localization should work ok.
>>>>>
>>>>> brian.
>>>>
>>>>
>>>> On Fri, Mar 11, 2011 at 1:31 PM, Brian Gerkey <gerkey at willowgarage.com>
>>>> wrote:
>>>> On Fri, Mar 11, 2011 at 8:49 AM, <jabyers at clemson.edu> wrote:
>>>> > I am currently working on using ROS to build a map of a building for a
>>>> > robot to use SLAM coding to navigate through said building. However, I
>>>> > have limited access to the robot, as an undergrad, due to the need for
>>>> > the
>>>> > grad students to use the robot for their various projects. I was
>>>> > wondering
>>>> > if there was anyway to build a map of the building using just the
>>>> > values
>>>> > from the laser range finder, so just the dimensions of the building,
>>>> > without physically using the robot, and then to just load it onto the
>>>> > robot when I get the chance and have the robot localize itself by
>>>> > comparing its range finder values with the values of the map? Thanks
>>>> > for
>>>> > any help!
>>>> _______________________________________________
>>>> ros-users mailing list
>>>> ros-users at code.ros.org
>>>> https://code.ros.org/mailman/listinfo/ros-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> ros-users mailing list
>>> ros-users at code.ros.org
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
More information about the ros-users
mailing list