We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotting the raw values coming out of simple_grabber produces an inaccurate result. Put another way: Theta as reported by the app is not degrees.
simple_grabber
Theta
If instead the raw angle value is divided by 2^16 and multiplied by 2*Pi sensible values are produced
for (int pos = 0; pos < (int)count ; ++pos) { printf("%03.2f,%08.2f \n", (nodes[pos].flag & SL_LIDAR_RESP_HQ_FLAG_SYNCBIT) ?"S ":" ", (nodes[pos].angle_z_q14 / 65536.f * 2 * 3.14159265359), nodes[pos].dist_mm_q2/4.0f); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Plotting the raw values coming out of
simple_grabber
produces an inaccurate result. Put another way:Theta
as reported by the app is not degrees.If instead the raw angle value is divided by 2^16 and multiplied by 2*Pi sensible values are produced
The text was updated successfully, but these errors were encountered: