Time-optimal sampling-based motion planning for manipulators with acceleration limits