Skip to content
New issue

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

Adaption to Robosense RS-Lidar M1 #284

Open
hhackbarth opened this issue Apr 16, 2024 · 0 comments
Open

Adaption to Robosense RS-Lidar M1 #284

hhackbarth opened this issue Apr 16, 2024 · 0 comments

Comments

@hhackbarth
Copy link

I am using a Robosense RS-Lidar M1 array LiDAR, which covers 120° HFoV, 25° VFoV, both with 0.2° angular resolution.
The point layout is described here: https://github.com/RoboSense-LiDAR/rs_driver/blob/main/doc/howto/18_about_point_layout.md#1842-mems-lidar

I tried with an adaption of the utility.h file like this:

// Using velodyne cloud "ring" channel for image projection (other lidar may have different name for this channel, change "PointXYZIR" below)
extern const bool useCloudRing = false; // if true, ang_res_y and ang_bottom are not used

// RS-Lidar M1
extern const int N_SCAN = 126;
extern const int Horizon_SCAN = 625;
extern const float ang_res_x = 0.2;
extern const float ang_res_y = 0.2;
extern const float ang_bottom = 12.5;
extern const int groundScanInd = 10;

The resulting point cloud has similarities to the expectation in the beginnung, so the parameters do not seem to be completely wrong. But the more I move, the wronger it gets (angles of room walls rotated).

Any ideas for a better parametrization?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant