Mavros only write mavlink message on serial nothing more.
What you want is basic mavlink routing. You want to send a message from a mavlink device to another
Mavros will connect to only one mavlink ID.
So you need :
Mavros ( id=1,cmpnt=255)< - - uart - - > device (1,1) <--uart--> device2 (2,1) <-- uart--> mavros (2,255)
Normally, mavros filter messages by id via ros plugin api. You can easily add more plugin to handle more message or catch messages from /mavlink_from
---
[Visit Topic](
https://discourse.ros.org/t/low-level-encapsulation-of-mavros-messages-using-mavlink/7247/4) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>