View Single Post
  #2   Spotlight this post!  
Unread 29-01-2011, 21:31
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: motor pulsing in can mode

Sure.
I'm assuming your Jaguars have the correct device IDs. (11 and 12 for Left and Right drive)

The code I provide is in Speed mode, meaning it requires encoders to be connected.
I can provide pictures if that would help.

Assuming those are set up correctly, the issue is probably related to PID tuning. I've recently changed the PID tuning to be a lot more controllable at low speeds. (P is now 0.3 and I is 0.01. D is still zero)

If none of those are the issue, I'll need to know more information.

Where did you download the code from? If it's GitHub, I'll also need to know the approximate date, as that is a working repository.


Thanks!
__________________
-- Marshal Horn
Reply With Quote