A general framework for PRM motion planning