made mec_driver.set_motor() an api call