View Single Post
  #10   Spotlight this post!  
Unread 11-01-2011, 16:43
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: How many teams plan on using CAN this year?

Quote:
Originally Posted by Bryscus View Post
Thanks for the reply. I rigged it to do something similar last year, but the issue is with encoders. If the Jag dies it forgets its last position. This requires re-initialization with the motor in the correct orientation.

One method to fix the initialization issue would be to use pots for feedback instead of encoders. OR we could continuously read the current position and use that for initializing the position upon instantiation (it defaults to 0).

- Bryce
A quick note about that:
There's currently a bug with the Jaguar firmware. The first time the "position enable" is called after the Jaguar powers up, it sets the position to 0, regardless of what you wire in.
So, if you're doing this, make sure to call "enable" twice, and just wire the value to the second one.

If you're using Black Jaguars, they will function down to 5.5v, but they need 7v to start up. The Tan Jaguars can function as low as 6v.

For your uses, however, it does sound like a potentiometer would work best.
__________________
-- Marshal Horn
Reply With Quote