Updated TrnController and PIDC