mavlink / MAVSDK-Java

MAVSDK client for Java.
68 stars 40 forks source link

mavsdk server acts as bridge to flight controller? #89

Open zeev-mindali opened 2 years ago

zeev-mindali commented 2 years ago

Dear all,

does mavsdk server acts as bridge? is it limited only for mavsdk or it can act as mavproxy or mavrouter, sending a command packet to it?

for deeper understanding, I sending commands to mavproxy which in return send the command to FC. my question if mavsdk_server acts the same way?

julianoes commented 2 years ago

mavsdk_server does not forward messages. However, if you use the mavsdk library you can add multiple connections and set them to be forwarding, see forwarding option here: https://mavsdk.mavlink.io/main/en/cpp/api_reference/classmavsdk_1_1_mavsdk.html#classmavsdk_1_1_mavsdk_1a405041a5043c610c86540de090626d97

Now you can also use mavlink-router to generally forward mavlink traffic between various components: https://github.com/mavlink-router/mavlink-router