Uploaded by Pablo Madero

Robotics 7th

advertisement
Robotics 7th – Activity 2
Name:
Score:
Carlos Colina
Class:
Date:
Project: NASA is in the market for a new planetary rover to explore the recently discover
planet Husky-3. You are required to construct and test a robot that is capable of following
a set of commands to explore the planet's surface. Before the robot is deployed, it must
be extensively tested to ensure it will perform as expected. You can't fly a technician to
Husky-3 to reboot the robot!
Before we send our robot into space, we must first test it thoroughly here on earth. Run
the following experiments and observe how your robot behaves. Do not move to the next
experiment until your teacher has seen your current experiment.
Vocabulary
Pseudocode:
Flowchart:
is a detailed yet readable description of what a
computer program or algorithm must do
A flowchart is a visual representation of the sequence of
steps and decisions needed to perform a process
I. Ultrasonic Challenge
1. Make your robot move until it is 20 cm away from the wall.
Explain the code you used to program tour robot, with pseudocode and a flowchart.
by turn on the motors on 50 speed, till it was 20 cm from the wall then we turn it off
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
2. Make your robot move until it is 10 cm away from the wall.
Explain the code you used to program tour robot, with pseudocode and a flowchart.
by
turn on the motors on 50 speed, till it was 10 cm from the wall then we turn it off
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
3. Drive Forward for 3 rotations, turn left and move your robot until it is 3 cm
away from the wall.
Explain the code you used to program tour robot, with pseudocode and a flowchart.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
4. Make your robot move until it is 20 cm away from the wall.
Explain the code you used to program tour robot, with pseudocode and a flowchart.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
II. Ultrasonic Challenge - Use the force to control your robot!
5. If the robot is closer than 20cm away from your hand move backward,
otherwise move forward.
Explain the code you used to program tour robot, with pseudocode and a flowchart.
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
Download