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

ROS2 Foxy - Error on launch - SL_RESULT _OPERATION_TIMEOUT #6

Open
DingoOz opened this issue May 24, 2022 · 7 comments
Open

ROS2 Foxy - Error on launch - SL_RESULT _OPERATION_TIMEOUT #6

DingoOz opened this issue May 24, 2022 · 7 comments

Comments

@DingoOz
Copy link

DingoOz commented May 24, 2022

Using the lauch scripts on this GitHub with a clean install of Foxy2 on an X86 machine with a rplidar A1 I constantly receive a SL_RESULT_OPERATION_TIMEOUT error.

The USB serial port is correct and baud is correct because when monitoring it, I receive clear text from the lidar:
"Firmware Ver 1.25 - rc2, HW Ver 5
Model: 18"

Is there something else I need to configure to avoid this error?

@DingoOz
Copy link
Author

DingoOz commented May 24, 2022

I have tried upgrading my rplidar firmware to the latest (1.27) but this did not change anything.

The Ros logs do not provide any more information about why this node threw an error that this error code "SL_RESULTS_OPERATION_TIMEOUT"

@DingoOz
Copy link
Author

DingoOz commented May 25, 2022

I have confirmed the hardware works buy using the SLAMTEC demo software under windows.

@DingoOz
Copy link
Author

DingoOz commented May 25, 2022

Firmware is now:
"RP LIDAR System.
Firmware Ver 1.27 - rc8 HW Ver 5
Model: 18"

@vattenbuffel
Copy link

vattenbuffel commented Jun 11, 2022

I had this problem and the solution for me was that sudo was needed to access the usb port. A simple solution is to give everyone access: sudo chmod 666 /dev/ttyUSB0

@ladrians
Copy link

ladrians commented Jul 13, 2022

Any other thing to test from this issue? I got the same error and the 666 permission change on ttyUSB0 does not fix the problem connecting to an S2 Lidar, this is the error

[sllidar_node-1] [ERROR] [1657739326.111938211] [sllidar_node]: Error, operation time out. SL_RESULT_OPERATION_TIMEOUT!
[ERROR] [sllidar_node-1]: process has died [pid 41683, exit code 255, cmd '/home/ubuntu/ros2_ws/install/sllidar_ros2/lib/sllidar_ros2/sllidar_node --ros-args --log-level debug --ros-args -r __node:=sllidar_node -r __node:=sllidar_node --params-file /tmp/launch_params_xvswqiic'].

thanks,

@ladrians
Copy link

sorry discard my last comment, I confused the lidar model, actually it was a S1 version and works fine!

@xiaoc10020015
Copy link

#13 humble error SL_RESULT _OPERATION_TIMEOUT

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

4 participants