ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

How to run rgbdslam on ROS fuerte?

asked 2012-08-25 21:14:53 -0500

sam gravatar image

updated 2014-01-28 17:13:27 -0500

ngrennan gravatar image

I followed rgbdslam.

I use ROS fuerte and run:

  svn co http://alufr-ros-pkg.googlecode.com/svn/trunk/rgbdslam_freiburg/rgbdslam
  svn co https://code.ros.org/svn/ros-pkg/stacks/vslam/trunk/g2o
  sed 's/depend package="eigen"/rosdep name="eigen"/g' rgbdslam/manifest.xml > rgbdslam/manifest.xml.bak; mv rgbdslam/manifest.xml.bak rgbdslam/manifest.xml
  sed 's/find_package(Eigen)/find_package(Eigen REQUIRED)/g' rgbdslam/CMakeLists.txt > rgbdslam/CMakeLists.txt.bak; mv rgbdslam/CMakeLists.txt.bak rgbdslam/CMakeLists.txt
  rosmake rgbdslam

When I run rgbdslam, it shows:

  sam@sam:/media/Data/code/ros/slam/rgbdslam$ roslaunch rgbdslam kinect+rgbdslam.launch
  ... logging to /home/sam/.ros/log/dad67c30-ef4c-11e1-9928-20cf30a23845/roslaunch-sam-6267.log
  Checking log directory for disk usage. This may take awhile.
  Press Ctrl-C to interrupt
  Done checking log file disk usage. Usage is <1GB.

  while processing /opt/ros/fuerte/stacks/openni_camera/launch/openni_node.launch:
  Invalid roslaunch XML syntax: [Errno 2] No such file or directory: u'/opt/ros/fuerte/stacks/openni_camera/launch/openni_node.launch'
  sam@sam:/media/Data/code/ros/slam/rgbdslam$

How to solve it?

Thank you~

edit retag flag offensive close merge delete

Comments

I think not. Because this question also including other problem that which topic should mapping to others or other questions. Is there any list of topic from rgbdslam should map to gazebo kinect and how? Thank you~

sam gravatar image sam  ( 2012-09-21 07:45:32 -0500 )edit

@sam my bad. you are right. And about the list of topics, could you give an example, I am not sure I understood what you want. I am not an experienced ros-user but I got rgbdslam to work recently.

yigit gravatar image yigit  ( 2012-09-24 01:35:12 -0500 )edit

I know rgbdslam should work when I borrow kinect to testing. But now I don't have kinect, I want to use gazebo's kinect to match all topics for rgbdslam. How can I do that? Thank you~

sam gravatar image sam  ( 2012-09-25 16:59:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-09-16 01:25:12 -0500

Flowers gravatar image

Did you install the openni_camera package? If not, install it.

Then it is up to you to a) start the nodes you need by editing the kinect+rgbdslam.launch file b) create a /opt/ros/fuerte/stacks/openni_camera/launch/openni_node.launch file c) install openni_launch and change the kinect+rgbdslam.launch file by replacing "/openni_camera/launch/openni_node.launch" by "/openni_launch/launch/openni.launch"

I suppose option c) is by far the most easy, but it also creates a lot of nodes and topics, and there is a lot of information published in /tf(well, that at least is easy to stop, somewhere in the launchfile is a parameter like "use tf" or sth like that.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-25 21:14:53 -0500

Seen: 631 times

Last updated: Sep 16 '12