riebl / artery

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

DENM - New usecase #288

Closed Ambica2022 closed 1 year ago

Ambica2022 commented 1 year ago

Hi,

When trying to add a new usecase for DENM service, following error occured.

std::runtime_error: Can't determine size for unaligned PER encoding of type DENM because of Latitude sub-type -- in module (artery::VehicleMiddleware) World.node[0].middleware (id=23), at t=1.159284461639s, event #5

What could be the reason behind this?

Regards, Ambica

fysch commented 1 year ago

Hi, take a look at #200. You need to make sure that your Latitude-value is within bounds, and maybe you need to add projParameter to the <location>-Tag in your scenario.

Ambica2022 commented 1 year ago

Hi,

Thank you. It is working.

Regards, Ambica