Go to Post I want to understand the physics. - Molten [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 24-03-2013, 15:06
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 71
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Controlling variance in drive train

We researched this. One solution is to make one side the master, and the other the slave.
You drive the master as you would normally, it's encoder output is the the PID target value for the slave.

Then if the slave is running slower than the master, the PID ensures it speeds up, and vice versa.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-06-2013, 17:39
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: Controlling variance in drive train

I've been wondering how exactly this would be done with Mecanum wheels.
Quote:
make one side the master, and the other the slave
We did something like this for our drive, except for us the master was the motor which spun slowest at full speed and the slave was the fastest motor, so they would occasionally switch while driving.
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2014, 02:14
puneeth.meruva puneeth.meruva is offline
MIT Class of 2019
AKA: Puneeth Meruva
FRC #1501 (Team T.H.R.U.S.T)
Team Role: Alumni
 
Join Date: Oct 2013
Rookie Year: 2012
Location: Fort Wayne, Indiana
Posts: 36
puneeth.meruva will become famous soon enoughpuneeth.meruva will become famous soon enough
Re: Controlling variance in drive train

We are a rookie team and we are trying to use java to program our robot. We are noticing that in both auton and teleop, the robot is drifting. Several of you have mentioned using PID's and either encoders or gyros. Could someone post sample code of how to do any of the aforementioned solutions for a 6-wheel drive?
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2014, 08:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
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: Controlling variance in drive train

Quote:
Originally Posted by puneeth.meruva View Post
We are a rookie team and we are trying to use java to program our robot. We are noticing that in both auton and teleop, the robot is drifting. Several of you have mentioned using PID's and either encoders or gyros. Could someone post sample code of how to do any of the aforementioned solutions for a 6-wheel drive?
You could try this.


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 05:28.

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