SkoltechRobotics / rplidar

Python module for RPLidar A1 and A2 rangefinder scanners
MIT License
187 stars 126 forks source link

indexerror: list index out of range #39

Closed ytwon closed 3 years ago

ytwon commented 3 years ago

run(sys.argv[1]) in line 28 out of index, how to solve it?

durmusgulbahar commented 3 years ago

I think you were trying to use "record_measurments.py", you should enter something to while exec the code in terminal like that ; ./record_measurments.py out.txt command needs an argument.

newpavlov commented 3 years ago

Correct. You should provide path to an output file.