tlab-wide / AutowareV2X

AutowareV2X is an open-source module that can be added onto the newest Autoware.universe to enable V2X communication.
https://tlab-wide.github.io/AutowareV2X/main/
19 stars 5 forks source link

CPMの遅延がマイナスになる問題 #33

Closed yuasabe closed 1 year ago

yuasabe commented 1 year ago

問題

image

image

Solution

  1. nuc1がntpdate -b ntp.nict.jpでNTPステップ時刻同期
  2. nuc1がローカルでNTPサーバを開始 systemctl restart ntp
  3. nuc3はWi-Fi Adhoc Network経由でnuc1とNTP時刻同期 system restart ntp, server 10.0.0.2 iburst prefer
  4. Gigabyte, Gtune2はsystemctl restart ntp, server 192.168.10.2 iburst preferでそれぞれnuc3, nuc1と有線でNTP時刻同期
    • →実験開始前に時刻同期が取れるまで十分時間を確保する.
    • ntpq -pnで「*」となり、delay, jitterが小さくなっていることを確認.

懸念点

Other things I tried (1)

Other things I tried (2)

  1. nuc1がntpdate -b ntp.nict.jpでNTPステップ時刻同期
  2. nuc1がローカルでNTPサーバを開始 systemctl restart ntp
  3. nuc3はWi-Fi Adhoc Network経由でnuc1とNTPステップ時刻同期 ntpdate -b 10.0.0.2
  4. Gigabyte, Gtune2はsystemctl restart ntp, server 192.168.10.2 iburst preferでそれぞれnuc3, nuc1と有線でNTP時刻同期
    • →これでもnuc1とnuc3は最初の1回しか同期せず継続的に同期しないため、30分で数ミリ秒程度のドリフトが生じ始める.
yuasabe commented 1 year ago

More accurate time synchronization was necessary here. Closing issue.