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

Problem with depthimage_to_laserscan package

asked 2014-02-02 11:51:22 -0500

AnuZam gravatar image

I am using depthimage_to_laserscan package. I use the command "rosrun depthimage_to_laserscan depthimage_to_laserscan" to run the node. But It isn't printing anything to the /scan topic. Using rosnode command I see that it isn't subscribing to /camera/depth/image_raw topic. How do I make it do that?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-02 14:26:31 -0500

fergs gravatar image

If you just run with rosrun, you'll need to remap the topics. Check the wiki page for the actual names that the node subscribes/publishes: http://wiki.ros.org/depthimage_to_las...

If your topic is /camera/depth/image_raw, then you'd want to run:

  rosrun depthimage_to_laserscan depthimage_to_laserscan image:=camera/depth/image_raw
edit flag offensive delete link more

Comments

Thanx a lot Fergs, it works! Sorry abt noob questions

AnuZam gravatar image AnuZam  ( 2014-02-07 13:33:45 -0500 )edit

Great! Hit the check in the circle on the side of my answer to mark this as answered and closed.

fergs gravatar image fergs  ( 2014-02-08 09:43:31 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-02-02 11:51:22 -0500

Seen: 972 times

Last updated: Feb 02 '14