added mavlink modification to the mavlink app to logging data