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

Why do these problems occur?(Multiscan136) #436

Closed
goodmgk opened this issue Dec 19, 2024 · 4 comments
Closed

Why do these problems occur?(Multiscan136) #436

goodmgk opened this issue Dec 19, 2024 · 4 comments

Comments

@goodmgk
Copy link

goodmgk commented Dec 19, 2024

화면 캡처 2024-12-19 153853
화면 캡처 2024-12-19 153909
화면 캡처 2024-12-19 153257

I tried my best to follow the manual but couldn't solve it.

@rostest
Copy link
Collaborator

rostest commented Dec 19, 2024

Thanks for your feedback. Parameter udp_receiver_ip must be set to the IP address of your PC to receive scan data from a multiScan lidar.

multiScan and picoScan lidars communicate via TCP, but send their scan data via UDP to the receiving PC (i.e. the sick_scan_xd driver). Therefore two IP addresses must be configured:

  • hostname:=<ip address of the multiScan lidar>
  • udp_receiver_ip:=<ip address of the PC running sick_scan_xd>

Specify both ip addresses in the launch file sick_multiscan.launch or by command line arguments hostname:=<ip address of the multiScan lidar> udp_receiver_ip:=<ip address of the PC running sick_scan_xd>, e.g. hostname:=192.168.0.1 udp_receiver_ip:=192.168.0.100

Make sure that the multiScan and the PC have ip addresses in the same subnet. See picoScan and multiScan configuration for examples.

To find out the IP address of your PC, run ifconfig -a on Linux or ipconfig /all on Windows. Alternatively, run SOPAS Air, i.e. open the lidars ip address in a browser (192.168.0.1 by default), switch to "authorized client" and select the network configuration and ip settings.

@goodmgk
Copy link
Author

goodmgk commented Dec 20, 2024

First of all, thank you for your reply, I think I tried everything you suggested.
I will share the data I set up, so if there is anything wrong, please reply.

I am currently testing on Linux Ubuntu using wsl2 on Windows. Please note.

(1) Multiscan setting
멀티스캔 정보
멀티스캔 IP
멀티스캔 설정

(2) PC setting
pc_ip설정

(3) Linux ifconfig
리눅스ifconfig

(4) launch file : sick_multiscan.launch
런처파일

(5) execution
실행

(6) error occurred
에러

@rostest
Copy link
Collaborator

rostest commented Dec 20, 2024

Thanks for your reply and screenshots. I assume that 192.168.0.100 is the IP address of your Windows PC, but the Linux subsystem (WSL) running sick_scan_xd has the IP address 172.22.216.6. To receive scan data via UDP, the Linux subsystem should have a static IP address in the same subnet, i.e. 192.168.0.x. Please assign a static IP address 192.168.0.x to your Linux subsystem. See for example Assigning Static IP Addresses in WSL2 and Make IP address of WSL2 static for more information.

Then start a browser such as firefox in the Linux subsystem (WSL), open 192.168.0.1 (the multiScan IP address) in that browser and use SOPAS Air to configure the network settings. If you can see the point cloud in SOPAS Air within your Linux subsystem, use these settings resp. IP addresses with sick_scan_xd.

@rostest
Copy link
Collaborator

rostest commented Jan 7, 2025

Closed due to inactivity.

@rostest rostest closed this as completed Jan 7, 2025
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