SlideShare a Scribd company logo
1 of 20
10 practices with Robolab10 practices with Robolab
Presentation adapted from one by Víctor Gallego Le Forlot (IES Jovellanos, Fuenlabrada)
IndexIndex
• 1. Patrol
• 2. Square
• 3. Spiral
• 4. Avoid Objects
• 5. On the edge of the abyss
• 6. Go back to the base
• 7. Follow the line
• 8. Follow the light
• 9. Catch the can
• 10. Parking
1.Patrol1.Patrol
• Goal: make the robot go forwards 40 cm, spin
around 180º and repeat everything in a loop
• What do I need to know?
1. Patrol1. Patrol
• You need to calculate how much time the rover needs to
move forward 40 cm and spin around 180º. These times
depend on many factors and they are different in each rover
and surface.
• Once the rover has done a lap, everything is always
repeated, using a loop.
• Since there is not feedback from any sensor, it is an open
loop control. Because of this, errors are not corrected.
2. Square2. Square
• Goal: make the robot move following a 60 cm-
side square
• What do I need to know?
2. Square2. Square
• You need to calculate how much time the rover
needs to move forward 40 cm and spin around
90º. These times depend on many factors and
they are different in each rover and surface.
• It is an open loop control, since there is not
feedback from any sensor, so errors are not
corrected and the program must be corrected
every time the environment changes
3. Spiral3. Spiral
• Goal: make the robot move following a 50 cm-
side square, but every time it finishes a lap, the
side of the square must be increased in 10 cm
• What do I need to know?
3. Spiral3. Spiral
• You need to use a variable in which you will save
the time that the robot must go forward in each lap.
• That variable must be increased every time a lap is
completed.
• Open loop control.
4. Avoid objects4. Avoid objects
• Goal: make the rover go forwards until it hits an
object, then avoid it and continue going forwards.
• What do I need to know?
4. Avoid objects4. Avoid objects
• When the contact sensor hits an object, make it go
backwards for a short space, turn right, go forward
for a short period and turn left until it gets back to
the initial path.
• Alternate turns to right and left to avoid the rover to
divert from its path.
• Closed loop control (with feedback).
5. Close to the edge5. Close to the edge
• Goal: make the rover move on the table and when
it reaches the edge, make it go backwards and
change direction to avoid falling
• What do I need to know?
5. Close to the edge5. Close to the edge
• Make the rover go forwards until the light sensor
detects an important change because it reached
the edge. Then, make it go backwards for a short
period and turn to change the direction before it
continues going forwards.
• Alternate turns to right and left to avoid the rover to
always follow the same paths
• Radomize the time it turns so the rover doesn’t
follow trhe same paths again and again.
• Closed loop control (feedback).
6. Back to the base6. Back to the base
• Goal: make the rover go forwards until it hits any
object, and then go backwards to the starting point
• What do I need to know?
6. Back to the base6. Back to the base
• See how much time it takes the rover to hit
something. Make it go backwards for that same
amount of time.
• Open loop control, that is why it is not very precise.
7. Follow the line7. Follow the line
• Goal: make the rover follow a black line in the floor
• What do I need to know?
7. Follow the line7. Follow the line
• Measure the light value in each sensor when it
enters the black line. If the right sensor finds the
black line, make the rover turn left. If the left sensor
finds the black line, make the rover turn right.
Otherwise it must go forwards.
• There is feedback, so it is a closed loop control.
8. Follow the light8. Follow the light
• Goal: make the rover spin until it finds an intense
source of light, and then make it follow that light.
• What do I need to know?
8. Follow the light8. Follow the light
• Define a light threshold above the environmental
light and below the light that must be followed. The
rover must spin until it finds a value of light above
the threshold and go forward when it finds it.
• Closed loop control.
9. Catch the can9. Catch the can
• Goal: make the rover go forward until it hits a can,
then it must catch it and go back to base with it.
• What do I need to know?
9. Catch the can9. Catch the can
• Make the rover go forward until a contact sensor
detects the hit with the can. It must turn the can
around and go back, pushing the can to the starting
place.
• Closed loop control.

More Related Content

Similar to Practices of robotics with ROBOLAB and LEGO RCX ROBOT

Similar to Practices of robotics with ROBOLAB and LEGO RCX ROBOT (6)

F&b bqt 14_005 how to setup up a staging
F&b bqt 14_005  how to setup up a stagingF&b bqt 14_005  how to setup up a staging
F&b bqt 14_005 how to setup up a staging
 
Tony Pratkanis (Stanford Univ) on Robotics
Tony Pratkanis (Stanford Univ) on RoboticsTony Pratkanis (Stanford Univ) on Robotics
Tony Pratkanis (Stanford Univ) on Robotics
 
Interm Progr
Interm ProgrInterm Progr
Interm Progr
 
Traffic lights detecting a car that has pulled
Traffic lights detecting a car that has pulledTraffic lights detecting a car that has pulled
Traffic lights detecting a car that has pulled
 
Compass
CompassCompass
Compass
 
Projectile Motion Part 1
Projectile Motion Part 1Projectile Motion Part 1
Projectile Motion Part 1
 

More from algunastecnocosas

Edison and the invention of the incandescent light bulb
Edison and the invention of the incandescent light bulbEdison and the invention of the incandescent light bulb
Edison and the invention of the incandescent light bulb
algunastecnocosas
 
Materiales por qué usamos materiales diferentes - correcciones (silla, libr...
Materiales   por qué usamos materiales diferentes - correcciones (silla, libr...Materiales   por qué usamos materiales diferentes - correcciones (silla, libr...
Materiales por qué usamos materiales diferentes - correcciones (silla, libr...
algunastecnocosas
 

More from algunastecnocosas (20)

Some math and electrical vocab
Some math and electrical vocabSome math and electrical vocab
Some math and electrical vocab
 
Cómo funciona un ordenador
Cómo funciona un ordenadorCómo funciona un ordenador
Cómo funciona un ordenador
 
Orientación para alumnos de 3º y 4º
Orientación para alumnos de 3º y 4ºOrientación para alumnos de 3º y 4º
Orientación para alumnos de 3º y 4º
 
Survival guide: language and culture
Survival guide: language and cultureSurvival guide: language and culture
Survival guide: language and culture
 
Madrid attractions
Madrid attractionsMadrid attractions
Madrid attractions
 
Past and present traditions in spain
Past and present traditions in spainPast and present traditions in spain
Past and present traditions in spain
 
Christmas in Spain
Christmas in SpainChristmas in Spain
Christmas in Spain
 
Ies gomez moreno
Ies gomez morenoIes gomez moreno
Ies gomez moreno
 
Comenius project - Gimnazjum NR 17 (Wroclaw)
Comenius project - Gimnazjum NR 17 (Wroclaw)Comenius project - Gimnazjum NR 17 (Wroclaw)
Comenius project - Gimnazjum NR 17 (Wroclaw)
 
Comenius project - Sondre skole (Hobro)
Comenius project - Sondre skole (Hobro)Comenius project - Sondre skole (Hobro)
Comenius project - Sondre skole (Hobro)
 
Comenius project - IES Gómez-Moreno (Madrid)
Comenius project - IES Gómez-Moreno (Madrid)Comenius project - IES Gómez-Moreno (Madrid)
Comenius project - IES Gómez-Moreno (Madrid)
 
¿Cómo funciona Internet?
¿Cómo funciona Internet?¿Cómo funciona Internet?
¿Cómo funciona Internet?
 
How a TV works (basic)
How a TV works (basic)How a TV works (basic)
How a TV works (basic)
 
Edison and the invention of the incandescent light bulb
Edison and the invention of the incandescent light bulbEdison and the invention of the incandescent light bulb
Edison and the invention of the incandescent light bulb
 
Materiales por qué usamos materiales diferentes - teoría y ejemplo (silla)
Materiales   por qué usamos materiales diferentes - teoría y ejemplo (silla)Materiales   por qué usamos materiales diferentes - teoría y ejemplo (silla)
Materiales por qué usamos materiales diferentes - teoría y ejemplo (silla)
 
Materiales por qué usamos materiales diferentes - correcciones (silla, libr...
Materiales   por qué usamos materiales diferentes - correcciones (silla, libr...Materiales   por qué usamos materiales diferentes - correcciones (silla, libr...
Materiales por qué usamos materiales diferentes - correcciones (silla, libr...
 
Materials ok - theory and example (chair)
Materials ok -  theory and example (chair)Materials ok -  theory and example (chair)
Materials ok - theory and example (chair)
 
4ºESO Informática - diagrama conceptual
4ºESO Informática - diagrama conceptual4ºESO Informática - diagrama conceptual
4ºESO Informática - diagrama conceptual
 
3ºeso - Tecnología - Mapa conceptual del curso
3ºeso - Tecnología - Mapa conceptual del curso3ºeso - Tecnología - Mapa conceptual del curso
3ºeso - Tecnología - Mapa conceptual del curso
 
Technologies 3 ESO - Conceptual map
Technologies 3 ESO - Conceptual mapTechnologies 3 ESO - Conceptual map
Technologies 3 ESO - Conceptual map
 

Recently uploaded

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
 
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
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

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
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
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
 
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.
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
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
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
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 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
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

Practices of robotics with ROBOLAB and LEGO RCX ROBOT

  • 1. 10 practices with Robolab10 practices with Robolab Presentation adapted from one by Víctor Gallego Le Forlot (IES Jovellanos, Fuenlabrada)
  • 2. IndexIndex • 1. Patrol • 2. Square • 3. Spiral • 4. Avoid Objects • 5. On the edge of the abyss • 6. Go back to the base • 7. Follow the line • 8. Follow the light • 9. Catch the can • 10. Parking
  • 3. 1.Patrol1.Patrol • Goal: make the robot go forwards 40 cm, spin around 180º and repeat everything in a loop • What do I need to know?
  • 4. 1. Patrol1. Patrol • You need to calculate how much time the rover needs to move forward 40 cm and spin around 180º. These times depend on many factors and they are different in each rover and surface. • Once the rover has done a lap, everything is always repeated, using a loop. • Since there is not feedback from any sensor, it is an open loop control. Because of this, errors are not corrected.
  • 5. 2. Square2. Square • Goal: make the robot move following a 60 cm- side square • What do I need to know?
  • 6. 2. Square2. Square • You need to calculate how much time the rover needs to move forward 40 cm and spin around 90º. These times depend on many factors and they are different in each rover and surface. • It is an open loop control, since there is not feedback from any sensor, so errors are not corrected and the program must be corrected every time the environment changes
  • 7. 3. Spiral3. Spiral • Goal: make the robot move following a 50 cm- side square, but every time it finishes a lap, the side of the square must be increased in 10 cm • What do I need to know?
  • 8. 3. Spiral3. Spiral • You need to use a variable in which you will save the time that the robot must go forward in each lap. • That variable must be increased every time a lap is completed. • Open loop control.
  • 9. 4. Avoid objects4. Avoid objects • Goal: make the rover go forwards until it hits an object, then avoid it and continue going forwards. • What do I need to know?
  • 10. 4. Avoid objects4. Avoid objects • When the contact sensor hits an object, make it go backwards for a short space, turn right, go forward for a short period and turn left until it gets back to the initial path. • Alternate turns to right and left to avoid the rover to divert from its path. • Closed loop control (with feedback).
  • 11. 5. Close to the edge5. Close to the edge • Goal: make the rover move on the table and when it reaches the edge, make it go backwards and change direction to avoid falling • What do I need to know?
  • 12. 5. Close to the edge5. Close to the edge • Make the rover go forwards until the light sensor detects an important change because it reached the edge. Then, make it go backwards for a short period and turn to change the direction before it continues going forwards. • Alternate turns to right and left to avoid the rover to always follow the same paths • Radomize the time it turns so the rover doesn’t follow trhe same paths again and again. • Closed loop control (feedback).
  • 13. 6. Back to the base6. Back to the base • Goal: make the rover go forwards until it hits any object, and then go backwards to the starting point • What do I need to know?
  • 14. 6. Back to the base6. Back to the base • See how much time it takes the rover to hit something. Make it go backwards for that same amount of time. • Open loop control, that is why it is not very precise.
  • 15. 7. Follow the line7. Follow the line • Goal: make the rover follow a black line in the floor • What do I need to know?
  • 16. 7. Follow the line7. Follow the line • Measure the light value in each sensor when it enters the black line. If the right sensor finds the black line, make the rover turn left. If the left sensor finds the black line, make the rover turn right. Otherwise it must go forwards. • There is feedback, so it is a closed loop control.
  • 17. 8. Follow the light8. Follow the light • Goal: make the rover spin until it finds an intense source of light, and then make it follow that light. • What do I need to know?
  • 18. 8. Follow the light8. Follow the light • Define a light threshold above the environmental light and below the light that must be followed. The rover must spin until it finds a value of light above the threshold and go forward when it finds it. • Closed loop control.
  • 19. 9. Catch the can9. Catch the can • Goal: make the rover go forward until it hits a can, then it must catch it and go back to base with it. • What do I need to know?
  • 20. 9. Catch the can9. Catch the can • Make the rover go forward until a contact sensor detects the hit with the can. It must turn the can around and go back, pushing the can to the starting place. • Closed loop control.