Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 77

How to convert LaserScanner msgs to 2D cartesian cooridnates?

$
0
0
I'm trying to convert LaserScanner msgs to 2D vector(cartesian coordinates,(X,Y) pair) in C++ without using any library.Main problem is that I'm using a formula X=r*cos(phi) and Y=r*sin(phi),and if ranges[i] is r,how can I find phi?

Viewing all articles
Browse latest Browse all 77

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>