Go to Post Dangit Jim, we are engineers not politicians. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 17-01-2012, 12:46
MikeS23 MikeS23 is offline
Registered User
AKA: Michael Sepanik
FRC #0904 (D Cubed)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Grand Rapids MI
Posts: 2
MikeS23 is an unknown quantity at this point
PID Controller

Okay so ive been messing with one of our test robots and i noticed that some of the motors are going faster than other motors i was wondering how to implement a PID controller using Encoders to make all of the motors run at the same frequency can someone show me an example of some code in labVEIW of how to do that?
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2012, 13:58
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: PID Controller

Do you have the capability to do CAN? If you do, you can simply use the jaguar's built-in PID controls. You initialize all of the motors and apply their PID values in Begin.vi, and the encoders plug into the Jags. This also reduces the number of PWM cables running around your robot!
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2012, 14:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PID Controller


Quote:
Originally Posted by zaphodp.jensen View Post
Do you have the capability to do CAN? If you do, you can simply use the jaguar's built-in PID controls.
Have you ever successfully tuned the Jag's speed controller for a drivetrain?

If so, please share your experience here:

http://www.chiefdelphi.com/forums/sh...d.php?t=100135

Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2012, 17:14
MikeS23 MikeS23 is offline
Registered User
AKA: Michael Sepanik
FRC #0904 (D Cubed)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Grand Rapids MI
Posts: 2
MikeS23 is an unknown quantity at this point
Re: PID Controller

for the robot im doing this on it has all victors but thanks i can use that for this years robot
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 22:26.

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