first version of ros code gen with state machines