Added encoder resetting and sensor initialization to command channel.