A lesson in programming for the BCAMSC robotics teams