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

stationID field for CPM is showing an incrementing value #15

Open yuasabe opened 1 year ago

yuasabe commented 1 year ago

stationID field for CPM is showing an incrementing value.

This was because the stationID field was being used as an arbitrary field to create unique IDs when measuring packet latency.

パケットロスなどが発生する環境で簡単に遅延を計測する方法があるだろうか. ItsPduHeaderのStationIDにINTEGER(0..4294967295)の値を入れられるので、ここにCPMの通し番号cpm_num_を入れる. これを元にtimestampを比較する.