Open arizk2605 opened 3 years ago
did you install ROS1? which version
you can just run the node with ./rslidar_sdk_node
in your path
you can set send_point_cloud_ros: true
, the node will publish a ros topic of pointcloud
I'm currently using ROS melodic in a raspberry pi 4. I tried that too but didn't work..
Here are the errors i get when i use "./rslidar_sdk_node" :
./rslidar_sdk_node.cpp: line 1: /bin: Is a directory
./rslidar_sdk_node.cpp: line 2: syntax error near unexpected token c' ./rslidar_sdk_node.cpp: line 2:
Copyright (c) 2020 RoboSense'
umm, You don't seem to have compiled the code into an executable program
did you find an executable file with name rslidar_sdk_node?
if you want to use catkin tool to compile, you need to follow section 4.2 in README
I followed every step described in the readme, as i said, but it didn't work infortunately. How did you manage to display what is shown in the screenshot ?
ls
command
You have better try that in your pc if you are not familiar with ubuntu or ROS. raspberry pi need some additional step to compile ROS or PCL as I knowed
ls -l
with -l
option will show long list info
Hi again, I'm currently running it in Ubuntu, i followed every step of the readme file but when launching it keeps sending the message message : ERRCODE_MSOPTIMEOUT ERRCODE_DIFOPTIMEOUT
I checked the datasheet and i'm pretty sure the config is right...DO you have any clue about the source of the problem ?
Here is my config.yaml :
Here are the error messages I get :
Also, i used wireshark to find the correct MSOP DIFOP parameters and display the messages but i only get this :
umm, your lidar is not connect to computer? From your wireshark, not thing captured
Connect lidar to your computer and set your NIC to the same LAN as the lidar
then your wireshark will capture many UDP from lidar, that is what we call MSOP or DIFOP
I connected the lidar to the pc using the RG45 cable. What's the NIC and how can I proceed to set it to the LAN ?
NIC is net interface card,
You just connect to computer on physical layer
not Network Layer, computer cannot communicate with lidar
Ok I see, Do you know how i could do that in ubuntu ?
Hi again, I managed to catch some UDP-type of data but i can't seem to find the right ports (MSOP and DIFOP). Do you have any clue on how to use what i found ?
Please contact armin.mu@robosense.cn
I am having the same error but using wireshark I am able to see there are data being sent via UDP to the correct msop port. But when I view it through RViz no data is shown, rostopic echo returns nothing as well.
@arwinder-jaspal Have you found a solution on the topic? If so, can you update the issue?
Hi everyone, I cloned the driver's git in the catkin workspace of my raspberry pi 4. I followed the instructions in the readme file but couldn't launch the start_launch.launch file. I keep on getting this error :
ERROR: cannot launch node of type [rslidar_sdk/rslidar_sdk_node]: Cannot locate node of type [rslidar_sdk_node] in package [rslidar_sdk]. Make sure file exists in package path and permission is set to executable (chmod +x)
Even though I run "chmod +x" on the node itself and I successfully compiled the package. Do you have any clue what might be causing this problem ?
Also, i'm working on an acquisition unit and i'd like to save the raw data of lidar into rosbag automatically using the driver. If you have any quick ideas to do that it'll be helpful too !