Daisy/Brownie Robotics Workshop
Seattle, WA
March 7, 2019
Welcome
What will we do today?
Learn about robots and their applications
Explore sensors and learn how robots use them
Develop code to program a robot
Test our code with a real robot
What is a “Robot”?
Robotics Application: Mars Exploration
2004: Spirit and Opportunity rovers
Hint: Check out https://mars.nasa.gov/ for more information
Robotics Application: Mars Exploration
2012: Mars Science Laboratory Curiosity rover
Robotics Application: Mars Exploration
2018: Insight lander
Planetary Scientist: Abigail Fraeman
Curiosity Team Profiles
Programming Turns Machines Into Robots
You Are The Programmers
Challenge: Create a program that moves the rover to the exit of the puzzle...
… using these commands:
Move forward 1 space
Pivot left 90 degrees
Pivot right 90 degrees
Commands and Program: Scratch
Try it yourself: https://scratch.mit.edu/projects/292423691/
Programming Team Challenge
Robot:
Programmer:
Let’s Try This On A Real Robot
Sensors Enable Autonomy
What are sensors?
Sensors Enable Autonomy
Making Decisions Based on Sensors: IF Block
Do these commands if an obstacle is detected ahead
Do these commands if an obstacle is not detected ahead
Making Decisions Based on Sensors: IF Block
An example: taking a shower…
IF water is too hot:
turn hot water down
turn hot water up
Repeating Commands: Loops
Consider a weird puzzle like this - goal is to go around and around:
. . .
We could write a program like this:
∞
But we can instead use a LOOP to repeat the command(s) inside the loop:
An Algorithm For Solving The Puzzle
Work together with your partner to create an algorithm to guide the rover across the puzzle using the movement commands, obstacle sensor, IF block, and LOOP
∞
An Algorithm For Solving The Puzzle
∞
Extra Slides And Additional Videos
How Rovers Drive on Mars
Curiosity Video
Spacecraft Engineer: Farah Alibay
Flight Dynamics Engineer: Carlie Zumwalt
Mechanical Engineer: Abbie Hutty
JPL Systems Engineer: Julie Wertz
Testbed Engineer: Marleen Martinez
Rover Driver: Hallie Gengl
Rover Engineer: Mallory Lefland
Mechanical Engineer: Amanda Steffy
Rover Planner: Erisa Hines
Systems Engineer: Jamie Catchen
Fault Protection Engineer: Mallory Lefland