A methodology for implementing the curvature theory approach to path tracking with planar robots