View Single Post
  #12   Spotlight this post!  
Unread 18-03-2010, 20:29
palmyhomebots's Avatar
palmyhomebots palmyhomebots is offline
Registered User
None #2934
 
Join Date: Mar 2010
Location: palmerston north
Posts: 3
palmyhomebots is an unknown quantity at this point
Lightbulb Re: Autonomous not working

we the palmy home bots have a better solution just do this:
//When channel 5 down the below code runs
//When channel 5 down the below code runs
if(vexRT(Ch5) > -100)
{
motor[LTrack] = motor[RTrack] = 0;
motor[LMotors] = 127;
motor[RMotors] = 127;
wait10Msec(400);
motor[LMotors] = 0;
motor[RMotors] = 0;
motor[LTrack] = motor[RTrack] = 127;
wait10Msec(1600);
motor[LTrack] = motor[RTrack] = 0;
}

but you may have a different robot