Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems running CAM Fixed and Dynamic with the same scenario #333

Open
hpmjunior78 opened this issue Apr 8, 2024 · 5 comments
Open

Problems running CAM Fixed and Dynamic with the same scenario #333

hpmjunior78 opened this issue Apr 8, 2024 · 5 comments

Comments

@hpmjunior78
Copy link

I've built a higway scenario to run the CAService in Fixed and Dynamic CAM generation methods. Weirdly, both runs are giving the same results: same numbers of CAMs sent; same CAMGenerationDeltaTime. Considering speed of cars are high, the number of CAMs should be much higher in dynamic method. Where am I goind wrong? I'm choosing between Fixed and Dynamic only in OMNET QTEnv GUI.

@riebl
Copy link
Owner

riebl commented Apr 13, 2024

Please have a look at the bundled car2car-grid scenario, which has configurations for fixed rate and dynamic CAM generation rules. I suppose the parameters are not set correctly in your simulation configuration; you can check these in the module tree of the GUI at each vehicle's CA service.

@hpmjunior78
Copy link
Author

"which has configurations for fixed rate and dynamic CAM generation rules", do you mean omnetpp.ini? If yes, my file looks like
Captura de tela de 2024-04-16 18-28-59
I've included some configurations in cam_dynamic part, trying to receive different results but cam_dynamic and cam_fixed keep showing the same number of CAMs sent and received.

@riebl
Copy link
Owner

riebl commented Apr 18, 2024

Yes, I have referred to the cam_bsp, cam_dynamic, and cam_fixed configurations.
Have you verified that these settings are also applied to the CA services in your simulation as expected? I suggest looking up the parameter settings in the module tree displayed in the left panel of the QtEnv GUI.

@hpmjunior78
Copy link
Author

Hi Riebl, thanks for your answers. I've checked QtEnv GUI and I understand that the parameters are being applied to all vehicles. Unfortunately, Dynamic and Fixed CAMs keep showing the same result for a highway scenario with speed values varying from 1 to 35 m/s. I'm sending attached some figures with GUI parameters.
Artery-CAService-CAMStatic.pdf
Artery-CAService-CAMDynamic.pdf

@riebl
Copy link
Owner

riebl commented Apr 24, 2024

Okay, your parameters look sane. Unfortunately, it is quite tricky to analyse what is going wrong in your setup remotely. Can you please check if the car2car-grid scenario works as expected? With this scenario I see a different number of generated CAMs for sure. Maybe this helps us to track down your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants