generalized the robocob.rc sample