Go to Post We want to win, but we would prefer to do so with a great partner team, not just a great partner robot. - Zach Purser [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 11-02-2011, 22:12
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Arm angle finder

Quote:
Originally Posted by theprgramerdude View Post
This.

If you can't afford PWM, you're beyond helping.
Well, it COULD be they ran out of slots on the IO Board.

Although, I believe you are allowed to use a second one...
  #2   Spotlight this post!  
Unread 11-02-2011, 22:40
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,813
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Arm angle finder

Guys, this question is from the team that ran the "Brother's Keeper" automode back in 2007. That automode is one of the most complex ones to ever be attempted to date, and only one team ever managed to run it successfully. Something is going wrong if they're having trouble with both a gyro and a pot.

First question: What code are you using for pot/gyro reading?
Second question: What is the reason for the lack of PWM cables? Are you simply using CAN?

If you need a good temporary solution, I'd go with a gear tooth sensor of some form. (You could do it with a magnetic one, or build a beam-break sensor, or something much crazier.) You know which direction the arm is supposed to be moving, by motor direction command or by gravity in the absence of that command. You set the count to a known value at the start of the match, so you have a reference point. Now you count teeth. Each tooth is some number of degrees on the sprocket/gear/whatever you're measuring with. Now you know how many degrees and which direction.

It's not quite as good as a pot, but it should do the trick.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

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 03:26.

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