added reference generator to gripper controller