template for motion planning chapter