Perception and Navigation in Autonomous Systems in the Era of Learning: A Survey