Go to Post There's no crying in robotics! - TubaMorg [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

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #17   Spotlight this post!  
Unread 15-05-2015, 15:10
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,507
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Best Sensor for Unlimited Rotation Swerve

Quote:
Originally Posted by RyanShoff View Post
Because we've tested robots that violated that, and they caused lots of trouble.

Early in our swerve testing, we didn't store the offset from a known direction. So our absolute feedback was really incremental. Every time you changed batteries, rebooted, pushed code, or suffered a brown out, you had to make sure the wheels where pointed in a specific direction. That gets old really quick. Also different people would set the wheels slightly differently, or worse incorrectly.

We had another test chassis with the feedback geared 2:1 to the direction. On this one, you still had to start the robot with the wheels pointed close to straight. The robot always knew the axis of the wheel, but not which direction it would go. It was a real joy, because we tried to count the 2.5v crossings of an analog 0-5v signal. Sometimes it would miss count and the wheel would start dragging.

I cringed when I saw Andymark release their swerve modules this year with non1:1 gearing on the feedback.

So I always recommend to teams thinking about a swerve drive: Use absolute feedback and gear it 1:1 to steering rotation.

Analog or digital signaling shouldn't really matter much. But the analog sensors quoted above are the cheapest I've seen.

To Bryce2471:
We do scale the analog voltage from the datasheet to 0-5v. It still twitches, but I haven't really tried to fix it. I agree it should be an easy fix, unless maybe the sensor has trouble pulling the signal quick enough.
We ran an entire season (and seperately an offseason) with swerves that had incremental steering encoders.

We loved it. Not having any hardcoded positions was great. Could replace a module or sensor and not have to touch code.

We zero'd by hand straight and/or used a seperate zeroing sensor when we felt like it.

In the future we'd do it again but use a mechanical hardstop (deployable pin or something) to zero with a hall effect as a backup.

Not having any magic numbers in code is magical.
 


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 09:27.

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