SlideShare a Scribd company logo
1 of 20
Download to read offline
Droid Geometry
@SteveBattle
University of the West of England
Maintenance drones are eco-friendly
Flower Power
• How can we make
a robot arm
water a flower.
• This is the 1981 

Armdroid 1.
An isoceles
triangle has two
equal sides.
Triangles
Circles and Angles
A full 360˚ turn
returns the 

angle to 0˚
A 45˚ angle 

goes anti-
clockwise
0˚ is at 3 o’clock
Angles increase as
you go anti-clockwise
Turtles all 

the way down
• We can simulate this in Python.
• IDLE is a Python program editor.
Same
measurements as
the Armdroid
turtle functions
forward(length) backward(length)
left(angle) right(angle)
penup() pendown()
done()
speed(s) e.g. ‘slow’, ‘fast’, ‘fastest’
shape(name) e.g. ‘turtle’, ‘classic’
goto(x,y) x,y coordinates
Robot Simulator
try changing
the angles
Function call with
arguments
Function definition
and parameters
• File > New File
• File > Save
• Run > Run Module
variable
Robot Kinematics: 

How far does it reach?
• Break the
problem
down into
triangles.
• We know
the arm
lengths.
A right-angled
triangle
origin x=0, y=0
Triangle width & height
width of
triangle base
(cosine)
height of
triangle
(sine)
Analogue vs Digital
• To work out the reach of the upper arm
read out the width (cosine), w, in the
plot for the angle (eg. a=45˚).
Python does this with
the cos function.
Uses degrees radians.
Adding the forearm
The angles a are
the same
The widths w are
the same.
a a
w w
The triangle base
is 2*w
Give it some elbow
a
a
The turtle must
turn through the
exterior angle
-2*a
a
This is an
interior angle.
-2*a is negative
because the elbow
bends in the opposite
way to the shoulder
Test the results
Check the results
by placing a dot
at the predicted
position.
Parallelograms
• The Armdroid has pulleys so that the
forearm maintains its angle.
Inverse Kinematics
a
-a
• If we know where the flower is, how do
we work out the angle a?
260mm
Analogue computer
To reverse the cosine, find a
point where the measurement
is half the target.
cosine
Then read out the degrees.
Going Digital
Use the inverse
(arc) cosine to
calculate a
The flower is 260mm away
Place a dot at the target
Convert back from radians to degrees
Maintenance Drones are eco-friendly.

More Related Content

What's hot (9)

Aqa force and motion
Aqa force and motionAqa force and motion
Aqa force and motion
 
Force and work notes 2
Force and work notes 2Force and work notes 2
Force and work notes 2
 
How To Use A Clinometer
How To Use A ClinometerHow To Use A Clinometer
How To Use A Clinometer
 
Putter King Education - Math (Level 2)
Putter King Education - Math (Level 2)Putter King Education - Math (Level 2)
Putter King Education - Math (Level 2)
 
11 X1 T01 09 Completing The Square (2010)
11 X1 T01 09 Completing The Square (2010)11 X1 T01 09 Completing The Square (2010)
11 X1 T01 09 Completing The Square (2010)
 
Case study and design activity 2
Case study and design activity 2Case study and design activity 2
Case study and design activity 2
 
Special Right Triangles NSpire Explore
Special Right Triangles NSpire ExploreSpecial Right Triangles NSpire Explore
Special Right Triangles NSpire Explore
 
Rotation
RotationRotation
Rotation
 
Powerpoint
PowerpointPowerpoint
Powerpoint
 

Similar to Droid Geometry

Math12 lesson201[1]
Math12 lesson201[1]Math12 lesson201[1]
Math12 lesson201[1]
KathManarang
 
Chapters 13 – 14 trig
Chapters 13 – 14 trigChapters 13 – 14 trig
Chapters 13 – 14 trig
hisema01
 
Standard-Position-of-an-Angle-FULL.ppt
Standard-Position-of-an-Angle-FULL.pptStandard-Position-of-an-Angle-FULL.ppt
Standard-Position-of-an-Angle-FULL.ppt
Ervin Danca
 
Geom11 Whirwind Tour
Geom11 Whirwind TourGeom11 Whirwind Tour
Geom11 Whirwind Tour
herbison
 
Polygons By.leinard
Polygons By.leinardPolygons By.leinard
Polygons By.leinard
leinard10
 
Rotational motion pt2
Rotational motion pt2Rotational motion pt2
Rotational motion pt2
stephm32
 
t1 angles and trigonometric functions
t1 angles and trigonometric functionst1 angles and trigonometric functions
t1 angles and trigonometric functions
math260
 

Similar to Droid Geometry (20)

Module i circular functions
Module i   circular functionsModule i   circular functions
Module i circular functions
 
Obj. 45 Circles and Polygons
Obj. 45 Circles and PolygonsObj. 45 Circles and Polygons
Obj. 45 Circles and Polygons
 
Math12 lesson201[1]
Math12 lesson201[1]Math12 lesson201[1]
Math12 lesson201[1]
 
Geometry slides Year 9 NZ
Geometry slides Year 9 NZGeometry slides Year 9 NZ
Geometry slides Year 9 NZ
 
Chapters 13 – 14 trig
Chapters 13 – 14 trigChapters 13 – 14 trig
Chapters 13 – 14 trig
 
Coordinate geometry fundamentals 2012
Coordinate geometry fundamentals 2012Coordinate geometry fundamentals 2012
Coordinate geometry fundamentals 2012
 
Chap5 sec5.1
Chap5 sec5.1Chap5 sec5.1
Chap5 sec5.1
 
Standard-Position-of-an-Angle-FULL.ppt
Standard-Position-of-an-Angle-FULL.pptStandard-Position-of-an-Angle-FULL.ppt
Standard-Position-of-an-Angle-FULL.ppt
 
Geom11 Whirwind Tour
Geom11 Whirwind TourGeom11 Whirwind Tour
Geom11 Whirwind Tour
 
Polygons By.leinard
Polygons By.leinardPolygons By.leinard
Polygons By.leinard
 
Polygons
PolygonsPolygons
Polygons
 
Theodolite surveying
Theodolite surveyingTheodolite surveying
Theodolite surveying
 
maths TRIGONOMETRIC FUNCTIONS
maths TRIGONOMETRIC FUNCTIONSmaths TRIGONOMETRIC FUNCTIONS
maths TRIGONOMETRIC FUNCTIONS
 
Velocidad angular, lineal
Velocidad angular, linealVelocidad angular, lineal
Velocidad angular, lineal
 
Hprec8 2
Hprec8 2Hprec8 2
Hprec8 2
 
Rotational motion pt2
Rotational motion pt2Rotational motion pt2
Rotational motion pt2
 
angle ppt.pptx
angle ppt.pptxangle ppt.pptx
angle ppt.pptx
 
Unit 5 Notes
Unit 5 NotesUnit 5 Notes
Unit 5 Notes
 
t1 angles and trigonometric functions
t1 angles and trigonometric functionst1 angles and trigonometric functions
t1 angles and trigonometric functions
 
Trigonometry by mstfdemirdag
Trigonometry by mstfdemirdagTrigonometry by mstfdemirdag
Trigonometry by mstfdemirdag
 

More from Steven Battle

More from Steven Battle (16)

Digital Storytelling with Twine
Digital Storytelling with TwineDigital Storytelling with Twine
Digital Storytelling with Twine
 
Coding Chinese Dragons
Coding Chinese DragonsCoding Chinese Dragons
Coding Chinese Dragons
 
Coding with Counting Songs: “Ten Green Bottles” in Python
Coding with Counting Songs: “Ten Green Bottles”  in PythonCoding with Counting Songs: “Ten Green Bottles”  in Python
Coding with Counting Songs: “Ten Green Bottles” in Python
 
Squishy logic
Squishy logicSquishy logic
Squishy logic
 
Ashby's Mobile homeostat
Ashby's Mobile homeostatAshby's Mobile homeostat
Ashby's Mobile homeostat
 
Turtle Geometry the Python Way
Turtle Geometry the Python WayTurtle Geometry the Python Way
Turtle Geometry the Python Way
 
Quick & Dirty Model-Driven Architecture Evaluation
Quick & Dirty Model-Driven Architecture EvaluationQuick & Dirty Model-Driven Architecture Evaluation
Quick & Dirty Model-Driven Architecture Evaluation
 
Autaptic Circuits for Neural Vehicles
Autaptic Circuits for Neural VehiclesAutaptic Circuits for Neural Vehicles
Autaptic Circuits for Neural Vehicles
 
The Animated Android: Graphical Animation in Processing 2
The Animated Android: Graphical Animation in Processing 2The Animated Android: Graphical Animation in Processing 2
The Animated Android: Graphical Animation in Processing 2
 
Blitz Resurrection: Re-creating a classic 80s video game in Processing 2
Blitz Resurrection: Re-creating a classic 80s video game in Processing 2Blitz Resurrection: Re-creating a classic 80s video game in Processing 2
Blitz Resurrection: Re-creating a classic 80s video game in Processing 2
 
Robots Are GO!
Robots Are GO!Robots Are GO!
Robots Are GO!
 
Adventures in ARM Assembler
Adventures in ARM AssemblerAdventures in ARM Assembler
Adventures in ARM Assembler
 
Processing 2.0 + Open Data
Processing 2.0 + Open DataProcessing 2.0 + Open Data
Processing 2.0 + Open Data
 
Ecore Model Reflection in RDF
Ecore Model Reflection in RDFEcore Model Reflection in RDF
Ecore Model Reflection in RDF
 
Introduction to App Development with Processing 2
Introduction to App Development with Processing 2Introduction to App Development with Processing 2
Introduction to App Development with Processing 2
 
CycQL: A SPARQL Adapter for OpenCyc
CycQL: A SPARQL Adapter for OpenCycCycQL: A SPARQL Adapter for OpenCyc
CycQL: A SPARQL Adapter for OpenCyc
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Droid Geometry