Advances in underwater robotics towards an autonomous future