created new function for serial robots, erased more old osc code