The development of a mechatronics design course