Go to Post "I'm not going to tell you all that you all are winners. At this point you are smart enough to know whether you are or you aren't." -Woodie Flowers - Barry Bonzack [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-01-2010, 18:06
xtenext's Avatar
xtenext xtenext is offline
rawr uba scary-man
FRC #2594 (NASKCOrpion)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Idaho
Posts: 7
xtenext will become famous soon enoughxtenext will become famous soon enough
Send a message via MSN to xtenext
Question How to force encoder values to equal a formula?

I'm using Labview to try to program a swerve drive. I need the encoder values to match up with one of my formula script. If you know how please reply.
__________________
:|
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2010, 18:33
xtenext's Avatar
xtenext xtenext is offline
rawr uba scary-man
FRC #2594 (NASKCOrpion)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Idaho
Posts: 7
xtenext will become famous soon enoughxtenext will become famous soon enough
Send a message via MSN to xtenext
Re: How to force encoder values to equal a formula?

i know i have to use PIDs, but are there any specifics or sugestions from anyone?
__________________
:|
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2010, 18:55
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: How to force encoder values to equal a formula?

I think your original wording is a little confusing ... but I think I'm gathering your intent. You know where you WANT it to go (the formulas), but need tips on getting it to do what you want. Right?

... you don't "force encoder values". You vary the input controls to the motors and the encoders are the sensors that provide the feedback to our control loops.


There's a really good paper on PID by Tim Wescott ... called PID without a PhD. It'll get you started. Then keep asking questions. That's what we're here for.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics

Last edited by Ziaholic : 30-01-2010 at 18:57.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2010, 20:04
xtenext's Avatar
xtenext xtenext is offline
rawr uba scary-man
FRC #2594 (NASKCOrpion)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Idaho
Posts: 7
xtenext will become famous soon enoughxtenext will become famous soon enough
Send a message via MSN to xtenext
Re: How to force encoder values to equal a formula?

ok we solved it (without that long pdf). now how do i close this thread?
__________________
:|
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2010, 22:44
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: How to force encoder values to equal a formula?

Just leave it alone, don't water it, and the thread will die off naturally.

Bye!

(PS: That "long PDF" is one of the best papers on the topic of making something work with a PID loop. It actually might be worth reading. Even more if your system isn't doing what you expect it to do)
__________________

I am N2IRZ - What's your callsign?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Encoder Values in the Dashboard Kyledoo C/C++ 8 09-02-2010 12:07
How to force break a loop kamocat NI LabVIEW 5 12-04-2009 08:14
Optical encoder not returning values MBernstein Motors 11 09-02-2009 22:10
Servo Values to Degrees... How? mogunus Programming 16 11-04-2007 02:03
How much force to push the ramp? archiver 2001 1 23-06-2002 22:44


All times are GMT -5. The time now is 04:22.

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