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

start YDLIDAR is failed! on a rpi3 B+ using Ubuntu 16.04.5 #12

Closed
ladrians opened this issue Oct 25, 2018 · 2 comments
Closed

start YDLIDAR is failed! on a rpi3 B+ using Ubuntu 16.04.5 #12

ladrians opened this issue Oct 25, 2018 · 2 comments

Comments

@ladrians
Copy link

I have a rpi3 B+ and want to try a X4 ydlidar.

I followed the information on this repository to configure it.

When launching the lidar.launch I get the following error:

[YDLIDAR INFO] Current ROS Driver Version: 1.3.1
[YDLIDAR INFO] Current SDK Version: 1.3.1
[YDLIDAR INFO] YDLIDAR running correctly! The health status: well
[YDLIDAR INFO] Connection established in /dev/ydlidar:
Firmware version: 1.0.4
Hardware version: 1
Model: X4
Serial: 2018072600000109
[YDLIDAR INFO] Current Sampling Rate : 5K
[YDLIDAR INFO] Current Scan Frequency : 7.000000Hz
[YDLIDAR INFO] Connected to YDLIDAR on port /dev/ydlidar at 128000
[ERROR] [1540494660.808305823]: start YDLIDAR is failed! Exit!! ......
[ydlidar_node-2] process has finished cleanly
log file: /home/ubuntu/.ros/log/b016737e-d889-11e8-85a4-b827eb97b52f/ydlidar_node-2*.log
^C[base_link_to_laser4-3] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete

If I check the log file just this line is added

1540500230.681498661  Node Startup
1540500236.920342693 ERROR [/home/ubuntu/catkin_ws/src/ydlidar/src/ydlidar_node.cpp:502(main) [topics: /rosout, /scan] start YDLIDAR is failed! Exit!! ......

I am using Ubuntu 16.04.5 LTS, any tips on how to solve it?
Thanks in advance,

@ladrians
Copy link
Author

Just in case I could test the case in a secondary rpi3 B with Raspbian jessie 8.0 + ROS indigo with exactly the same result.

@ladrians
Copy link
Author

I tested the Lidar with a Ubuntu machine and it's working.
After several tries I tested again with the rpi3 plugging both USB connections for data and power and worked!!
So I guess when using a rpi it is not enough to use the data USB connection for powering the decide.
thanks,

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