Visual Inertial SLAM: Application to Unmanned Aerial Vehicles