Go to Post Programming humor is funny, period. - 1168Programmer [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, 19:29
FREEZERMAN910's Avatar
FREEZERMAN910 FREEZERMAN910 is offline
Registered User
FRC #0910
 
Join Date: Jan 2011
Location: Madison Heights, Michigan
Posts: 3
FREEZERMAN910 is an unknown quantity at this point
Arm angle finder

We need a way to find the angle of our arm during a match, but we can't use a gyro or a potentiometer due to either programming error or lack of pwm cables. Please help we need to do this without using said things.
  #2   Spotlight this post!  
Unread 11-02-2011, 19:38
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,063
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
Re: Arm angle finder

i am not sure if you can. my only guess would be to use the camera to find height (by what it is seeing) and somehow deriving an angle from that.

otherwise, your choices are:

potentiometer
encoder (analog or digital)
gyro
magnet sensor (technically an encoder)
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
  #3   Spotlight this post!  
Unread 11-02-2011, 19:39
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

You could always guess... based on how long you have driven the arm... but it won't be accurate.

Why can't you use a pot? There really isn't much programming error...

Also, another option is to use limit switches.
  #4   Spotlight this post!  
Unread 11-02-2011, 19:55
joek's Avatar
joek joek is offline
Team Welder and CAD tech
FRC #2052 (KnightKrawler)
Team Role: Mechanical
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Irondale H.S.
Posts: 231
joek is an unknown quantity at this point
Re: Arm angle finder

go and buy about 20 feet worth of triple PWM, and 10 ft of double
__________________


2012 Record (13-2-0)
lake superior regional finalists- thank you WAVE (2826) and Blue Twilight (2220)
  #5   Spotlight this post!  
Unread 11-02-2011, 22:10
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Arm angle finder

Quote:
Originally Posted by joek View Post
go and buy about 20 feet worth of triple PWM, and 10 ft of double
This.

If you can't afford PWM, you're beyond helping.
__________________
Attending: MN Duluth Regional
  #6   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...
  #7   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,720
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 10:05.

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