Choosing good distance metrics and local planners for probabilistic roadmap methods