SICKAG / sick_scan_xd

A versatile driver for a wide range of SICK LiDAR and RADAR devices, providing support for both Linux (native, ROS 1, ROS 2) and Windows (native, ROS 2) platforms.
Apache License 2.0
107 stars 87 forks source link

Raspberry Pi 4 connection question #121

Closed hyng809 closed 2 years ago

hyng809 commented 2 years ago

hello This time I used the SICK TIM561-2050101 model. ROS navigation is in progress. I have a problem right now and I have a question.

I am trying to connect and use the SICK model to the Raspberry Pi 4, but the SICK model is not recognized by the Raspberry Pi. I connected the Ethernet cable from SICK to the Raspberry Pi. The LAN port is lit, but not checked. I would appreciate it if you could tell me how to solve it.

Current Specifications

image The LAN port is connected, but the SICK model cannot be found.

rostest commented 2 years ago

Thanks for your feedback. Raspberry and ARM cpus are currently not officially supported by sick_scan_xd (ARM support is planned for next year). In general we recommend to setup a local static IPv4 network with Raspberry and lidar with the same subnet mask. If the lidar has ip-address 192.168.0.1 (the default), then your eth0-network should have ip-address 192.168.0.x and subnet mask 255.255.255.0.

Network settings can be configured either by GUI (editing network connections depend on the OS) or by commandline, eg. ip addr add 192.168.0.100/24 dev eth0. After that, ip a should display eth0 with state UP and ifconfig -a should print inet 192.168.0.x netmask 255.255.255.0. Ping the lidar to check the ethernet connection, e.g. by ping 192.168.0.1. If the lidar responds to ping, the device should be accessible by sick_scan_xd. Otherwise please check the firewall settings or disable a firewall.