Go to Post I believe youth is contagious. I want to catch as much as I can! - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2017, 01:49
david cobbley david cobbley is offline
David
FRC #4488 (Shockwave)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2006
Location: Hillsboro
Posts: 8
david cobbley is an unknown quantity at this point
Team 4488 Shockwave - 2016 Code

Team 4488 is proud to share our 2016 source code for our robot - Eclipse!

This was the first year our team attempted to write our robot code in Java: https://github.com/shockwave4488/FRC-2016-Java
And here is our camera code - Written in C#: https://github.com/shockwave4488/FRC-2016-Camera

Please feel free to ask questions!
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2017, 07:34
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 64
gerthworm has a spectacular aura aboutgerthworm has a spectacular aura about
Re: Team 4488 Shockwave - 2016 Code

Nice! Looks like you have a pressure sensor in your code, and it's being used to adjust the RPM of the shooter? Assuming so, what kind of sensor did you use, and how useful was it?
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2017, 09:56
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 289
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: Team 4488 Shockwave - 2016 Code

I'm curious why you decided to use C# for your camera code. Why not C++ or Python? Did you create a WinForm with Visual Studio or something similar?
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2017, 18:27
Nbot's Avatar
Nbot Nbot is offline
Registered User
FRC #4488 (ShockWave)
Team Role: Electrical
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Oregon
Posts: 11
Nbot is an unknown quantity at this point
Re: Team 4488 Shockwave - 2016 Code

Quote:
Originally Posted by gerthworm View Post
Nice! Looks like you have a pressure sensor in your code, and it's being used to adjust the RPM of the shooter? Assuming so, what kind of sensor did you use, and how useful was it?
We used this https://www.adafruit.com/products/1075 pressure sensor from Adafruit. The idea was to use it to detect how stiff the ball was and adjust shooter RPM accordingly. However, we were never able to get the sensor to give us consistent enough values to be useful so that functionality was never used in competition.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-01-2017, 18:52
mwmac's Avatar
mwmac mwmac is offline
JWBWIFWWWADD
AKA: Mike MacLean
FRC #2122 (Team Tators)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2008
Location: "Wasteland", Idaho
Posts: 661
mwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond reputemwmac has a reputation beyond repute
Re: Team 4488 Shockwave - 2016 Code

Quote:
Originally Posted by Nbot View Post
We used this https://www.adafruit.com/products/1075 pressure sensor from Adafruit. The idea was to use it to detect how stiff the ball was and adjust shooter RPM accordingly. However, we were never able to get the sensor to give us consistent enough values to be useful so that functionality was never used in competition.
We used a similar but smaller sensor to characterize balls as they entered the picker mouth of our offseason robot, "Rotator". We were able to characterize balls into 3 categories and assign differing shooter wheel speeds accordingly.
__________________
2016 Carson W 2122, 2052, 3538, 41, AZ North W 2122, 125, 498, MQA, Idaho F 2122, 3250, 3513, MQA, CCC W 2122, 9122, 6174, ICA
2015 Tesla SF IDA 2122, 3360, 2960, 1311 IRI SF 2338, 2122, 107, 234 UT F 2122, 3230, 3405, EEA, WFFA, AZ West W 2122, 3309, 5059, ICA
2014 Galileo QF 1717, 2122, 3683, 193 UT W 2122, 2996, 3191, ICA, CCC W 1678, 2122, 9073, ICA
2013 CalGames W 2122, 1678, 4171, Judges Award
2012 Newton QF 2122, 610, 488 Spokane W 2122, 1983, 4082, EEA
2011 Newton SF 1730, 2122, 11 IRI F 3138, 16, 2122, 1730, UT W 2122, 399, 3239, MQA, Seattle F 2122, 488, 2850, MQA
2010 Galileo SF 78, 51, 2122 UT W 1696, 2122, 3405, IDA, Sacramento F 2122, 2035, 1834, IDA,
2009 Sacramento F 2144, 692, 115, 2122, MQA
2008 Newton Sacramento W 2122, 1662, 115, CA
2007 PNW Regional Highest Rookie Seed
"Enjoying traveling to more distant events" since 2007
Reply With Quote
Reply


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 00:52.

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