added Motor sending commands from state_machine