Shop OBEX P1 Docs P2 Docs Learn Events
Printing and solving Neil’s Rosenberg maze for the S2 robot. — Parallax Forums

Printing and solving Neil’s Rosenberg maze for the S2 robot.

NikosGNikosG Posts: 705
edited 2014-11-30 17:02 in Robotics
Printing and solving Neil’s Rosenberg maze for the S2 robot.

Neil Rosenberg , in his work “Robots for Beginners” on Project 4:A”maze”ing Turns” gives as activity a maze, that students must solve using their S2 robots.
So I decided to create and solve that maze. In this post I’ll give you the instruction in order to print the maze using a simple A3-printer, as well as the solution (S2 GUI code).
Creating the maze:
You’ll need
1) The file “S2_maze_printable.jpg”.
2) An A3-printer (personally I used an hp deskjet 9300)
3) 30 X A3 sheets of white paper
4) transparent sticker
5) scissors
Download the file “S2_maze_printable.jpg”. (you can find it at the end of this post.
Open the file with windows Paint, and in the print setup menu choose:
Paper size : A3
Page margins : 0 ,0,0,0
Scale: setting in: 999%
Adjustment: 6 per 5 pages

attachment.php?attachmentid=112035&d=1416785553

Then print the file. You will get the maze as a puzzle of 30 sheets of paper as the image above.

As you can see in the picture above 8 pages are completely blank (blank= 1,2,12, 18,19,24 ,25 and 30)
Stick the pages together using transparent sticker and you‘ll have the maze (2.5m x 1.67m).
Here is my attempt to put together the papers

attachment.php?attachmentid=112032&d=1416785325

You can check the distances in the next image:

attachment.php?attachmentid=112036&d=1416785590

For a perfect result cover the whole maze with the transparent sticker.

attachment.php?attachmentid=112033&d=1416785381

I allso added 4 parking places for my S2s. In the next post I'll send the code and a video....
800 x 600 - 169K
800 x 600 - 122K
855 x 501 - 31K
525 x 533 - 56K
946 x 541 - 57K

Comments

  • NikosGNikosG Posts: 705
    edited 2014-11-23 17:20
    Here is the parameters for s2 GUI commands in order to solve the maze:

    attachment.php?attachmentid=112037&d=1416791651

    and here is a video with 4 S2s solving the maze one after the other.....
    Every robot parks in a particular place after the task.

    [video=youtube_share;_wfiXNhFPaM]

    You can find the code for one robot, at the end of this post
  • WhitWhit Posts: 4,191
    edited 2014-11-24 06:15
    Nikos - thanks so much - great work as usual and documented so well!

    Can't wait to play with this!

    I love the S2 - it is a marvelous teaching tool and so much fun! What makes it so good is that it is ready to go from the box, non intimidating, programmable with the GUI and has so much more potential with Spin, hacks and additions!

    Thanks for contributing so much to your fellow educators!

    P.S. - I love the Greek printer set-up dialogue window! It reminds me of my New Testament Greek classes! :-)
  • NikosGNikosG Posts: 705
    edited 2014-11-26 10:23
    Whit,

    This is actually a very good activity for students!

    First you give them the printed A3 and tell them to assemble the ring.

    Then you can give them this empty worksheet

    attachment.php?attachmentid=112056&d=1417025517

    and you ask them to find and complete the time.

    And last you ask them to program the S2.

    I created a page in my school's Web with this Educational material.

    The full activity is like a test for the students in this link (is in Greek Language)

    In order to help teachers and students to do this activity, I also send an Excel file neil_maze_analysis_net.zip) that calculates the time.
    The only you have to do is to write the distances in the appropriate colum (blue color) and you 'II have the time automatically.


    P.s. Other sourses for this activity in Greek language: 1) on my bloog 2) On Panhelenic Greek school network
  • Martin_HMartin_H Posts: 4,051
    edited 2014-11-28 06:44
    I was looking at the maze and noticed that the right hand rule leads to the exit. Is that allowed, or is odometry the expected solution?
  • NikosGNikosG Posts: 705
    edited 2014-11-30 15:18
    Martin_H wrote: »
    I was looking at the maze and noticed that the right hand rule leads to the exit. Is that allowed, or is odometry the expected solution?
    No this maze needs only odometry. But on my next activities I'll have a wall maze for the S2 that possibly can be solved with the right hand rule.......
  • ercoerco Posts: 20,255
    edited 2014-11-30 17:02
    +1 to Whit's comments and praise. You are tireless and do wonderful work, Nikos! Thanks for sharing this project, an amazing testament to the S2's repeatability.
Sign In or Register to comment.