integrate motorcontrol