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

running Rgbdslam remotely

asked 2012-11-17 07:08:31 -0600

JP Schubert gravatar image

updated 2016-10-24 09:03:04 -0600

ngrennan gravatar image

I am trying to run rgbdslam on a turtlebot ( roomba 500 )

I am able to connected the Kinect to my workstation and

trying to run roslaunch rgbdslam kinect+rgbdslam.launch

gives ERROR:

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'

running

roslaunch openni_launch openni.launch rosrun rgbdslam rgbdslam

works fine and I am able to save out ply files.

When I connect to my turtlebot and set the ROS_MASTER_URI & ROS_HOSTNAME to point to the turtlebot and try running rgbdslam on workstation I get no data feed into the rgbdslam gui.

I have tried running rosrun rgbdslam rgbdslam on the turtle bot and it works, slowly.

I have also tried recording a bag file, using suggested topics mentioned on another post "Minimal Topics for RGBDSLAM", onto the workstation and the disconnecting from the turtlebot and reset ROS_MASTER_URI & ROS_HOSTNAME to the workstation start roscore and playing back the bag file on the workstation using rosrun rosrun rgbdslam rgbdslam and still no topic data coming into rgbdslam.

Topics played back from bag file:

turtlebot@turtlebot-workstation:~$ rostopic list

/camera/depth/camera_info

/camera/depth/image

/camera/rgb/camera_info

/camera/rgb/image_color

/clock

/rosout

/rosout_agg

/tf

When I playback the rather large bag files, 140mb, all of the topics are published but rgbdslam will not listen.

So in effect rgbdslam only wants to work on the workstation with the kinect physically connected and roscore running with openni_launch locally.

EDIT: INTERESTING....

As a test I ran roscore, roslaunch openni_launch openni.launch & rosrun rgbdslam rgbdslam and recorded bag file - using SAME topics - on the WORKSTATION only and with kinect connected to it. When I playback this bag file (file size ALOT larger 1.6gb for only a few seconds.)rgbdslam recognizes the bag file topic and processes fine....

What am I missing?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-11-18 00:05:38 -0600

Ben_S gravatar image

ROS_HOSTNAME has to point to the name of the current computer. Not to the machine where the roscore is running. It only tells the nodes under which address they are reachable from the outside.

edit flag offensive delete link more
0

answered 2012-11-17 12:55:00 -0600

allenh1 gravatar image

I've faced this problem before... check out this answer.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-17 07:08:31 -0600

Seen: 975 times

Last updated: Nov 18 '12