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

Obtain Lidar Serial Number #83

Open
ryank-cobot opened this issue Oct 3, 2023 · 1 comment
Open

Obtain Lidar Serial Number #83

ryank-cobot opened this issue Oct 3, 2023 · 1 comment

Comments

@ryank-cobot
Copy link

Hello,

We are looking for a way to obtain the Serial Number of the lidar programmatically through the ROS driver. Is this capability possible? Thanks so much for your help in advance.

Best,
Ryan

@yangfanFred
Copy link
Contributor

Hi Ryan,

Serial Number can be obtained by sending lidar units TCP commands.
ROS driver doesn't provide a function to directly obtain the SN, but it provides functions to send and receive TCP commands.
Please refer codes in "tcp_command_client.c" for General_ROS project, please refer the codes in "ptc_client.cc" for ROS2.0 project.
For details of the available TCP commands, please refer the TCP API manual for the lidar model you are using.

Thanks,
Fred

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

2 participants