Go to Post It makes me wish I would have paid attention in my physics class... - jwallace15 [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
  #1   Spotlight this post!  
Unread 09-01-2016, 22:09
cad321 cad321 is offline
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 318
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
GRIP/Labview compatibility?

Does anyone know if GRIP is compatible with Labview? Here it show it being able to run on the roborio while using java or C++ but I haven't been able to find anything about Labview.

Also does anyone know when an ARM compatible build may be available?
  #2   Spotlight this post!  
Unread 10-01-2016, 01:04
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: GRIP/Labview compatibility?

Quote:
Originally Posted by cad321 View Post
Does anyone know if GRIP is compatible with Labview? Here it show it being able to run on the roborio while using java or C++ but I haven't been able to find anything about Labview.

Also does anyone know when an ARM compatible build may be available?
The LabVIEW vision support has shipped with Vision Builder AI for years. GRIP is not compatible with LabVIEW, but VBAI has and continues to serve the same purpose as GRIP now does for Java and C++.
  #3   Spotlight this post!  
Unread 10-01-2016, 12:16
ThomasClark's Avatar
ThomasClark ThomasClark is offline
Registered User
FRC #0237
 
Join Date: Dec 2012
Location: Watertown, CT
Posts: 146
ThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud of
Re: GRIP/Labview compatibility?

The GRIP installer includes an ARM build. If you deploy GRIP (tools>deploy), it copies this to the roboRIO.

GRIP communicates with NetworkTables, so it should theoretically be possible for it to work with LabView, but we haven't tried it yet. Let us know if you do get it to work, or if it doesn't work.
  #4   Spotlight this post!  
Unread 11-01-2016, 20:34
nightpool's Avatar
nightpool nightpool is offline
robotRectifier
AKA: Evan
no team (formerly of CORE 2062)
Team Role: Alumni
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Waukesha, WI
Posts: 81
nightpool is on a distinguished road
Re: GRIP/Labview compatibility?

Quote:
Originally Posted by cad321 View Post
Does anyone know if GRIP is compatible with Labview? Here it show it being able to run on the roborio while using java or C++ but I haven't been able to find anything about Labview.

Also does anyone know when an ARM compatible build may be available?
Like ThomasJClark said, because GRIP uses NetworkTables to communicate, its portable for use with any type of robot code.

GRIP doesn't have examples yet of running on the RoboRio as a sub-process of LabView, but you can do it using "System Exec VI"

see here: http://zone.ni.com/reference/en-XX/h...g/system_exec/

(Note: you have to make sure to set "wait until completion" to false, or else none of your other code will execute!)
__________________
Proud alum of CORE 2062.
www.core2062.com
  #5   Spotlight this post!  
Unread 14-01-2016, 18:40
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 586
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: GRIP/Labview compatibility?

You will need to make sure that after adding your LabVIEW program, the Java virtual machine (see java install docs), and GRIP that there is enough memory and CPU to run your robot program. That's a lot of code and it would be easy to over-tax the roboRIO. If it fits, then outputting values using NetworkTables should be consumable from any language on the roboRIO.

Another option is to put a network camera on the robot and send the images to the laptop and run the vision program there. That will take the load off the roboRIO for image processing. Then send the target values back to the robot with network tables. Just be sure that the control loops for aiming the robot aren't based on the update rate of the camera. Just use the camera results to set a setpoint and use another sensor like a gyro, potentiometer or encoder to aim the robot. Those have very fast updates and will allow for a fast control loop.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #6   Spotlight this post!  
Unread 01-02-2016, 22:22
IceStorm IceStorm is offline
Mentor FRC 5046, FTC 8688
AKA: Chad
FRC #5046 (Jacked Up Jackets)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 134
IceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of light
Send a message via AIM to IceStorm Send a message via Yahoo to IceStorm
Re: GRIP/Labview compatibility?

So i've managed to get GRIP up and running on a raspberry pi that is connected to the same network as the rio and will be placed on the robot. Wondering if someone can point me to some examples for accessing the network tables values in labview. I'm figuring it needs to be done with the networktables bind and a network tables read but i'm not really sure what value types i'm looking for or the best place in the code to put these items. Any help would be appreciated.
__________________

  #7   Spotlight this post!  
Unread 02-02-2016, 08:44
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: GRIP/Labview compatibility?

Bind is just for the dashboard. It binds control and indicators to variables using the name of the control.

You will want to use the NT Read VI. Enter the name of the variable. If the name starts with / it is a full variable name. If it doesn't, the VI will add /SmartDashboard/ to the front of it.

Greg McKaskle
  #8   Spotlight this post!  
Unread 02-02-2016, 21:58
IceStorm IceStorm is offline
Mentor FRC 5046, FTC 8688
AKA: Chad
FRC #5046 (Jacked Up Jackets)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 134
IceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of light
Send a message via AIM to IceStorm Send a message via Yahoo to IceStorm
Re: GRIP/Labview compatibility?

I was able to actually get hooked to our rio tonight and went into the dashboard and i'm seeing some data. Before this I was trying to use the simulator but must have not been sending the data to the right place or something.

Under variable name i'm seeing

GRIP
myContoursReport
area
centerX
centerY
height
solidity
width
SmartDashboard
Auto List
DB
...So ON

If I want to read the height variable would I use the path /GRIP/myContoursReport/height to get that data.


Thanks
Chad
__________________

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 17:12.

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