Click here to load reader
Upload
zeeshanahmed9382
View
341
Download
2
Embed Size (px)
Citation preview
Programming
Process of developing and implementing various sets of instructions to enable a computer to do a certain task.
Robot Programming
Robot programming is the defining of desired motions so that the robot may perform them without human intervention.
High level languages are used for programming.
In 1770 Swiss clock
maker Pierre Jaquet
Droz start making
automaton for
European royalty.
First inventor of a
programmable
humanoid robot with
a unique function.
6000 parts.
Stacks on the wheel
are used for
programming.
Letters can be
removed and
reordered.
Completely runs on
kinetic energy.
. Pierre Jaquet Droz
was 50 years old.
240 years old robot.
Build in Switzerland.
He work on his own.
Distant ancestor of the
Modern
Programmable
Computer.
Behaviors describe the actions and
decisions of your robot
Basic behaviors Simple individual bite size action that
your robot can perform.
For example: turn motor A ON
• Built of several basic behaviors
• Let you describe a full action of the robot
Simple Behavior
Go forward until you
hit a wall and then
turn
Turn motor A
on forwards
Get touch
sensor reading
from Port 1
Turn off motors
A & C
Turn motor A
on backwards
Turn motor C
on forwards
Turn motor C
on forwards
Compare
sensor reading
to constant 0
• Describe the full scope of what the robot can do
• Always composed of smaller behaviors, so you can break them down
Complex Behavior
Navigate a wall
Drive
forward
Turn
right
Stop when
you hit a
wall
Drive forward Drive forwardStop when
you hit a
wall
Stop when
you hit a
wall
Turn
right
Turn
left
Yes
No
End
Yes
No
End
Go when touch sensor is pushed
Filling a tire
• Describe what sensors and motors do.
• Describes the behaviors.
What behavior does this pseudo-code
describe?
Back up when you hit a wall and turn right
1. Move forward until the touch sensor is pressed
2. Stop all motors
3. Reverse for 1 second
4. Stop all motors
5. Turn right
After implementing
the pseudo-code
the robots hardware
makes desired
motions.
Thank you very much for watching
Presented by
Zeeshan Ahmed and Ejaz Ahmed