Go to Post Programming team motto: If it doesn't work, use a bigger hammer. - WizenedEE [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

 
Closed Thread
Thread Tools Rating: Thread Rating: 57 votes, 4.93 average. Display Modes
  #61   Spotlight this post!  
Unread 11-04-2014, 15:37
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Quote:
Originally Posted by DjScribbles View Post
I just wanted to post back and say I got the C++ port up and running (with minimal changes).

https://github.com/FirstTeamExcel/Ro...sionServer.cpp

Feel free to shamelessly steal the code, but I'd love to hear if it helps anyone out.
Have you tested this on a robot? If so I can add it to the repo.

Also it doesn't look like you have a runner thread within the object. Are you running it externally? If so could you post that code as well?

Last edited by Tom Bottiglieri : 11-04-2014 at 15:40.
  #62   Spotlight this post!  
Unread 11-04-2014, 22:01
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Thank you very much for posting this. Within an hour of showing this to our programmer, we had it fully operational with our 1 ball.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #63   Spotlight this post!  
Unread 11-04-2014, 22:53
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Team 254 Presents: CheesyVision

Quote:
Originally Posted by Tom Bottiglieri View Post
Have you tested this on a robot? If so I can add it to the repo.

Also it doesn't look like you have a runner thread within the object. Are you running it externally? If so could you post that code as well?
Yes, we've got the code up and running, it is working great. I can try to put together an example project to wrap the vision server code on Monday or so.

The object implements a thread for reading from the IO stream by inheriting from jankyTask, the Run method is the wrapped threading function.
  #64   Spotlight this post!  
Unread 12-04-2014, 18:55
TravSatEE's Avatar
TravSatEE TravSatEE is offline
Spacecraft Engineer and more
FRC #2035 (Robo Rockin' Bots)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Monterey, CA
Posts: 26
TravSatEE is infamous around these partsTravSatEE is infamous around these parts
Re: Team 254 Presents: CheesyVision

I think it is very kind of your team to post this publicly. The use of a built-in camera on the driver station is a very good choice for getting a human in the loop and you've sparked some thinking for Chief Delphi that will last for seasons to come.

After looking through the posted code repository, I have to ask: what is Team 254's philosophy on student involvement? The two contributors on github appear to be your mentors and the level of programming skill is also not commonly found in high school students. Have I missed the student involvement in this?

I'm not making any sort of accusation that Team 254 has done something wrong or is not following rules. I am just surprised that for a high school competition the high-visibility work from your team seems to be mentor-only. I believe the announcer at Silicon Valley said that Team 254 won the regional for 15 of the last 16 years. This is impressive and clearly your team is doing something that ensures a solid victory record.
__________________
I have a doctoral degree in electrical engineering. My FIRST mentoring philosophy is to encourage student-led activities and create a level playing field among all teams. I believe this approach results in an exciting game, rather than emphasis on a handful of dominant teams.

FIRST FRC Teams that I have mentored: 612, 342, 2035, and 5104. FIRST FRC Teams that I have helped through build seasons: 4171, 4255, and 5171.
  #65   Spotlight this post!  
Unread 12-04-2014, 19:20
Unsung FIRST Hero
Karthik Karthik is offline
VEX Robotics GDC Chairman
no team
Team Role: Mentor
 
Join Date: Apr 2002
Rookie Year: 1998
Location: Toronto, Ontario, Canada
Posts: 2,346
Karthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Quote:
Originally Posted by TravSatEE View Post
After looking through the posted code repository, I have to ask: what is Team 254's philosophy on student involvement? The two contributors on github appear to be your mentors and the level of programming skill is also not commonly found in high school students. Have I missed the student involvement in this?

I'm not making any sort of accusation that Team 254 has done something wrong or is not following rules. I am just surprised that for a high school competition the high-visibility work from your team seems to be mentor-only. I believe the announcer at Silicon Valley said that Team 254 won the regional for 15 of the last 16 years. This is impressive and clearly your team is doing something that ensures a solid victory record.
Having had the opportunity to interact with Team 254 over the years, and especially this season, I can assure you that both high and low visibility work on their team is far from mentor only. The students are involved and integrated throughout their entire process. The strength of their partnerships is not only evidenced by their unparalleled victory record, but also by their place in the FIRST Hall of Fame as a Championship Chairman's Award Winning team.
__________________
:: Karthik Kanagasabapathy ::
"Enthusiasm is one of the most powerful engines of success. When you do a thing, do it with all your might. Put your whole soul into it. Stamp it with your own personality. Be active, be energetic, be enthusiastic and faithful and you will accomplish your object. Nothing great was ever achieved without enthusiasm" -- R.W. Emerson
My TEDx Talk - The Subtle Secrets of Success
Full disclosure: I work for IFI and VEX Robotics, and am the Chairman of the VEX Robotics and VEX IQ Game Design Committees
.
  #66   Spotlight this post!  
Unread 12-04-2014, 21:49
TravSatEE's Avatar
TravSatEE TravSatEE is offline
Spacecraft Engineer and more
FRC #2035 (Robo Rockin' Bots)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Monterey, CA
Posts: 26
TravSatEE is infamous around these partsTravSatEE is infamous around these parts
Re: Team 254 Presents: CheesyVision

Quote:
Originally Posted by Karthik View Post
I can assure you that both high and low visibility work on their team is far from mentor only. The students are involved and integrated throughout their entire process.
I asked the Team 254 mentors what the involvement is on this particular project by the students with interest in their broader philosophy on the matter. Indeed in their other public repositories the students have contributed and from seeing them in competition, I know that the students are involved. However, I don't see any obvious indicators for the CheesyVision that students were involved. The workmanship makes it apparent to a casual observer as to who did the work. I believe that I asked an earnest question that they can answer. I am just surprised that the student involvement was not overwhelmingly apparent on this one project given they are such a substantial team (as you also indicated).
__________________
I have a doctoral degree in electrical engineering. My FIRST mentoring philosophy is to encourage student-led activities and create a level playing field among all teams. I believe this approach results in an exciting game, rather than emphasis on a handful of dominant teams.

FIRST FRC Teams that I have mentored: 612, 342, 2035, and 5104. FIRST FRC Teams that I have helped through build seasons: 4171, 4255, and 5171.
  #67   Spotlight this post!  
Unread 13-04-2014, 00:53
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

This was forked from our teams' FRC 2014 repository just for public release. It is different from what we competed with last weekend (it removed some team-specific features, streamlined some quick hacks, and added a ton of comments). Mentors went over the code with a fine-toothed comb before making it public. This was deliberate.

While our students are intricately involved in our teams' software (more on this below), we are talking about releasing code to the entire FIRST community DURING the competition season. A fairly high bar is required for teams to be able to understand, use, and trust the code in time for their next competition - we certainly don't want to be breaking other teams' robots. I personally made (and stand behind) the decision to go mentor heavy on this particular project for this reason. (To be clear, I fully believe that our students could have made just as polished a product, but I thought that an expedient release would be ultimately more important.)

It might be software, but this is just another COTS module that you can choose to use (or ignore). Like an AM Shifter or a VEXpro VersaPlanetary, I believe that putting a high quality component in the hands of a student is a vehicle for inspiration.

Quote:
Originally Posted by TravSatEE View Post
However, I don't see any obvious indicators for the CheesyVision that students were involved. The workmanship makes it apparent to a casual observer as to who did the work.
This is a dangerous line of thinking for two reasons.

First, never judge a book by its cover. Every year I am amazed at what students are capable of. This year, there are some very gifted programmers on 254. They wrote a RESTful webserver on our cRIO (that ultimately provided the TCP server part of CheesyVision). One of them - and this still absolutely blows my mind to think about - designed and implemented a quintic spline trajectory planner for our autonomous driving routine. I explained the basic concept, then sat back as he did the math, derived the differential equations, and gave me working code. Just awesome.

Second reason: An anecdote. One of my earliest posts on Chief Delphi was in this thread. It was 2003, and WildStang had just posted about StangPS, a really sophisticated navigation system that I was sure had to be engineer-built (just look at my posts!). I was a senior in high school at the time. I thought my gyro-based autonomous mode was pretty nifty, but was blown away by StangPS. I watched their video dozens of times, enthusiastically emailed it to my programming mentor at the time, and was just totally fascinated with it. I ended up reading about odometry and dead reckoning, using interrupts to read optical encoders, Kalman filters, and all sorts of other concepts that I didn't fully understand as a high schooler, but found really, really cool.

While at the time I was a little peeved that here I was, a high school student writing all of 341's code while these other teams had teams of engineers, in hindsight I cannot thank 111 enough for raising the bar and for sharing what they did. I was inspired and in some permanent and positive way, my life was shaped by it. While a little Python script for processing a webcam image is by no means as impressive as complete robot navigation system, my hope is that at least a few students will give it a look and see something they think is cool and want to learn more about later.

Last edited by Jared Russell : 13-04-2014 at 00:59.
  #68   Spotlight this post!  
Unread 13-04-2014, 05:11
TravSatEE's Avatar
TravSatEE TravSatEE is offline
Spacecraft Engineer and more
FRC #2035 (Robo Rockin' Bots)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Monterey, CA
Posts: 26
TravSatEE is infamous around these partsTravSatEE is infamous around these parts
Re: Team 254 Presents: CheesyVision

Quote:
Originally Posted by Jared Russell View Post
First, never judge a book by its cover.
I did not judge the book by the cover. At the Madera regional, my team stayed at the same hotel as Team 254. On Friday night, one of your students interacted with my students and said that being on your team isn't as much fun because of the work done by the mentors. This was told to me the next day and I was surprised by a comment like that about such a highly regarded team. Seeing your CD post this weekend, I decided to investigate for myself.

I had expected that your project was forked and that was why I asked for clarification as to what the students did. Instead, your answer wasn't completely clear to me as to exactly what the students did for CheesyVision. I do understand that it was "mentor heavy." Though you couldn't tell the differences between student and mentor effort when you were in high school, I trust my judgment because I have done programming for 18 years and know the subtle differences in programming skills at all levels. I do think very highly of the work you released to all teams. I am sure students also do.

Quote:
Originally Posted by Jared Russell View Post
It might be software, but this is just another COTS module that you can choose to use (or ignore). Like an AM Shifter or a VEXpro VersaPlanetary, I believe that putting a high quality component in the hands of a student is a vehicle for inspiration.
Your analogy to a COTS part is not equivalent to this situation: several mentors appear to have worked exclusively on a project that was used to give a competitive advantage to the game performance given limitations of the Field Management System. Albeit it was not an overwhelming advantage and any team could have done the exact same thing. Again, I am not saying Team 254 has broken any rules. But I find it interesting that a NASA sponsored (funded?) team, and the team with the best winning record of FIRST, needs to have mentors do exactly what you have done for a high school competition. Of course you stand by your decision to do CheesyVision the way that you did -- it's easy to stand by a decision that has no consequences.

I am eminently fortunate to always have mentored teams that were student run and each team has students just as impressive as the ones you described. From what I have learned today, I think the difference between your team and my teams is that other mentors keep it students vs students.

I do not intend for any of my posts to put you on the defensive nor to diminish your students' work hard. I am trained to speak my mind and your reply has been informative. Thank you for answering.
__________________
I have a doctoral degree in electrical engineering. My FIRST mentoring philosophy is to encourage student-led activities and create a level playing field among all teams. I believe this approach results in an exciting game, rather than emphasis on a handful of dominant teams.

FIRST FRC Teams that I have mentored: 612, 342, 2035, and 5104. FIRST FRC Teams that I have helped through build seasons: 4171, 4255, and 5171.
  #69   Spotlight this post!  
Unread 13-04-2014, 09:53
AGPapa's Avatar
AGPapa AGPapa is offline
Registered User
AKA: Antonio Papa
FRC #5895
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Robbinsville, NJ
Posts: 323
AGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond reputeAGPapa has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Quote:
Originally Posted by TravSatEE View Post
Your analogy to a COTS part is not equivalent to this situation: several mentors appear to have worked exclusively on a project that was used to give a competitive advantage to the game performance given limitations of the Field Management System.
How can you possibly claim that a public release of this code gives 254 a competitive advantage? Anybody can use it now. Team 11 won the Mid-Atlantic Region Championship with CheesyVision.
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]
  #70   Spotlight this post!  
Unread 13-04-2014, 10:01
Nick Lawrence's Avatar
Nick Lawrence Nick Lawrence is offline
Commander Canada
FRC #3940 (CyberTooth, AndyMark)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2005
Location: Kokomo, IN
Posts: 713
Nick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Quote:
Originally Posted by TravSatEE View Post
<snip>
I am just surprised that for a high school competition the high-visibility work from your team seems to be mentor-only.
<snip>
Who cares who truthfully does the work? Are the students inspired? Are they motivated to be just like their mentors?

If yes, mission accomplished. It doesn't matter who builds the robot. What matters is what the students get out of it. You don't have to turn a wrench or write software to be inspired to do so.

-Nick
__________________


Alumnus of 1503 Spartonics
Founding Mentor of 5406 Celt-X
Mechanical Design Mentor of 3940 CyberTooth
Emceeing events since 2013 - come say hi!

Success doesn't always equate to match wins. It's about the wins off the field.
  #71   Spotlight this post!  
Unread 13-04-2014, 10:05
Jay O'Donnell's Avatar
Jay O'Donnell Jay O'Donnell is offline
Division by Pirates
FRC #0229 (Division by Zero)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Potsdam, NY/Londonderry, NH
Posts: 1,343
Jay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Let's get this thread back on track everyone...

Cheesyvision is really innovative! Way to think outside the box!
__________________
Student on Team 1058 (2012-2015)
Mentor on Team 229 (2016-Present)
Writer for Blue Alliance Blog
  #72   Spotlight this post!  
Unread 13-04-2014, 10:15
Adam Freeman's Avatar
Adam Freeman Adam Freeman is offline
Forever HOT!
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Rockwall, TX
Posts: 497
Adam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Team 254, thank you!

We ran CheesyVision any time we were doing a 1 ball auto at MSC and it worked perfectly.

You guys are awesome.
__________________

2005 FIRST World Champions (330, 67, 503)
2009 FIRST World Champions (111, 67, 971)
2010 FIRST World Champions (294, 67, 177)
  #73   Spotlight this post!  
Unread 13-04-2014, 10:54
scottandme's Avatar
scottandme scottandme is offline
Registered User
AKA: Scott Meredith
FRC #5895 (Peddie School Robotics)
Team Role: Teacher
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Hightstown, NJ
Posts: 239
scottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond reputescottandme has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Thanks to 254 for helping to patch the (still broken) field/fms. We're still running a 1 second delay at the start of auton to avoid the timing issues, which was still not enough in at least one of our qualification matches at MAR champs.
  #74   Spotlight this post!  
Unread 13-04-2014, 13:35
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 947
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Team 254 Presents: CheesyVision

Thanks to 254 for giving us more awesome stuff to look through and use.

Our competition season was over before this release but I think we will be trying to implement this for any offseasons we go to.
  #75   Spotlight this post!  
Unread 13-04-2014, 14:18
mikemat mikemat is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Michigan
Posts: 88
mikemat has a spectacular aura aboutmikemat has a spectacular aura aboutmikemat has a spectacular aura about
Re: Team 254 Presents: CheesyVision

Huge thanks to 254 for releasing this. We showed it to our programmers on Wednesday and had a working hot goal auton before lunch Thursday. You guys saved us a huge amount of time and finally let us get rid of the annoying green led ring our robot. Now if only our shirts weren't tie-dye...
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 06:18.

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