PTP sync not working #124
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, following the instruction of time synchronization I manged to install ptp4l and run the ptp sync with livox Avia. Looking at wireshark we can see that they are exchanging msgs.
The strange thing is that delay response msg is not sent.
Anyway looking at Livox viewer the AVIA has no sync
Test made with Ubuntu 18.04.5 and Livox Avia directly connected with ethernet (no router).
I made other test with Livox MID70 and Jetson Xavier (Jetpack 4.4) and with wireshark i can see all messages (Sync, Follow Delay_Req and also Delay_Resp) but still the lidar is not sync.
Any ideas on how could I solve this problem?
Any news on this? I am experiencing the same issue. I also have a switch inbetween and dhcp mode enabled. I might give it a try with static ip the next days.
Okay I got it to work. However not with linuxptp as described in the wiki.
Instead I used the ptpd project which is apparently is the project that is used by Livox.
Cloning and compiling the project and than running it with
./src/ptpd -i eth0 --foreground -Mworked for me.
However I am still puzzled why the linuxptp is not working. Opening the udp port 319, 320 also did not work for me. I am also not really sure whats the difference between ptpd and linuxptp. Ptpd does also look to me like it does not support hardware timestamping as far as I do not see any options fore software/hardware timestamping.
Hi all, after digging into linuxptp, found this solution
my.cfgas-f my.cfgHi @secret104278 , I also observed that with ptpd, synchronization works. However, even with your proposed config disabling transport specific checking, I am unable to get the LiDAR to synchronize to my host. Which version of ptp4l are you using, and, did you do any other specific configurations not mentioned here?