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

Revision history [back]

I am afraid you can not accomplish what you need with depthimage_to_laserscan. The parameter scan height, does not mean "the row on the image to take as laser scan", it means "how many rows from the center of the image to consider when transforming to laser scan"

As you can see on the implementation of the function that does the conversion.

But, the good news is, you can create your own custom package based on depthimage_to_laserscan to achieve your goal.