View Single Post
  #6   Spotlight this post!  
Unread 06-11-2012, 17:37
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Lost our last programmer

It doesn't look like you're feeding the watchdog, which means your control is expiring after only half a second. I'd suggest commenting it out entirely, changing .setEnabled(false), or making sure you put in a statement to feed it periodically by calling feed().

As the comment above mentioned, /* is for when you need to make a long block comment -- you need to replace that with //

The Java starter guide is slightly outdated as well, I'd suggest using the WPILib Cookbook if you haven't seen it already.

http://www.wbrobotics.com/attachment...ibCookbook.pdf
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote