Development of a multi-platform obstacle avoidance system for autonomous underwater vehicles