bengi by sayinf this
Quote
3. Finally, the robot must reverse all the way back to its starting position.
EASY, just save the way you walked and then loaded it again .. reversed
you robot is walking, just find someway to save how much you are walking,,how many cms , including where u are making turns,
how many angles
then do it again reversed
lets say we save things this way
array=[50 , 60 , 80, -45 , 13 ];
this means that the robot walked 50 cms forward
then it turned 60 degrees
then it walked 80cms
then turned -45 degrees
then walked 13cms
its some sort of coding your movements , u can do it the way you like
now if your question is hoe did i get this values?
it depends on your robot
if it has wheels then an encoder would do
a walking bot? u simply count how many steps its walkin
this is what izua just briefed in one word