Sample Command Robot code generated from windriver with minor changes