View unanswered posts | View active topics It is currently Sat Apr 30, 2016 3:15 am

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
RVW Curriculum
Author Message
Rookie

Joined: Wed Jun 18, 2014 4:31 pm
Posts: 10
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:
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

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
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 updated help documentation and the ROBOTC Forums.

Wed Jun 25, 2014 5:33 pm
Display posts from previous:  Sort by
 Page 1 of 1 [ 2 posts ]

#### Who is online

Users browsing this forum: No registered users and 1 guest

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

Search for:
 Jump to:  Select a forum ------------------ ROBOTC Applications    ROBOTC for LEGO MINDSTORMS       Third-party sensors    ROBOTC for CORTEX & PIC    ROBOTC for VEX IQ    ROBOTC for Arduino    Robot Virtual Worlds    Multi-Robot Communications    Issues and Bugs Competitions & Partners    Mini Urban Challenge    CS2N Robot Virtual Worlds Competitions       VEX Skyrise Competition 2014-2015       VEX Toss Up 2013-2014       FTC Block Party! 2013-2014    Competitions using VEX - BEST, TSA, VEX, and RoboFest!    FTC Programming    RoboCup Junior and Other ROBOT Competitions Virtual Brick Robotics Discussions    General Discussions    Project Discussions Off-Topic ROBOTC Forum & ROBOTC.net Suggestions/Feedback    ROBOTC Forums Suggestions/Comments    ROBOTC.net Suggestions/Comments       NXT Programming: Tips for Beginning with ROBOTC       VEX Programming: Tips for Beginning with ROBOTC    2013 Robotics Summer Of Learning       VEX Toss Up Programming Challenge       FTC Ring It Up! Programming Challenge    International Forums       Spanish Forums          ROBOTC for MINDSTORMS          ROBOTC for VEX       French Forums          ROBOTC pour Mindstorms          ROBOTC pour IFI VEX       Japanese Forums （日本語のフォーラム）       German Forums    2015 Spring Carnival Event    PLTW (Project Lead The Way)    Robotics Merit Badge    2014 Robotics Academy Summer of Learning