Online motion-plan modification in dynamic environments : collision-free range of motion approach