V2Xgithub / WiLabV2Xsim

V2X simulator
GNU General Public License v3.0
79 stars 32 forks source link

Debug for 802.11p #2

Closed wzf-cn closed 2 years ago

wzf-cn commented 2 years ago

1. Make code could also run with technology is 802.11p or COEX-NO-INTERF

2. replace "DCC Triggered" function to "mainV2X.m'

dcc_minInterval is calculated in "cbrUpdate" functions, but it will be triggered in "mainV2X.m'. Because there is the random part of the "generationInterval", and it will be a different number if we sample it at "cbrUpdate" and "mainV2X" functions.