ManiAm / VENTOS_Public

VEhicular NeTwork Open Simulator (VENTOS)
http://maniam.github.io/VENTOS/
GNU General Public License v3.0
57 stars 25 forks source link

how can i Change vehicle's RadiosState in each time? #16

Open paullee714 opened 6 years ago

paullee714 commented 6 years ago

i want set vehicle communication in specific time.

for example, there is vehicle v1~v5 and simulating during 100s.

v1,v2,3 communicate in first 50s. and that time, v4,v5 just Sleep or do not communication. and Next 50s, v1,v2,3 change their status into Sleep or do not Communication, and v4,v5 start communicate .

in PhyLayer80211p.ned file, there is int initialRadioState. how can i set this manually?

thanks for your help.