Autonomous navigation and collision avoidance systems for machines