Ask Your Question

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

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:

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


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



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

Seen: 866 times

Last updated: Feb 02 '14