I have been working on a position-based protocol using veins-inet
and I want to get the position of the destination node.
In my code, I got the IP Address of the destination from the datagram.
const L3Address& destAddr = datagram->getDestinationAddress();
and I want to get the current position of this node. I already checked the following question
How to get RSU coordinate from TraCIDem11p.cc? But it seems that it refers to the node by using the node ID. Is there a way to get the position of the node by referring to its IP Address?
I am using instant veins-4.7.1