Hello, I would like to put a touch sensor on my SimpleBot robot to detect walls. Where should I test in the code if the button is enabled? i have a similar Simplebot_simple.py code on GitHub.
I would like if I touch a wall, back for 2 seconds, turn 90 degrees and continue my program.
How it s possible ?
Sorry for my english, I speak french. I hope that you understand me anyway
Hi triwey,
Can you send a link of the touch sensor that you are going to use. Also, can you send a link to your code on github that you are going to use.
yes but I wonder how always test the distance between the robot and the wall. I would need this information all the time no card only once in the program
Do you understand what I mean?