View Single Post
  #7   Spotlight this post!  
Unread 24-02-2010, 13:34
R2D2DOC's Avatar
R2D2DOC R2D2DOC is offline
Registered User
AKA: Laszlo Hideg
no team (Judge & Volunteer)
 
Join Date: Oct 2007
Rookie Year: 2006
Location: Michigan
Posts: 79
R2D2DOC will become famous soon enoughR2D2DOC will become famous soon enough
Re: Encoder Problems after update???

Thanks all for the hints. Lucario231 must have been in a computer lab at school. And, I'm doing this during lunch. We will post code as soon as feasible. I'll take a shot at describing when we have:

Before the recent update, and it worked fine:
OPEN ENCODER feeds into DevRefOut in BEGIN
DevRefIn into GET in TELEOP

After the recent update, we have done everything suggested by Mr. Rotolo to verify that the encoders and wires are fine. To test the encoder signals, we manually turned them until we read 5V or 0V. More primitive than the scope but effective.

We have done most of Mr. Anderson's suggestions, but we apparently do not understand the GET & SET requirements. We tried to mimic where the Gyro's are placed, but since these are WPI libraries, the protocol is different. Please correct me on location of OPEN, SET, DevRefs and GET in the code. We tried unsuccessfully:

OPEN, SET, DevRefOut in Begin
DevRefIn, GET in TELEOP.

I cannot recall the order of the code booting up. For example, last year NI had said, for example that Teleop launched Auton which looked counter to what was in the code. Mr. Anderson's suggestion seem consistent with what we tried above.

Long story short, we will post code later this afternoon.

Thanks
Reply With Quote