View Single Post
  #5   Spotlight this post!  
Unread 18-05-2016, 23:27
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 5895 Code Release for 2016

Quote:
Originally Posted by thatprogrammer View Post
Thanks for the code release, some of the code is really nice! That said,I'm not following how your vision works. It appears your X and Y values are being fed to you by smartdashboard somehow (Is your operator manually entering the defense position they are on?).
Vision processing is done on the dashboard side (which was written in LabVIEW). It just uses the example vision code from NI.

It's not the prettiest code as it was a plan C backup after the JetsonTK1 (with power issues) and GRIP (which doesn't work for USB cameras), so I don't think we'll reuse it next year. Either way, I've attached it if you want to look at it.

Quote:
Originally Posted by TimTheGreat View Post
You guys should take a look at autonomous selectors, just to get rid of clutter. You have everything neatly organized into classes, why not go that extra step and make each separate autonomous it's own class as well?
Agreed, this was my first year with Java in FRC, and the team's first year with FRC and Java in general, we'll definitely split auto into separate classes next season.


Quote:
Also, looking through some of your intake update method, it seems to always be running, since you don't have a stop mode. Am I reading this right? Seems a little dangerous.
The intake is stopped in the "has ball" state.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	83
Size:	175.8 KB
ID:	20782  
Attached Files
File Type: zip 2016 Dashboard Project - Copy.zip (561.9 KB, 5 views)
__________________
Team 2590 Student [2011-2014]
Team 5684 Mentor [2015]
Team 5895 Mentor [2016-]

Last edited by AGPapa : 18-05-2016 at 23:32.
Reply With Quote