Go to Post I must caution against using my sense of humor as any sort of litmus test for good taste. - dlavery [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, 3.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-02-2012, 18:45
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

Thats what i told everyone when we started doing this that the swerve drive would be a good summer project i was against doing it as our programming has been simplified before so that we wouldnt need many sensors however they seemed to think it would be a good idea to try it this year
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2012, 18:47
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: HELP Swerve Drive!!!!!

Quote:
Originally Posted by beandip3160 View Post
Thats what i told everyone when we started doing this that the swerve drive would be a good summer project i was against doing it as our programming has been simplified before so that we wouldnt need many sensors however they seemed to think it would be a good idea to try it this year
Hey, look on the bright side. Every cloud has a silver lining: think how much you'll learn.


Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2012, 18:49
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

my thoughts exactly because of swerve ive done work with encoders and potentiometers now
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2012, 19:14
Blondie3160 Blondie3160 is offline
Registered User
FRC #3160 (F.R.O.G.)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Grove, OK
Posts: 21
Blondie3160 is an unknown quantity at this point
Re: HELP Swerve Drive!!!!!

our team burnt our pot up
__________________
Blondie3160
Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2012, 19:31
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

how do you use encoders with a PID example because I just found out that we cant use them on our bot
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2012, 22:04
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: HELP Swerve Drive!!!!!

I've got little experience with PID, however it's easy to calculate where you are, the error in your system, and set an output based on said error.

I don't have access to a machine with LabView on it tonight, however if you PM me I can send you an example of correction without PID.
Reply With Quote
  #7   Spotlight this post!  
Unread 18-02-2012, 22:51
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

Ok I will thanks
Reply With Quote
  #8   Spotlight this post!  
Unread 20-02-2012, 20:52
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

Quote:
Originally Posted by beandip3160 View Post
how do you use encoders with a PID example because I just found out that we cant use them on our bot
this statement is no longer valid as we have solved this problem
Reply With Quote
  #9   Spotlight this post!  
Unread 21-02-2012, 17:15
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

The pot was mounted wrong the PID works great thanks to Ether, DominickC, and Matt Krass. Thanks everyone for all the help
Reply With Quote
  #10   Spotlight this post!  
Unread 19-02-2012, 02:08
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,188
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: HELP Swerve Drive!!!!!

Quote:
Originally Posted by Blondie3160 View Post
our team burnt our pot up
How did that happen? Mechanical or electrical overload? If it was hooked up to the analog breakout properly, electrical load probably would not have been an issue, but I also don't see how a mechanical failure would cause it to burn up without going wicked fast (its a technical term ).
__________________
Reply With Quote
  #11   Spotlight this post!  
Unread 19-02-2012, 16:28
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

well actually we had it wired wrong it wasnt until yesterday that we found out that they plug into the analog breakout on the cRIO
Reply With Quote
  #12   Spotlight this post!  
Unread 20-02-2012, 20:21
beandip3160's Avatar
beandip3160 beandip3160 is offline
Registered User
FRC #3160
 
Join Date: Jan 2011
Location: grove, oklahoma
Posts: 54
beandip3160 is on a distinguished road
Re: HELP Swerve Drive!!!!!

I'm using the example by team 358, and have figured out the min and max on our pot however the wheels arent doing what i want they are just spinning continuously. Would it have something to do with the gains
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 20:13.

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