getSenderPos()" to get the sender's position, but I don't kn" /> getSenderPos()" to get the sender's position, but I don't kn" /> getSenderPos()" to get the sender's position, but I don't kn"/>

How to get the Vtype of the vehicle that sent the message?

43 Views Asked by At

I want to get the vtype of the vehicle that I am messaging with veins. I could find "bsm->getSenderPos()" to get the sender's position, but I don't know how to get the Vtype.

I would appreciate it if someone could help me. Thank you very much.

If I were to create it myself, would I have to create a function like "SendVtype" in the "DemoSafetyMessage.msg" file and get the "traciVehicle->getTypeId()"?

0

There are 0 best solutions below