Autonomous mobility for an electronic wheelchair