Do not initialise the pid generator until you actually needs it