Go to Post We're all such geeks...not that's that a bad thing. - IMDWalrus [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 Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 22-12-2015, 09:46
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,258
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: More Vision questions

Quote:
Originally Posted by jojoguy10 View Post
Thanks! The last two links don't show anything. Are they searches of keywords?

I thought I remembered someone talking about using USB to transfer data, but maybe they were talking about the other serial interfaces. With the ethernet, you would use UDP or something similar I'm guessing?
They were supposed to be white paper searches for "vision" and "opencv". There are a couple of good examples out there.

UDP or TCP depending on your tolerance for latency and importance of the data arriving, etc...
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
  #17   Spotlight this post!  
Unread 27-01-2016, 10:47
Roscoe Plowbots Roscoe Plowbots is offline
Registered User
FRC #3366
 
Join Date: Jan 2016
Location: Roscoe, Tx
Posts: 4
Roscoe Plowbots is an unknown quantity at this point
Re: More Vision questions

My team has been using NI Vision assistant and we now know how to track objects on the screen; however, we were wondering how to impliment the tracking to motor movement. We want our robot to find the target then auto adjust to score. If anyone has any code, websites, or tips for us that would be great. Thank you.
  #18   Spotlight this post!  
Unread 27-01-2016, 11:05
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: More Vision questions

I have a general algorithm for you. Mind you, it requires an encoder or gyro, depending on what you're moving (turret or robot).

Step 1: Use camera to acquire angle relative to shooter.
Step 2: Use Encoder/Gyro to turn that angle (or close to it).
Step 3: Use camera to check new angle relative to shooter.
If angle requires more adjustment, GOTO Step 2. Else, continue to Step 4.
Step 4: FIRE!
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
  #19   Spotlight this post!  
Unread 27-01-2016, 17:13
GMeyer's Avatar
GMeyer GMeyer is offline
Chief Communications Officer
AKA: Grady B. Meyer
FRC #0293 (S.P.I.K.E (Students Participating In Killer Engineering))
Team Role: Communications
 
Join Date: Jan 2016
Rookie Year: 2012
Location: Pennington, NJ
Posts: 43
GMeyer has much to be proud ofGMeyer has much to be proud ofGMeyer has much to be proud ofGMeyer has much to be proud ofGMeyer has much to be proud ofGMeyer has much to be proud ofGMeyer has much to be proud ofGMeyer has much to be proud ofGMeyer has much to be proud of
Lightbulb Re: More Vision questions

In answer to the original four questions:

1. We've used a number of them, but most recently we used RoboRealm.
2. We're not sure, but it looks to be OpenCV on a Raspberry Pi, which we're going to use this year.
3. RoboRealm, by far.
4. Both RoboRealm and OpenCV are equally accurate.

Last edited by GMeyer : 27-01-2016 at 17:14. Reason: Spelling Error
  #20   Spotlight this post!  
Unread 27-01-2016, 21:09
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: More Vision questions

The vision example does some mapping on target location to make the target coordinates range from -1 to 1 in X and Y. The reason for this is that it makes the code independent of camera resolution and makes it very similar to a joystick output. You may need to multiply by a scaling number, but this is pretty close to being able to wire the camera result to the Robot Drive.

If you want to close the loop faster than your image processing allows, consider using a gyro or IMU to turn by X degrees.

Greg McKaskle
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 05: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