bluenviron / mavp2p

flexible and efficient Mavlink router
MIT License
134 stars 37 forks source link

Manipulate messages #3

Closed sanderux closed 1 year ago

sanderux commented 2 years ago

In this section i have added an additional topic (MessageVideoStreamInformation) https://github.com/aler9/mavp2p/blob/main/main.go#L144-L153

When i do that, the topic no longer proxies to the other nodes. My goal is to take a message and change some values.

@aler9 Any ideas?

aler9 commented 2 years ago

Hello, all incoming messages are routed to the other nodes, except the ones that can't be decoded. If you added a message definition to the dialect, and incoming messages can't be decoded anymore, it means that the message definition that you added doesn't match incoming message. Make sure that the definition is correct.