Switch from pi to p or to pd-controller