Motion planning for carlike robots using a probabilistic learning approach