First of all thank u for trying to help ^_^
My goal is to change the app on the application layer with my own module I've succeed on changing it by extending the WirelessHost like this :
module node extends WirelessHost{
submodules :
MyApp: ROSForwarderApplication {
@display("i=misc/node_vs;p=496.12802,63.104");
}
connections allowunconnected:
MyApp.lower802154LayerOut -->
at.in++;
MyApp.lower802154LayerIn <-- at.out++;
}
now I can successfully see the UGV submodule on the application layer connected to the transport layer, I'm having problems now on sending the packet from MyApp to UDP, I have a string in ROSForwarderApplication.cpp and I don't know how to send it to the udp any help will be appreciated.