View Single Post
  #3   Spotlight this post!  
Unread 24-07-2010, 14: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: passive reading speed and position

I'll double-check.
I know that current is updated regardless of mode, but I'm pretty sure the speed and position were not.

EDIT:
I found some interesting results.
Speed and position are not initially reported in Voltage mode. However, after enabling that mode, and then going back, it appears to work.
I'll see if I can repeat this with my code.

EDIT2:
It works with my code just fine. The Driver Station doesn't even need to be connected. Note that "position reference" and "speed reference" are still both necessary. (I tried moving the wheel while speed referencing, but it didn't seem to make a difference; it still referenced 0 as stopped.)
__________________
-- Marshal Horn

Last edited by kamocat : 24-07-2010 at 14:52.
Reply With Quote