Help now!! Please!

  1. last year

    97934U

    6 Dec 2017 Nashville, TN 97934U

    We have a competition in just a few days and today’s my last day to do coding. Our code for some reason keeps screwing up. It works perfectly fine when we run it via the competition controller in robot c but when we use the real on, the lift won’t work, and numerous other errors appear as well. How do i fix it?!

  2. callen

    6 Dec 2017 Braintree, MA, USA

    You need to post some code to enable anyone to help you with your code.

  3. JpgeyCIgjQumPfrUmpb

    6 Dec 2017 Toronto (most of the time)

    If you do not post your code, the best way to fix it is to use PROS.

  4. Dokkaebi

    6 Dec 2017 Deal with it I like chocolate

    Yeah post your code man. Everyone has basically the same thing for driver control.

  5. fruitarian

    6 Dec 2017 On Earth Duh 300

    @callen You need to post some code to enable anyone to help you with your code.

    @JpgeyCIgjQumPfrUmpb If you do not post your code, the best way to fix it is to use PROS.

    @Mira Yeah post your code man. Everyone has basically the same thing for driver control.

    I am pretty sure he is going to post his code soon, but more than one of you guys have said it already why do you need to say it again?

  6. Dokkaebi

    6 Dec 2017 Deal with it I like chocolate

    @fruitarian I am pretty sure he is going to post his code soon, but more than one of you guys have said it already why do you need to say it again?

    Uhh he said the competition was in a few days so we clearly are all panicking... We gots the feels for him.

  7. fruitarian

    6 Dec 2017 On Earth Duh 300

    sorry if I sounded mean, but if one person posted it then it is just better to wait until he posts his code.

  8. JpgeyCIgjQumPfrUmpb

    6 Dec 2017 Toronto (most of the time)

    @fruitarian sorry if I sounded mean, but if one person posted it then it is just better to wait until he posts his code.

    In all fairness, I did give him another solution that would not require him posting code.

  9. Dokkaebi

    6 Dec 2017 Deal with it I like chocolate

    @JpgeyCIgjQumPfrUmpb In all fairness, I did give him another solution that would not require him posting code.

    How?

  10. fruitarian

    6 Dec 2017 On Earth Duh 300

    @Mira How?

    he said use PROS

  11. [SPR] JP

    7 Dec 2017 Texas PANDA

    @fruitarian he said use PROS

    Nah it’d be better if he posts his code.

  12. ZachDaChampion

    7 Dec 2017 Fort Lauderdale, Florida 77788J

    I'm a little confused, you guys want them to not under any circumstances post their code, right?

  13. fruitarian

    7 Dec 2017 On Earth Duh 300

    @ZachDaChampion I'm a little confused, you guys want them to not under any circumstances post their code, right?

    Yes

  14. 97934U

    7 Dec 2017 Nashville, TN 97934U
    Edited last year by 97934U

    @ZachDaChampion I'm a little confused, you guys want them to not under any circumstances post their code, right?

    	SensorValue[Solenoid1]=0;
    
    SensorValue[LeftDrive]=0
    while(SensorValue[LeftDrive]< 850){
    	motor[BL] = 127;
    	motor[FL] = 127;
    	motor[FR] = 127;
    	motor[BR] = 127;
    }
    	motor[BL] = -10;
    	motor[FL] = -10;
    	motor[FR] = -10;
    	motor[BR] = -10;
    	wait1Msec(400);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = -0;
    	SensorValue[Gyro] =0;
    	while(SensorValue[Gyro]> -130){
    	motor[BL] = 90;
    	motor[FL] = 90;
    	motor[FR] = -90;
    	motor[BR] = -90;
    
    }
    	motor[BL] = -10;
    	motor[FL] = 10;
    	motor[FR] = -10;
    	motor[BR] = 10;
    	wait1Msec(400);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    	SensorValue[Solenoid1] = 1;
    	wait1Msec(500);
    	SensorValue[LeftDrive] = 0;
    	while (SensorValue[LeftDrive] < 150){
    
    	motor[BL] = 50;
    	motor[FL] = 50;
    	motor[FR] = 50;
    	motor[BR] = 50;
    
    }
    	motor[BL] = -8;
    	motor[FL] = -8;
    	motor[FR] = -8;
    	motor[BR] = -8;
    	wait1Msec(300);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    
    	wait1Msec(100);
    	SensorValue[Solenoid1] = 0;
    	wait1Msec(300);
    
    
    		motor[LBR] = 127;  //Lift motors that refuse to work in auton for some reason
    		motor[LBL] = 127;
    		motor[RBR] = 127;
    		motor[LTL] = 127;
    		motor[RBL] = 127;
    		motor[RTR] = 127;
    		wait1Msec(550);
    
    
    
    
    
    			motor[LBR] = 6;
    		motor[LBL] = 6;
    		motor[RBR] = 6;
    		motor[LTL] = 6;
    		motor[RBL] = 6;
    		motor[RTR] = 6;
    		SensorValue[Gyro] = 0;
    			while(SensorValue[Gyro]< 200){
    	motor[BL] = -90;
    	motor[FL] = -90;
    	motor[FR] = 90;
    	motor[BR] = 90;
    
    }
    	motor[BL] = 10;
    	motor[FL] = -10;
    	motor[FR] = 10;
    	motor[BR] = -10;
    	wait1Msec(400);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    	SensorValue[LeftDrive] = 0;
    	wait1Msec(100);
    	while (SensorValue[LeftDrive] < 300){
    
    	motor[BL] = 50;
    	motor[FL] = 50;
    	motor[FR] = 50;
    	motor[BR] = 50;
    
    }
    	motor[BL] = -8;
    	motor[FL] = -8;
    	motor[FR] = -8;
    	motor[BR] = -8;
    	wait1Msec(300);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    wait1Msec(300);
    
    		motor[LBR] = -127;
    		motor[LBL] = -127;
    		motor[RBR] = -127;
    		motor[LTL] = -127;
    		motor[RBL] = -127;
    		motor[RTR] = -127;
    
    
    wait1Msec(450);
    
    
    			motor[LBR] = 6;
    		motor[LBL] = 6;
    		motor[RBR] = 6;
    		motor[LTL] = 6;
    		motor[RBL] = 6;
    		motor[RTR] = 6;
    
    		SensorValue[Solenoid1] = 1;
    		wait1Msec(300);

    I am currently using realy basic code because i was testing to see if my PID was the problem but even basic time code doesn't work, and it's just the lift

  15. 97934U

    7 Dec 2017 Nashville, TN 97934U

    I apologize to everyone for replying so late, I have exams to study for and I just got home late. Sorry

  16. 97934U

    7 Dec 2017 Nashville, TN 97934U

    @Mira Uhh he said the competition was in a few days so we clearly are all panicking... We gots the feels for him.

    SensorValue[Solenoid1]=0;
    
    SensorValue[LeftDrive]=0
    while(SensorValue[LeftDrive]< 850){
    	motor[BL] = 127;
    	motor[FL] = 127;
    	motor[FR] = 127;
    	motor[BR] = 127;
    }
    	motor[BL] = -10;
    	motor[FL] = -10;
    	motor[FR] = -10;
    	motor[BR] = -10;
    	wait1Msec(400);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = -0;
    	SensorValue[Gyro] =0;
    	while(SensorValue[Gyro]> -130){
    	motor[BL] = 90;
    	motor[FL] = 90;
    	motor[FR] = -90;
    	motor[BR] = -90;
    
    }
    	motor[BL] = -10;
    	motor[FL] = 10;
    	motor[FR] = -10;
    	motor[BR] = 10;
    	wait1Msec(400);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    	SensorValue[Solenoid1] = 1;
    	wait1Msec(500);
    	SensorValue[LeftDrive] = 0;
    	while (SensorValue[LeftDrive] < 150){
    
    	motor[BL] = 50;
    	motor[FL] = 50;
    	motor[FR] = 50;
    	motor[BR] = 50;
    
    }
    	motor[BL] = -8;
    	motor[FL] = -8;
    	motor[FR] = -8;
    	motor[BR] = -8;
    	wait1Msec(300);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    
    	wait1Msec(100);
    	SensorValue[Solenoid1] = 0;
    	wait1Msec(300);
    
    
    		motor[LBR] = 127;
    		motor[LBL] = 127;
    		motor[RBR] = 127;
    		motor[LTL] = 127;
    		motor[RBL] = 127;
    		motor[RTR] = 127;
    		wait1Msec(550);
    
    
    
    
    
    			motor[LBR] = 6;
    		motor[LBL] = 6;
    		motor[RBR] = 6;
    		motor[LTL] = 6;
    		motor[RBL] = 6;
    		motor[RTR] = 6;
    		SensorValue[Gyro] = 0;
    			while(SensorValue[Gyro]< 200){
    	motor[BL] = -90;
    	motor[FL] = -90;
    	motor[FR] = 90;
    	motor[BR] = 90;
    
    }
    	motor[BL] = 10;
    	motor[FL] = -10;
    	motor[FR] = 10;
    	motor[BR] = -10;
    	wait1Msec(400);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    	SensorValue[LeftDrive] = 0;
    	wait1Msec(100);
    	while (SensorValue[LeftDrive] < 300){
    
    	motor[BL] = 50;
    	motor[FL] = 50;
    	motor[FR] = 50;
    	motor[BR] = 50;
    
    }
    	motor[BL] = -8;
    	motor[FL] = -8;
    	motor[FR] = -8;
    	motor[BR] = -8;
    	wait1Msec(300);
    	motor[BL] = 0;
    	motor[FL] = 0;
    	motor[FR] = 0;
    	motor[BR] = 0;
    wait1Msec(300);
    
    		motor[LBR] = -127;
    		motor[LBL] = -127;
    		motor[RBR] = -127;
    		motor[LTL] = -127;
    		motor[RBL] = -127;
    		motor[RTR] = -127;
    
    
    wait1Msec(450);
    
    
    			motor[LBR] = 6;
    		motor[LBL] = 6;
    		motor[RBR] = 6;
    		motor[LTL] = 6;
    		motor[RBL] = 6;
    		motor[RTR] = 6;
    
    		SensorValue[Solenoid1] = 1;
    		wait1Msec(300);

    I am currently using really basic code because i was testing to see if my PID was the problem but even basic time code doesn't work, and it's just the lift

 

or Sign Up to reply!