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

Revision history [back]

The reason you're getting a curved wall is that you're trig is a bit off.

You want to multiply your X and Y values by the cosine of the elevation not the sine. And the Z value wants to by the range multiplied by the sine of your elevation.

Having said that you can achieve this using the laser assembler package and all the hard work is done for you.

Hope this helps.