Fundamentals of Mechatronics