Go to Post Hundreds of teams. Thousands of students. Countless memories. Infinite fun. You'll love it, I promise you that. - smurfgirl [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 01-03-2014, 18:07
bbradf44's Avatar
bbradf44 bbradf44 is offline
Registered User
AKA: Brad
FRC #3344 (Robocopz)
Team Role: Driver
 
Join Date: May 2013
Rookie Year: 2011
Location: Peachtree City
Posts: 111
bbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nice
Variable thrower

We have a motor driven thrower arm driven by a 2 cim gearbox on jags. We are trying to make it so a camera of some sort reads the distance and adjusts the power of the thrower accordingly. How would we go about doing that in both electrical and programing?
We have an axis camera, kinect, rasbery pi(were not entirely sure how to legally use it so instructions for that would be helpful as well) and an encoder on the gearbox running the thrower
__________________
2011: FRC 1922 Team Member
2012 (Build weeks 1-3): FRC 1922 Team Member

2012 (Weeks 4-Competition): FRC 3344 Mechanic and Pit Crew
2013: FRC 3344 Mechanical Lead and Head Driver
2014: FRC 3344 Team Captain and Head Driver

Record as driver: 7-11-0 and Proud of it
  #2   Spotlight this post!  
Unread 01-03-2014, 19:09
Jeffy's Avatar
Jeffy Jeffy is offline
Retired, for now
AKA: Jeff Gier
FRC #2410 (Metal Mustang Robotics) #159 (Alpine Robotics)
Team Role: College Student
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Fort Collins
Posts: 523
Jeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant future
Re: Variable thrower

Quote:
Originally Posted by bbradf44 View Post
We have a motor driven thrower arm driven by a 2 cim gearbox on jags. We are trying to make it so a camera of some sort reads the distance and adjusts the power of the thrower accordingly. How would we go about doing that in both electrical and programing?
We have an axis camera, kinect, rasbery pi(were not entirely sure how to legally use it so instructions for that would be helpful as well) and an encoder on the gearbox running the thrower
My understanding of how a camera distance sensing works:
1. Use a light to light up the retro reflective material.
2. Use camera and software to detect and measure the size of the retro reflective material
3. use this data to triangulate your distance

OR I suggest you use an ultrasonic sensor
The process
1. mount sensor high
2. read voltage from signal
3. use calibration factor to know how far you are.
These sensors are pretty darn accurate.
I would find another supplier than robotmarketplace because of ship time, but other than that, this is a great sensor.

OR
Create a mechanism with the so called "sweet-spot" so that you can use the same power, but score from many locations with the same exact shot pattern.
__________________
Metal Mustang Robotics 2410 (2008-2011)
2008 STL Rookie All-Star
2010 GKC Finalists
2010 OKC Champions
Alpine Robotics 159 (2012-)
2012 CO Finalists

700 miles from home, 2 miles from FRC. Life is good.
  #3   Spotlight this post!  
Unread 01-03-2014, 19:41
rwkling1's Avatar
rwkling1 rwkling1 is offline
Registered User
FRC #2977 (Sir Lancer Bots)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Minnesota
Posts: 143
rwkling1 has a spectacular aura aboutrwkling1 has a spectacular aura about
Re: Variable thrower

I would say (like Jeffy did above), make a sweet spot for your shooter, I realize you guys made this device so you can shoot from multiple places, but you can get the same effect by creating a good arc from your ball. It simplifies everything and yet is very effective
  #4   Spotlight this post!  
Unread 01-03-2014, 21:56
bbradf44's Avatar
bbradf44 bbradf44 is offline
Registered User
AKA: Brad
FRC #3344 (Robocopz)
Team Role: Driver
 
Join Date: May 2013
Rookie Year: 2011
Location: Peachtree City
Posts: 111
bbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nice
Because of weather we actually created our thrower in our 45lb withholding allowance. We weren't expecting to be able to vary the power but after finishing and testing today we found it has far more speed and power than we thought. Do you know of any way we can use a kinect and rasbery pi?
__________________
2011: FRC 1922 Team Member
2012 (Build weeks 1-3): FRC 1922 Team Member

2012 (Weeks 4-Competition): FRC 3344 Mechanic and Pit Crew
2013: FRC 3344 Mechanical Lead and Head Driver
2014: FRC 3344 Team Captain and Head Driver

Record as driver: 7-11-0 and Proud of it
  #5   Spotlight this post!  
Unread 01-03-2014, 22:23
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Variable thrower

Quote:
Originally Posted by bbradf44 View Post
Because of weather we actually created our thrower in our 45lb withholding allowance. We weren't expecting to be able to vary the power but after finishing and testing today we found it has far more speed and power than we thought. Do you know of any way we can use a kinect and rasbery pi?
It'd be hard to put together quickly.....when's your first regional?
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #6   Spotlight this post!  
Unread 01-03-2014, 22:27
bbradf44's Avatar
bbradf44 bbradf44 is offline
Registered User
AKA: Brad
FRC #3344 (Robocopz)
Team Role: Driver
 
Join Date: May 2013
Rookie Year: 2011
Location: Peachtree City
Posts: 111
bbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nice
We have until Peachtree. I wasn't sure if we would be able to pull it off but we have some very skilled programmers and Linux guys so I figured it was worth a shot. We also need to know how to get the pi to communicate with the crio legally
__________________
2011: FRC 1922 Team Member
2012 (Build weeks 1-3): FRC 1922 Team Member

2012 (Weeks 4-Competition): FRC 3344 Mechanic and Pit Crew
2013: FRC 3344 Mechanical Lead and Head Driver
2014: FRC 3344 Team Captain and Head Driver

Record as driver: 7-11-0 and Proud of it
  #7   Spotlight this post!  
Unread 01-03-2014, 22:31
bbradf44's Avatar
bbradf44 bbradf44 is offline
Registered User
AKA: Brad
FRC #3344 (Robocopz)
Team Role: Driver
 
Join Date: May 2013
Rookie Year: 2011
Location: Peachtree City
Posts: 111
bbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nice
We are also planning to use a different laptop for our driver station so if it would be easier to put our classmate on the robot and do it that way we can look into that. I don't know how to do that legally either though. This is the first time my team has experimented with raspi or on board computers for processing
__________________
2011: FRC 1922 Team Member
2012 (Build weeks 1-3): FRC 1922 Team Member

2012 (Weeks 4-Competition): FRC 3344 Mechanic and Pit Crew
2013: FRC 3344 Mechanical Lead and Head Driver
2014: FRC 3344 Team Captain and Head Driver

Record as driver: 7-11-0 and Proud of it
  #8   Spotlight this post!  
Unread 01-03-2014, 22:38
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Variable thrower

Quote:
Originally Posted by bbradf44 View Post
We have until Peachtree. I wasn't sure if we would be able to pull it off but we have some very skilled programmers and Linux guys so I figured it was worth a shot. We also need to know how to get the pi to communicate with the crio legally
You could have the pi send I2C(not sure if Pi does this), analog voltage proportional to a distance or even use DIO to use timing and see how long the time between pulses is (similar to what a true ultrasonic does)..

many options....I'm not too good with network tables but you could also use network tables as an option..

EDIT: and yes you could put your classmate on the robot
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #9   Spotlight this post!  
Unread 01-03-2014, 22:42
bbradf44's Avatar
bbradf44 bbradf44 is offline
Registered User
AKA: Brad
FRC #3344 (Robocopz)
Team Role: Driver
 
Join Date: May 2013
Rookie Year: 2011
Location: Peachtree City
Posts: 111
bbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nice
How would we put the classmate on the robot? Is there a paper or something I can go to where it explains it in detail?
__________________
2011: FRC 1922 Team Member
2012 (Build weeks 1-3): FRC 1922 Team Member

2012 (Weeks 4-Competition): FRC 3344 Mechanic and Pit Crew
2013: FRC 3344 Mechanical Lead and Head Driver
2014: FRC 3344 Team Captain and Head Driver

Record as driver: 7-11-0 and Proud of it
  #10   Spotlight this post!  
Unread 01-03-2014, 22:46
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Variable thrower

Quote:
Originally Posted by bbradf44 View Post
How would we put the classmate on the robot? Is there a paper or something I can go to where it explains it in detail?
Not sure but if you want to do RPi processing....I think Yash101 has created code to determine distance to the retroflective tape

http://www.chiefdelphi.com/media/photos/39569

Driver side code might be a bette roption
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #11   Spotlight this post!  
Unread 01-03-2014, 22:51
Jeffy's Avatar
Jeffy Jeffy is offline
Retired, for now
AKA: Jeff Gier
FRC #2410 (Metal Mustang Robotics) #159 (Alpine Robotics)
Team Role: College Student
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Fort Collins
Posts: 523
Jeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant future
Re: Variable thrower

Using camera (or kinect) vision is seriously over complicating this problem. You only need to know distance to the wall. So, don't use something designed to give you distance, shapes and color.

If you are going for the hot goals though, vision could be helpful. I bet you could detect them without it though.
__________________
Metal Mustang Robotics 2410 (2008-2011)
2008 STL Rookie All-Star
2010 GKC Finalists
2010 OKC Champions
Alpine Robotics 159 (2012-)
2012 CO Finalists

700 miles from home, 2 miles from FRC. Life is good.
  #12   Spotlight this post!  
Unread 01-03-2014, 22:53
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Variable thrower

Quote:
Originally Posted by Jeffy View Post
If you are going for the hot goals though, vision could be helpful. I bet you could detect them without it though.
*cough* kinect *cough*
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #13   Spotlight this post!  
Unread 01-03-2014, 22:54
bbradf44's Avatar
bbradf44 bbradf44 is offline
Registered User
AKA: Brad
FRC #3344 (Robocopz)
Team Role: Driver
 
Join Date: May 2013
Rookie Year: 2011
Location: Peachtree City
Posts: 111
bbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nicebbradf44 is just really nice
Quote:
Originally Posted by Jeffy View Post
Using camera (or kinect) vision is seriously over complicating this problem. You only need to know distance to the wall. So, don't use something designed to give you distance, shapes and color.

If you are going for the hot goals though, vision could be helpful. I bet you could detect them without it though.
All I need is distance to the wall. But we don't have funds to get a fancy range sensor so we were thinking we could get that data from the kinect. We actually don't need any video at all
__________________
2011: FRC 1922 Team Member
2012 (Build weeks 1-3): FRC 1922 Team Member

2012 (Weeks 4-Competition): FRC 3344 Mechanic and Pit Crew
2013: FRC 3344 Mechanical Lead and Head Driver
2014: FRC 3344 Team Captain and Head Driver

Record as driver: 7-11-0 and Proud of it
  #14   Spotlight this post!  
Unread 01-03-2014, 22:55
Jeffy's Avatar
Jeffy Jeffy is offline
Retired, for now
AKA: Jeff Gier
FRC #2410 (Metal Mustang Robotics) #159 (Alpine Robotics)
Team Role: College Student
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Fort Collins
Posts: 523
Jeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant futureJeffy has a brilliant future
Re: Variable thrower

Quote:
Originally Posted by geomapguy View Post
*cough* kinect *cough*
I don't get it. The kinect is surely an option. But as I said, I think it is a more complex solution than is needed.
Are we having a conversation, or are we just saying words?

Quote:
Originally Posted by bbradf44 View Post
All I need is distance to the wall. But we don't have funds to get a fancy range sensor so we were thinking we could get that data from the kinect. We actually don't need any video at all
The sensor is not "fancy" by any means of its implementation. And some ultrasonic sensors cost as little as 5 dollars.
__________________
Metal Mustang Robotics 2410 (2008-2011)
2008 STL Rookie All-Star
2010 GKC Finalists
2010 OKC Champions
Alpine Robotics 159 (2012-)
2012 CO Finalists

700 miles from home, 2 miles from FRC. Life is good.

Last edited by Jeffy : 01-03-2014 at 22:58.
  #15   Spotlight this post!  
Unread 01-03-2014, 23:09
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Variable thrower

Quote:
Originally Posted by Jeffy View Post
I don't get it. The kinect is surely an option. But as I said, I think it is a more complex solution than is needed.
Are we having a conversation, or are we just saying words?



The sensor is not "fancy" by any means of its implementation. And some ultrasonic sensors cost as little as 5 dollars.
You don't have to use the kinect in a complex situation for hot goal detection...you can just use human eyes

And yes many teams forget that we got a $35 voucher to a sonar sensor company...maxbotix
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
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 15:35.

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