Comparing this post with yesterday's post, it looks like you still have not familiarized yourself with the RPLidar library examples, and verified the basic operation and functions of the sensor.
Starting from the simplest library example, add code that prints out a 360 degree scan of the room, and make sure that the results are sensible. Then you can start thinking of applications.
The code associated with this unimpressive Youtube presentation might give you some ideas about what you are missing.