Joint Spatial-Temporal Calibration for Camera and Global Pose Sensor