Kinematic analysis and experimentation of a cam mechanism