Pick and Place Robot
Report Copyright Infringement View in OSM UK
Description
group cubs in 3s. One of them will become a human robot and be controlled by another to complete a task set by the third. 'the robot', 'the programmer' and 'the tester'.
they write a programming interface for the robot
tester sets out a pick and place task
programmer calls out commands from the interface with argument
human robot follows them
Resources
paper
pencils
cones
something to put them in
Instructions
In a minute, we’ll split you into groups of 3. Together you’ll write a simple programming interface. One of you will become the human robot, another will set out a challenge for the human robot to complete and a third will call out commands from the human robot interface to get them to complete the task.
A programming interface is just a list of what functions you can perform and what information a programmer needs to give you for you to perform them.
For example, this is the Akela programming interface. My functions are
StepForward(numberOfSteps)
So if the programmer calls “step forward 5”, then I’d take 5 steps forward.
Another is PickUp()
So then I’ll bend down and pick up an object in front of me.
Hathi, can you place this box for me to pick up and bagheera, you can call out commands. I’ll hold the paper close to my eyes so I can’t cheat.
(it doesn’t work because I don’t have a turn function)
Ask cubs why it didn’t work and what function I need to add
Add TurnRight(fraction)
Complete task
Right, now you’ll need to complete a slightly different task, it’s to pick up a cone and place it in this box. So when we split you into 3s, you need to write your functions and their parameters on a piece of paper, choose who will be the robot, who’ll be the programmer and who’ll be the tester.
If you’re the robot, you can only respond to the functions on the paper, if they say anything that’s not in your interface, just reply ‘function not found’. Bagheera can you try that?
And also, if they don’t give you the right type of information with the function, like if they just say “turn right” but don’t tell you how much by, then you must reply “unrecognised argument”
Any questions?
Split into 3s, hand out paper, pencil, cones and target.
Tags
- Digital Maker
- Robot - Challenge Tasks
Badge Links
- Digital Maker - Graphic
- Digital Maker - Instructions
- Digital Maker - Understand