how to convert point cloud to map

asked 2017-09-02 11:07:13 -0500

Shanky13 gravatar image

hey i m new to ros and currently working on building my own mapping algorithm i converted laserscan value to point cloud by using the range values as : x-coordinate = range *cos (angle) y-coordinate = range *sin (angle) current angle or orientation = tan(y-coordinate/x-coordinate) am i doing it right ?
if yes how to print it in rviz as in pointcloudmsgs and also how to use scan matching further

edit retag flag offensive close merge delete