View Single Post
  #12   Spotlight this post!  
Unread 09-02-2011, 23:40
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: downloading code on to robot difficulty

Our team is using omni/mecanum wheels this year as well. I was just thinking, we had this same error and all too with our servos, and I think it might have something to do with not defining slots on any of the others.

such as
Code:
// see driver station dashboard for module numbers
Gyro gyro = new Gyro(1); // Gyro in PWM channel 1
Servo servo = new Servo(4,1); // Servo in Digital IO channel 1
Do you think it might have to be
Code:
Gyro gyro = new Gyro(1,1);
Servo servo = new Servo(4,1);
for it to work correctly?


All just complete guessing, I'm kind of hopeless right now, it seems the robot just doesn't want to cooperate this month.
If anyone finds the real answer, please share!

Thanks.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote