built mavlink and added arm code directly in initialization