Optimal trajectory generation for draped AUV gravity surveys