riebl / artery

OMNeT++ V2X simulation framework for ETSI ITS-G5
GNU General Public License v2.0
203 stars 131 forks source link

Can I set a fixed packet size for CAM messages? #148

Closed aash92 closed 3 years ago

aash92 commented 3 years ago

Hello team, I am new to using Artery. I am trying to analyze the CAM generation behaviour in different traffic environments. Hence I am using Artery for simulating these scenarios. However, in my simulation, I noticed that two different sizes of packets is being transmitted. To make my analysis easy, I would like a fixed packet size. Hence is there a way to fix the message packet size. If so could you let me know in which file do I need to access to do this? I have attached a screenshot to show you the two different packets that are being transmitted.

ArteryCAMPacketSize

Thank you Best regards Aashik

riebl commented 3 years ago

Dear Aaashik,

at the moment, you cannot fix the CAM packet sizes by a configuration option. However, you could set the scLowFrequencyContainerInterval constant in CaService.cc to 100ms. Then, every CAM will have a low frequency container and the observed sizes should become equal.

aash92 commented 3 years ago

Thank you Raphael. I'll try that.