ROBOTIS-GIT / hls_lfcd_lds_driver

ROS package for HLDS HLS-LFCD LDS driver
http://turtlebot3.robotis.com
BSD 3-Clause "New" or "Revised" License
87 stars 70 forks source link

An exception was thrown: read: End of file #41

Closed TrendMend closed 5 years ago

TrendMend commented 5 years ago

Hey there,

So I seem to have an issue with a recently purchased HLS-LFCD2. This is NOT a Robotis branded model, but one direct from HL. I modified the cpp to use AMA0 instead of USB0 because I am using an RPI to communicate with it, instead of an RPI to USB2LDS and then the sensor. Anytime I run the program, it gives me a An exception was thrown: read: End of file Error, and I don't know what to do... I tried using another program, and it accepts commands and I receive data, but it can only return it as ascii, which just gives a bunch of random characters. Is there any idea to why I am getting this error? Thanks!

TrendMend commented 5 years ago

To all the people having this issue:

After some digging, this came up. After using that command, and some sudo love it worked! I hope this helps others!