Added encoder support for Dagu4Motor Controller