View Single Post
  #3   Spotlight this post!  
Unread 04-03-2012, 20:56
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: How do I replicate frc field network back at school

Have you tried running your Driver Station in Practice mode? When you select Teleop or Autonomous, there is a Practice option. It will run the robot similarly to the field -- 15 seconds of Autonomous mode and then 2 minutes of Teleop.

I worked with a team that had a similar problem at Boston last year. For the first ~30 seconds of Teleop, their drivers would have no control, then suddenly it would come back, and they were unable to replicate it in the pits either. The problem was that their Autonomous code ran for too long (specifically 30 seconds too long) because a loop in their program ran for 45 seconds. I'm guessing a similar thing is going on here, just for the entire match. You wouldn't notice it in the pits because you're skipping over the autonomous code when you click Enable and you're not in Practice mode. Make sure you don't have any loops in your autonomous program that last longer than 15 seconds.

Sorry if I'm sounding kinda vauge here, I only know the C++ and Java APIs.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"

Last edited by Radical Pi : 04-03-2012 at 20:58. Reason: Explain Practice mode a bit better
Reply With Quote