Hello, I am helping kids with a makeblock challenge, to write a program that has two robots following a line. The first robot has an ultrasonic sensor that stops if it senses an obstacle and tells the second robot to stop too. Wondering if anyone has experience with this and can share code snippets on how to do it. thank you.
Mbot to Mbot IR communications
Crackel
#2
Hi Khiladi100,
here are some ideas
Line following for a period of time
Line Following - Stop Ultrasonic
It is also possible to forward the line and stop at the end but I can’t find my post anymore
Khiladi100
#3
thank you, one important fact is that both the robots are on different lines and we wanted to use IR communication to stop the second robot, where there was an obstacle in front of the first robot. Thanks again.
Crackel
#4
I found this which is a little more complex than what you asked for. Watching the REPEAT UNTIL, you will be able to reproduce the exit code.
system
#5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.