View Single Post
  #12   Spotlight this post!  
Unread 08-11-2010, 20:17
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: Joystick motion to CAN connected jaguar

The "get position" reporting zero is one of the bugs in the current Jaguar firmware.
"get position" reports zero until the position reference has been set and Position Mode has been enabled. After that, you can read position in any mode.
Likewise, "get speed" reports zero until the speed reference has been set and Speed Mode has been enabled.

Additionally, "get speed" always reports positive, regardless of the direction the encoder is turning. However, speed mode works just fine in a negative direction.
__________________
-- Marshal Horn
Reply With Quote