Proposing an iterative active-inactive obstacle approach for time-optimal collision avoidance in robotics and autonomous systems.