View unanswered posts | View active topics It is currently Tue Sep 16, 2014 1:59 am






Reply to topic  [ 2 posts ] 
RVW Curriculum 
Author Message
Rookie

Joined: Wed Jun 18, 2014 4:31 pm
Posts: 10
Post RVW Curriculum
I was doing the sensors obstacle course and have created a program for doing so, however, the course says that What I have done is incomplete, I don't understand why. I have checked in results in the Solution Video and my robot has done almost the exact same thing. Here is my program:
task main(){
while(SensorValue(touch)==0){
motor[paco]=50;
motor[shift]=50;}
motor[paco]=-50;
motor[shift]=-50;
wait1Msec(400);
int goal=SensorValue(gyro)-890;

while(SensorValue(gyro)>goal){
motor[paco]=-25;
motor[shift]=25;}
motor[paco]=40;
motor[shift]=40;
wait1Msec(3000);
ClearTimer(T1);
while(time100[T1]<240){
if(SensorValue(light)>63){
motor[shift]=30;
motor[paco]=15;
}
else{motor[paco]=30;
motor[shift]=15;
}}
while(SensorValue(sonar)>35){
motor[paco]=50;
motor[shift]=50;}
goal=SensorValue(gyro)+900;
while(SensorValue(gyro)<goal){
motor[paco]=25;
motor[shift]=-25;}
while(SensorValue(sonar)>23){
motor[paco]=50;
motor[shift]=50;}
goal=SensorValue(gyro)+900;
while(SensorValue(gyro)<goal){
motor[paco]=25;
motor[shift]=-25;
wait1Msec(50);
goal-=4;}
while(true){
motor[paco]=50;
motor[shift]=50;}
}
I named the left motor paco and the right shift. On the curriculum, it says that I had not touched the box nor reversed from it as well. What do I need to change to make it work?


Fri Jun 20, 2014 7:18 pm
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 574
Post Re: RVW Curriculum
We were able to replicate this issue and can confirm that it is currently a bug in ROBOTC. Our development team is looking into exactly why this issue is occurring and we hope to have a fix out soon. We will post an update on here as soon as the fix is available. Thank you for making us aware of this issue!

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Wed Jun 25, 2014 5:33 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.