Go to Post ...the future of FIRST is very bright with all the great students and mentors coming out of the program, staying involved, and contributing their ideas and energy. - Jason Morrella [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-07-2014, 18:10
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: Alligning swerve modules (and other problems)

This was never a problem for us throughout the season. Never noticed any slipping.
Here's my attempt at a mechanical explanation of how we did it: The wheel is attached a triangle holding box thing which is attached to a stick which is attached to a gear which is attached to another gear or something which is attached to a stick which is attached to an absolute encoder.
Sorry, I'm a programmer.

The most crippling swerve issue for us was gyro alignment, as we used a field centric system. Sometimes the gyro would just go nuts, creating a phenomenon we like to call the "drunken apple"'

After putting the gyros in a protective shock-absorbing case, we didn't have any problems with complete gyro craziness, although gyro drift was still present and annoying. We have to zero the gyro many times during a match.
This is probably the biggest problem we've had with swerve, and I'm not quite sure how to fix it.
__________________
Head Programmer / Driver

Last edited by cjl2625 : 04-07-2014 at 18:35.
  #2   Spotlight this post!  
Unread 05-07-2014, 02:16
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,224
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Alligning swerve modules (and other problems)

Hall effect sensors would be good if you are okay with wires. Otherwise, you can use a rubber tube stretched between the modules to straighten them out relative to each other before "zeroing" their encoders.The holes for the rubber tube need to be above the axle on the wheels.
I think 1640 had something on it.
  #3   Spotlight this post!  
Unread 05-07-2014, 09:27
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,367
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Alligning swerve modules (and other problems)

We use continuous rotation 360 degree absolute encoders on our coaxial modules. All modules are identical. We calibrate our modules on or off the robot. We use the convention of looking at the module from the front, the wheel sprocket is to the right. We get the wheel pointing straight forward by eye, twisting it back and forth making sure it is centered. (more lash than I like). We connect Ground and 5 volts to the sensor. Signal and ground to a volt ohm meter. We loosen up the set screw on the beam coupler and twist till we get the 0.25 - 4.75 volt crossover position. Tighten the set screw. One of our mentors made a break out board to make this easier. This also can be done by the crio and dash board. We did have problems in the past with plastic beam couplers from automation direct loosening and loosing calibration. This year we used the First choice voucher and use the Al beam couplers. No slipping. We have had arguments over calibrating to the cross over point or 2.5 volts. I don't think it matters. When things get out of calibration, the code is bad or something else is wrong, our team calls it the happy dance. The drunken apple? I think I know were that came from. I call it a grand mal seizure.
Closed Thread


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 01:44.

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