Cross-platform Learning-based Fault Tolerant Surfacing Controller for Underwater Robots