changed a little bit so that mavlink is also on the other end