Being a Jedi in Coding

LI: To code the robot to move back words and without touching it - to be a Jedi 

Baby Yoda: Everything we know about The Mandalorian star - CNET



My robot will wait until I have pressed the onboard button before it does anything , we used an , if , then , else block as this gives robot to chances to do , we are using the ultrasonic sensor on the front of the robot , 10 cm in front of it .... 

If something is 10 cm less in front of the robot , it will have to move backwards , if something is not less than 10 cm in front of the robot , it will move forwards (ELSE)

If something is not less than 1-cm in front of the robot , it will have to move forward(ELSE) This is all put into a forever block so that the robot constantly sense what is in front of it.



Comments

Popular posts from this blog

Inspirational Quotes

Pulleys

Maths