I was wondering how can I start writing a program able to send message when a vehicle is close to the RSU. First, I still get confused by some definitions, but, little by little
Additionally, If you need a dynamic way to get the RSU coordinates. Mainly if you have a scenario with more than one RSU, you can use "findSubModule":
BaseMobility *baseMob;
baseMob = FindModule::findSubModule(getParentModule());
Coord rsuCoord = baseMob->getCurrentPosition();
Hope this can help someone.
Cheers.