GithubHelp home page GithubHelp logo

Comments (17)

HaoQChen avatar HaoQChen commented on July 27, 2024

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

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

I'm currently using ROS melodic in a raspberry pi 4.
I tried that too but didn't work..

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

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'

from rslidar_sdk.

HaoQChen avatar HaoQChen commented on July 27, 2024

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?

image

if you want to use catkin tool to compile, you need to follow section 4.2 in README

image

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

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 ?

from rslidar_sdk.

HaoQChen avatar HaoQChen commented on July 27, 2024

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

from rslidar_sdk.

HaoQChen avatar HaoQChen commented on July 27, 2024

ls -l with -l option will show long list info

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

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 ?

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

Here is my config.yaml :

image

Here are the error messages I get :

image

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

Also, i used wireshark to find the correct MSOP DIFOP parameters and display the messages but i only get this :
image

from rslidar_sdk.

HaoQChen avatar HaoQChen commented on July 27, 2024

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

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

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 ?

from rslidar_sdk.

HaoQChen avatar HaoQChen commented on July 27, 2024

NIC is net interface card,

You just connect to computer on physical layer

not Network Layer, computer cannot communicate with lidar

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

Ok I see,
Do you know how i could do that in ubuntu ?

from rslidar_sdk.

arizk2605 avatar arizk2605 commented on July 27, 2024

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 ?
image

image

from rslidar_sdk.

HaoQChen avatar HaoQChen commented on July 27, 2024

Please contact [email protected]

from rslidar_sdk.

arwinder-jaspal avatar arwinder-jaspal commented on July 27, 2024

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.

image
image
image

from rslidar_sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.