add the robot init form and designed the ui