I want my AGV to stop at an intersection in the black line using the linefollowers so it can pick up parts. How do I do it?
Thanks Matt B for the ideas. There are a couple ways to make this happen.
1.You could do three if(sensorvalue)’s in a row downward.
2. Cut and paste the code below and add your values into RobotC:
//Pseudocode for stopping the AGV at a line
Can to be installed as a Void command- refer to your lab for tips
if(sensorvalue(RightSensor) < Threshold &&
Sensorvalue(CenterSensor) < Threshold &&
Sensorvalue(LeftSensor) < Threshold)
//Stop the AGV for a designated time
1,642 total views, 2 views today