Go to Post 1 alliance wins a given tournament but all teams teams have a chance to define, chart, and create their own success. - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-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 29-01-2011, 13:09
jhaw jhaw is offline
Registered User
FRC #0910
 
Join Date: Jan 2011
Location: Madison Heights
Posts: 1
jhaw is an unknown quantity at this point
motor pulsing in can mode

We have downloaded the code from Kamocat. When we control the cim motors through the joy sticks then motors pulse. Any thoughts.
Reply With Quote
  #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
  #3   Spotlight this post!  
Unread 31-01-2011, 00:35
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: motor pulsing in can mode

My mistake. I stand corrected. I think I'll delete the entire post so as not to confuse any later readers.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2011, 20:00
ASHpwnall ASHpwnall is offline
Registered User
FRC #0910
 
Join Date: Jan 2011
Location: Madison Height MI
Posts: 2
ASHpwnall is an unknown quantity at this point
Re: motor pulsing in can mode

I Speak for our Team 910? We "Fixed" the problem... i don't know how but i was told to post it because jhaw cannot log in to ChiefDelphi... so no need to worry!
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 17:50.

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


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