RoboSense-LiDAR / rslidar_sdk

RoboSense LiDAR SDK for ROS & ROS2
Other
467 stars 221 forks source link

Protobuf Fails #28

Open palomacf15 opened 3 years ago

palomacf15 commented 3 years ago

Hello,

I am writing to you since I am using your driver with one of your sensors (RS32). I am using the Ubuntu 18 operating system with Ros Melodic. I have configured the driver so that my personal computer is the one that sends the information and an instance of Amazon Web Service is the one that consumes this information. They are connected through a VPN, with AWS being the master in the entire operation. The driver configuration has been set as indicated in the document "how_to_use_protobuf_function.md" provided with the sdk.

The problem I find is that no sending or receiving of data is established.

Sender:



** RSLidar_SDK Version: v1.3.0 **



process [rviz-2]: started with pid [15697]


Receive Packets From: Online LiDAR Msop Port: 6699 Difop Port: 7788



Send Packets To: Protobuf-UDP Msop Port: 60022 Difop Port: 60023 Target IP: X.X.X.X


RoboSense-LiDAR-Driver is running .....

Receiver:



** RSLidar_SDK Version: v1.3.0 **




Receive Packets From: Online LiDAR Msop Port: 6699 Difop Port: 7788



Send PointCloud To: ROS PointCloud Topic: / rslidar_points


RoboSense-LiDAR-Driver is running ..... ERRCODE_MSOPTIMEOUT ERRCODE_DIFOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_DIFOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_DIFOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_DIFOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_DIFOPTIMEOUT ERRCODE_MSOPTIMEOUT ERRCODE_MSOPTIMEOUT

I have checked the correct sensor operation using ROS and I have been able to observe the point cloud without any problem.

HaoQChen commented 3 years ago

could you share your config.yaml ?

it seem that, your receiver did not set msg_source to receive message from protobuf

adamanov commented 2 years ago

You might need to change your internet connection settings, and after that you can properly connect to the lidar

image

arwinder-jaspal commented 1 year ago

You might need to change your internet connection settings, and after that you can properly connect to the lidar

image

I have the exact same setting and the lidar is not working

CQ-Quest commented 1 year ago

same problem encounter. If you have confirmed that all the configurations are correct and there is no problem with the lidar itself, try resetting it by turning off and on the power. That's how I solved the problem.

lonlonago commented 1 year ago

port num is error, reset it in config file