Go to Post ...several people have told my that my brain has been oxygen-starved since at least 1975. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 31-01-2012, 18:28
Fishpaste108 Fishpaste108 is offline
Registered User
FRC #3467
 
Join Date: Jan 2012
Location: Windham, New Hampshire
Posts: 8
Fishpaste108 is an unknown quantity at this point
Exclamation EP4 Encoder

The encoders i am trying are:
  • E4P-360-236-D-H-T-3
  • E4P-250-250-D-D-D-B

I seem to be having a software issue when it comes to encoders listed above. I have a series of problems that occur when debugging.

1. The values from the encoder are increasing or decreasing based on whether the robot is enabled or not
2. The values from the encoder are all 0
3. The values of the encoder continuously decrease but stop decreasing when the motors are spinning

My team has ruled out any wiring issues.

We are programming in C++ via Windriver. All software is up to date. We are using the encoder class the the WPILib. I start the encoder in the robot init. Reset it upon entering tel-op. I retrieve the values via GetRaw(), Get(), GetDistance(), and GetDirection

Please let me know if anyone has had this problem and/or knows of a solution. Thanks!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi