OCCRA
Go to Post Adult coaches are the "rock stars" of our program, and I know on Simbotics the kids really do look up to and aspire to be a great as these coaches. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-21-2012, 11:57 AM
T Wallas Pog's Avatar
T Wallas Pog T Wallas Pog is offline
Registered User
FRC #2993 (Megabots)
Team Role: Driver
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Utah
Posts: 11
T Wallas Pog is an unknown quantity at this point
Control system not reading Encoder HELP!!!

We have a us digital e4p encoder that we have wired to our Jaguar (black). We are running 2CAN and java. It worked yesterday and was reading without a problem however now there is no signal to the c-rio. We have switched encoders and on both we were able to get voltage from the encoder with a multimeter. If someone could help us we would appreciated it.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-21-2012, 04:42 PM
mtnDewey's Avatar
mtnDewey mtnDewey is offline
Starcat
AKA: Tyler Dewey
FRC #2993 (Megabots)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Logan, UT
Posts: 8
mtnDewey is an unknown quantity at this point
Re: Control system not reading Encoder HELP!!!

We're still having problems with this. Have any other teams had struggles like this?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-21-2012, 05:01 PM
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 2,960
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Control system not reading Encoder HELP!!!

To read from an encoder on a Jaguar, in your program you need to set the speed reference to quadrature encoder, the position reference to quadrature encoder, and set the counts per revolution of the encoder. Those should all be methods of the CANJaguar class. Then you should be able to read speed or position from the encoder through the jaguar. Sorry I can't tell you the exact Java methods, but I don't have the Java API on this computer.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #4   Spotlight this post!  
Unread 02-21-2012, 06:03 PM
T Wallas Pog's Avatar
T Wallas Pog T Wallas Pog is offline
Registered User
FRC #2993 (Megabots)
Team Role: Driver
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Utah
Posts: 11
T Wallas Pog is an unknown quantity at this point
Re: Control system not reading Encoder HELP!!!

Thankyou so much it works now.
Reply With Quote
Reply


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 11:53 AM.

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


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