Go to Post I wake up at noon on Christmas Eve, and find tweets announcing a game hint. Looks like I won't be seeing much of my family today... - Karibou [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-02-2017, 11:02
adam.behun adam.behun is offline
Registered User
FRC #4506
 
Join Date: Jan 2017
Location: Hill-Murray High School MN
Posts: 3
adam.behun is an unknown quantity at this point
Vision Processing - GRIP to LabView

Hello,
My team and I are currently working on vision processing for the 2017 SteamWorks competition. We are currently using GRIP in order to recognize the targets for the gear placement in the competition. We have a few questions.

1) We are trying to work with the network tables to use the data from our GRIP program in LabView. We are unsure about how network tables work and how to access them in LabView.

2) Do we connect the camera (Logitech)to the computer or to the RoboRio?

3) Do we connect the computer to the RoboRio via USB cable or Ethernet cable.

4) Do we connect the computer to the RoboRio or the radio?

5) How do we have a live feed of video separate from vision processing for our drivers? What setting do we use in order to not use too much bandwidth at competition?

Teleop code trying to call on GRIP values:



GRIP Code:

Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 11:04
adam.behun adam.behun is offline
Registered User
FRC #4506
 
Join Date: Jan 2017
Location: Hill-Murray High School MN
Posts: 3
adam.behun is an unknown quantity at this point
Re: Vision Processing - GRIP to LabView

Thanks for any help!
Team 4506
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2017, 11:49
llung llung is offline
Registered User
FRC #4048
 
Join Date: Jan 2013
Location: Westborough, MA
Posts: 14
llung is an unknown quantity at this point
Re: Vision Processing - GRIP to LabView

hi,
If you're using LabVIEW, why not use the NI vision code instead of using GRIP? Look at the vision processing sample code. It'll get you most of the way there. The camera will be on the robot and all images will go to roboRIO (they can of course also be routed to the console so the user can see them) for processing.

If you insist on using GRIP, be sure to read the "New for 2017" section on screenstepslive https://wpilib.screenstepslive.com/s...8-new-for-2017

Regarding your other questions, I'm not sure what you're referring to when you say "computer" - is this the driver station or some other embedded processor?

With regards to using multiple cameras in LabVIEW, see some of the other threads on the forum.

Good luck
-lou
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2017, 17:59
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 149
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Vision Processing - GRIP to LabView

Seriously, Adam, plug the camera into the processor that's using it (the TK1.)
-Colin
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
Reply


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 19:49.

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