Wednesday, May 11, 2011

ROS: Robotino Base, Kinect, Mapping


Since we are using Robotino base, we have to install openrobotino into your laptop.svn co http://svn.openrobotino.org/trunk/ros

ROS Kinect is an open source project focused on the integration of the Microsoft Kinect sensor with ROS.

-------------------------------------------------------------------------------------------------

ROS Gmapping

In order for the kinect to generate a map, we need to download the ROS Gmapping package.This package contains GMapping, from OpenSlam, and a ROS wrapper. The gmapping package provides laser-based SLAM (Simultaneous Localization and Mapping), as a ROS node called slam_gmapping.


-------------------------------------------------------------------------------------------------

In order not to run so many terminals at the same time, we created a ".sh" file with the command : vim kinect_mapping.sh

Next, we changed the properties of this file to make the file available to write, read and execute with the command : chmod 777 kinect_mapping.sh

This file is created with the intention of running several commands one after another, so that we do not need to open too many terminal box. Thus inside this file, we included the following:
  • roslaunch robotino_base robotino_configuration_kinect.launch
  • roslaunch robotino_teleop teleop_joystick.launch
  • roslaunch ardros kinect_laser.launch
  • rosrun gmapping slam_gmapping
  • rosrun rviz rviz
An rviz window pops up, set fixed frame: /map , target frame: /openni_depth_optical. Add laser scan and map as well. Navigates the robot around the room. You will get something like this:

To save the map built, we typed in a command: rosrun map_server map_saver

3 comments:

  1. Hi!
    I need your help. How can I conect kinect on my Robotino?

    ReplyDelete
  2. http://wiki.openrobotino.org/index.php?title=File:Robotino_kinect_800.jpg
    TRY TO SEE THIS

    ReplyDelete
  3. Hi,
    I am pretty new to work with ROS and Robotino.
    I am using ROS Indigo, kinect and robotino. I do not have any laser device with my robotino. I want to use the navigation stack of ROS and creat a map using kinect, robotino distance sensor.
    I checked out catkin_ws from another source. But I am not getting the map. Can you please explain me how can I generate map without having laser device and with my kinect?

    ReplyDelete