We try to connect lidar to px2, and run sample code ./lidar_replay on driveworks-0.6.
There are two Ethernet cables one for connecting Internet(cable1), another is for lidar(cable2).
At the beginning we insert cable2 on px2 and power on px2 and lidar, and we can’t execute ./lidar_replay.
We insert cable1 on px2 and power on .When we confirm that cable1 is working, change to cable2.
We run ./lidar_replay successfully.
Always need to confirm cable1 working fine first. We have checked it many time.
We use the following command to confirm that the Ethernet is working properly.
$ sudo tcpdump -i eh0
Command for sample code:
$ sudo ./sample_lidar_replay --protocol=lidar.socket --params=device=VELO_VLP16,ip=10.0.15.210,port=2368,scan-frequency=12,protocol=udp