Active vision via extremum seeking for robots in unstructured environments