def goto_position_target_global_int(aLocation):
 msg = vehicle.message_factory.set_position_target_global_int_encode(0, 0, 0, mavutil.mavlink.MAV_FRAME_GLOBAL_RELATIVE_ALT_INT, 4088, (aLocation.lat * 10000000.0), (aLocation.lon * 10000000.0), aLocation.alt, 0, 0, 0, 0, 0, 0, 0, 0)
 vehicle.send_mavlink(msg)

def goto_position_target_global_int ( aLocation ) : msg = vehicle . message_factory . set_position_target_global_int_encode ( 0 , 0 , 0 , mavutil . mavlink . MAV_FRAME_GLOBAL_RELATIVE_ALT_INT , 4088 , ( aLocation . lat * 10000000.0 ) , ( aLocation . lon * 10000000.0 ) , aLocation . alt , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ) vehicle . send_mavlink ( msg )
send set_position_target_global_int command to request the vehicle fly to a specified locationglobal .