How can I correct the LOCAL_POSITION_NED from an external vision system

Take a look here: Injecting fake GPS into APM (from Motion Capture System)