Adjusting an autonomous underwater vehicle at sunrise