View Single Post
  #6   Spotlight this post!  
Unread 29-12-2014, 19:11
Djur's Avatar
Djur Djur is offline
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Djur will become famous soon enough
Re: FRC Computer Vision Code

Quote:
Originally Posted by faust1706 View Post
OpenCV has been around since June of 2000 and was initially developed in Russia...
The OpenCV codebase was compiled to run on the roboRIO. I'm not saying that it was created for the roboRIO.

Quote:
Originally Posted by FantasticNinjas View Post
Crappy Alienware laptop? My team's drive station is a 2009 white macbook with a core 2 duo processor and 2gb ram. Oh, and to control the robot it needs to be running windows in a VM . I would not be surprised if running the vision code on the roboRIO would be faster anyway (I'm only mostly joking).
You don't have to run your vision stuff in the VM. OS X can still connect to the robot and you can run your java app there, although I still wouldn't expect it to process images at any more than 15 fps because of the Duo (for comparison, my laptop was running an i5-2537M). 15 fps should be fine if you don't try to use it to shoot or aim when the robot's going full speed.

Quote:
Originally Posted by nickmcski View Post
The other problem we had was we didn't account for the diamond plating on the driver station so the reflection from the LED ring was tricking our vision tracking software into thinking it was a target.
If that happens, your code should ignore "targets" smaller than some threshold. Then you'd only be processing the real targets.
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
Reply With Quote