View unanswered posts | View active topics It is currently Thu Dec 05, 2019 8:14 pm






Reply to topic  [ 2 posts ] 
Line following until four rotations. 
Author Message
Rookie

Joined: Thu Jun 19, 2014 9:25 pm
Posts: 34
Post 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.

Thanks

PS
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.


Attachments:
LineFollowingForFourRevolutions.jpg
LineFollowingForFourRevolutions.jpg [ 60.36 KiB | Viewed 3957 times ]

_________________
www.disneymaingatecondo.com
@Oakwater2739
Sun Aug 17, 2014 7:15 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Jun 11, 2014 9:59 am
Posts: 115
Post Re: Line following until four rotations.
rseniuk,

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


Mon Aug 18, 2014 4:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.