Line following until four rotations.
Page 1 of 1

Author:  rseniuk [ Sun Aug 17, 2014 7:15 pm ]
Post subject:  Line following until four rotations.

Good evening
I've been trying to get the line following program with four rotations to work. I think there is something wrong with my logic. It makes sense to me.

Repeat until the left motor encoder is greater then 1440, 4 x 360 = 1440.

I've attach the code. Let me know if anyone can shed some light on this.


I am using the new version of robotC graphical.

I believe my problem is similar to Rookie2014. The robot keeps running after the four revolutions. I would have thought that the repeat until loop would stop when the encoder passed 1440. You will notice I even reset the encoder before the loop.

LineFollowingForFourRevolutions.jpg [ 60.36 KiB | Viewed 4416 times ]

Author:  lcarrozza [ Mon Aug 18, 2014 4:41 pm ]
Post subject:  Re: Line following until four rotations.


We are aware of this issue and are currently working on a solution.
There is nothing wrong with your logic, and it should work correctly as soon as we fix the issue. Thank you for your patients.

Thanks, Lee

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group