Open vindevries opened 5 years ago
1.update the latest sdk version 1.3.8
Thanks, I'll try it out as soon as I have time.
I just checked out the latest 1.3.8 and still got the same error. My X4's worked for 1.3.2.
So I got my X4 to work with sdk v 1.3.2. it is a bit strange because when I run the demo app, the first three times it tells me that there is a health error before it starts running.
On a side note, I have not managed to get it to run on ROS
Have you used powered USB hub?
Please use the SDK in the following address: https://github.com/YDLIDAR/sdk ros package: https://github.com/YDLIDAR/ydlidar ros2 package: https://github.com/YDLIDAR/ydlidar_ros2
Please consider writing this in the README, so one doesn't waste time compiling and using the wrong software.
Good morning, you could help me. I'm having some problems when I run ydlidar on ros and some errors when I run rviz to view, I'm new to ros, and I have a ydlidar x2.
pi@raspberrypi:~/catkin_ws/src/ydlidar_ros/startup $ sudo chmod 777 ./* pi@raspberrypi:~/catkin_ws/src/ydlidar_ros/startup $ sudo sh initenv.sh pi@raspberrypi:~/catkin_ws/src/ydlidar_ros/startup $ roslaunch ydlidar_ros lidar_view.launch ... logging to /home/pi/.ros/log/6d8af548-435e-11ea-a690-dca63222a998/roslaunch-raspberrypi-4159.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://raspberrypi:46577/
PARAMETERS
NODES / base_link_to_laser4 (tf/static_transform_publisher) rviz (rviz/rviz) ydlidar_node (ydlidar_ros/ydlidar_node)
ROS_MASTER_URI=http://localhost:11311
process[ydlidar_node-1]: started with pid [4174] process[base_link_to_laser4-2]: started with pid [4175] process[rviz-3]: started with pid [4176]
\ \ / / | | | | \ / \ | \
\ V /| | | | | | || | | |/ \ | |) |
| | | || | | | || || / | <
|| |____/||_|__// __| \\
[ INFO] [1580388361.015181825]: [YDLIDAR INFO] Now YDLIDAR ROS SDK VERSION:1.4.4 ....... [YDLIDAR]:SDK Version: 1.4.5 qt5ct: using qt5ct plugin qt5ct: D-Bus global menu: no Error, cannot retrieve Yd Lidar health code: ffffffff [YDLIDAR]:SDK Version: 1.4.5 Error, cannot retrieve Yd Lidar health code: ffffffff get Device Information Error get Device Information Error [CYdLidar::initialize] Error initializing YDLIDAR check status. [ERROR] [1580388375.250625442]: Error initializing YDLIDAR Comms and Status!!! [ INFO] [1580388375.762326742]: [YDLIDAR INFO] Now YDLIDAR is stopping ....... [ydlidar_node-1] process has finished cleanly log file: /home/pi/.ros/log/6d8af548-435e-11ea-a690-dca63222a998/ydlidar_node-1*.log
@higortizatto Hi, did you solve this issue?
Yes, the latest version of the SDK solved the issue.
I get the following error when I run ydlidar_test:
YDLIDAR C++ TEST SDK Version: 1..3.7 LIDAR Version: 1.3.7 fhs_lock: creating lockfile: 3793
fhs_unlock: Removing LockFile check lidar device health error.
Has anyone had the same error?