Forum: Programming
12-29-2016, 06:01 PM
|
|
Replies: 9
Views: 885
|
Forum: General Forum
12-01-2016, 11:45 PM
|
|
Replies: 8
Views: 957
GRIP 1.5 is now available!
If you haven't heard of it, GRIP is an application aimed at making it easy and straightforward to use computer vision. If you have a webcam, you can use computer vision in FRC. No programming...
|
Forum: General Forum
11-29-2016, 12:32 AM
|
|
Replies: 14
Views: 1,893
Re: MAR Vision Day
About the raw OpenCV stuff vs. GRIP (starts around 17:00): the next release has code generation for the OpenCV 3.1.0 APIs for Java, C++, and Python 3. You can set up the pipeline and tune parameters...
|
Forum: Programming
11-21-2016, 06:46 PM
|
|
Replies: 18
Views: 1,294
Re: GRIP Deploy Not Working
That's bizarre. I'll see if I can reproduce this tonight. If not, you can use 1.5 and generate OpenCV code to run on the Pi without needing to deploy GRIP
|
Forum: Programming
11-21-2016, 02:02 PM
|
|
Replies: 18
Views: 1,294
Re: GRIP Deploy Not Working
It's the entire output you got when you tried to run it from the command line, not just that one line. There should be a lot of lines that look like
"at edu.wpi.grip....(123)"
|
Forum: Programming
11-21-2016, 01:17 PM
|
|
Replies: 18
Views: 1,294
|
Forum: Programming
11-21-2016, 10:35 AM
|
|
Replies: 18
Views: 1,294
Re: GRIP Deploy Not Working
You need to set the "LD_LIBRARY_PATH" environment variable to have the directory you put the ntcore libraries. You can do this either by the method on the wiki:
$ env...
|
Forum: Programming
11-17-2016, 10:08 AM
|
|
Replies: 8
Views: 566
Re: Grip Image processing
I'd do what Andrew recommended. You can iterate through the arrays in networktables and keep track of the index of the contour with the largest area.
|
Forum: Programming
11-16-2016, 11:50 PM
|
|
Replies: 4
Views: 658
|
Forum: Programming
05-01-2016, 01:34 PM
|
|
Replies: 14
Views: 1,252
|
Forum: Programming
05-01-2016, 12:56 PM
|
|
Replies: 14
Views: 1,252
|
Forum: General Forum
04-16-2016, 02:56 PM
|
|
Replies: 83
Views: 27,358
|
Forum: General Forum
04-16-2016, 02:06 PM
|
|
Replies: 83
Views: 27,358
Re: 2016 World High Score
125, 195, and 2168 just got 225 points (no fouls) in QF 3.1 at the New England district championship
1519, 230, and 176 just got 225 (including 10 penalty points) in QF 4.1
|
Forum: Programming
02-27-2016, 10:40 AM
|
|
Replies: 7
Views: 1,705
Re: Computer Vision Processing - Team 5450
What you need to know to calculate distance from the goal:
Height of the camera image
Vertical FOV
Y-distance from the center of the image to some known point on the goal (such as the center of...
|
Forum: Programming
02-26-2016, 10:41 PM
|
|
Replies: 7
Views: 1,705
Re: Computer Vision Processing - Team 5450
I think it would be more reliable to calculate distance based on the y position of the goal in the image rather than trying to use it's apparent width. It would be much more robust when the camera...
|
Forum: Java
02-26-2016, 07:29 PM
|
|
Replies: 1
Views: 382
|
Forum: Programming
02-23-2016, 05:54 PM
|
|
Replies: 25
Views: 1,870
Re: Thoughts On Comments In Team Code
Javadoc explains what the method does and anything that's needed for it to work properly. It doesn't explain reasoning behind the logic inside, which is very unhelpful when trying to debug. It...
|
Forum: Java
02-22-2016, 08:27 PM
|
|
Replies: 4
Views: 559
|
Forum: Java
02-19-2016, 12:57 PM
|
|
Replies: 4
Views: 559
Re: RobotBuilder overwriting Java Commands
This is intentional.
RobotBuilder sees that the type of the command is not what the program exported (i.e. you changed 'SomeCommand extends Command' to 'SomeCommand extends ParameterCommand') and...
|
Forum: Java
02-04-2016, 07:02 PM
|
|
Replies: 2
Views: 386
Re: Java Paramter Type
Quick recap on command parameters:
Parameters are there so you can have one command perform multiple actions (rather than one command per action).
For example: there's a mechanism on your robot to...
|
Forum: Java
01-27-2016, 09:41 PM
|
|
Replies: 8
Views: 882
Re: [Vision] Multithreading?
Something like this might work for you:
// Create a new Timer to schedule vision processing
Timer visionScheduler = new Timer("Vision Scheduler", true);
void doVisionProcessing() {
// Your...
|
Forum: Programming
01-21-2016, 08:54 PM
|
|
Replies: 4
Views: 820
|
Forum: Java
01-16-2016, 10:37 AM
|
|
Replies: 3
Views: 592
Re: RobotMap?
If you use RobotBuilder, you'll need to use RobotMap. If you don't use RobotBuilder, don't do it. It breaks encapsulation, which generally is a bad thing.
|
Forum: C/C++
01-15-2016, 07:42 PM
|
|
Replies: 6
Views: 643
|
Forum: Java
01-14-2016, 11:19 PM
|
|
Replies: 2
Views: 430
|