StartSimulationEngine "SimState/basicenv2.xml" UpdateCameraView /EyePosition:1 1.0 2 /LookAtPoint:0 0 0 AddCoroBot corobot1 /Orientation:0 180 0 AddSonarEntity sonar1 /Position:0 0.25 -0.1 /ParentEntity:corobot1 FlushScript while (true) { corobot1.Drive(0.2, 0.2, 0.2, 0.2) wait 2000 corobot1.Stop() corobot1.Drive(-0.3, 0.3, -0.3, 0.3) wait 1000 }