RoboMind: Collecting Beacons - May 17, 2012, Cardinal Forest Elementary School

RoboMind website
RoboMind Example scripts
RoboMind Basic instructions: move, paint, grab, see
RoboMind Programming Structures: comment, loops, if-structures, procedures, end
Back to RoboMind Projects

For more programming challenges, see Robo Exercise Set 1

  • RoboMind example scripts/programs

    1. Open RoboMind. Open the map "openAreaBeacons2.map". Zoom out.

    2. This Lab DOES NOT USE Remote Control! Use Edit and Insert

    3. Collect as many beacons as you can. Put the beacons in the white fenced in yard.

      Here is some code to start with:

      	# Use the map "openAreaBeacons2.map"
      
      	forward(2)
      	pickUp
      	backward(2)
      	putDown
      	left
      	forward(3)
      	pickUp
      	backward(3)
      	putDown
      	right
      	right
      	forward(3)
      	pickUp
      	backward(3)
      	putDown
      	right
      	forward(4)
      	pickUp
      

      First beacon

      Second beacon:

      Third beacon:

      Fourth beacon, Notice where the robot is, NOT in the middle - in the middle the robot is stuck by the beacons:

      STUCK, ROBOT CAN'T GET OUT!

      BETTER WAY, the robot is not stuck here:

      Fifth beacon:

      All beacons put away: