Go to Post People will only work toward common goals when they are part of the goal-setting process. - GaryVoshol [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-02-2016, 14:02
1024Programming 1024Programming is offline
Registered User
FRC #1024
 
Join Date: Jan 2014
Location: Indiana
Posts: 43
1024Programming is an unknown quantity at this point
Re: publish video on Kangaroo with Grip

Quote:
Originally Posted by ThomasClark View Post
What part in particular do you need guidance on? There's already documentation on the wiki, but if you post any specific trouble I bet someone knows a solution.
What we need to do is to publish the contours report from grip running on a kangaroo. We want the kangaroo to run our grip program on startup. We want to have a USB camera plugged in directly to the kangaroo. We want the kangaroo to have its own network tables and the roborio to take values from the kangaroo's tables and use those values in the code. We want to do this because we are under the impression that constantly publishing values to the roborio's network tables will slow down the roborio's processes. What we want is clear and easy to follow steps going through the entire process.
Reply With Quote
  #2   Spotlight this post!  
Unread 29-02-2016, 14:14
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: publish video on Kangaroo with Grip

Quote:
Originally Posted by 1024Programming View Post
What we need to do is to publish the contours report from grip running on a kangaroo.
This can be done with the "Publish Contours" operation in GRIP, with the networktables server address set to your roboRIO's address.

Quote:
Originally Posted by 1024Programming View Post
We want the kangaroo to run our grip program on startup.
I'm not exactly sure how to do startup programs on Windows, but I think there's a "startup" folder that you can just put things into. So, I think you could have a GRIP.bat file with something like:

Code:
C:\Users\MyName\AppData\GRIP\GRIP C:\Users\MyName\Documents\myproject.grip
Quote:
Originally Posted by 1024Programming View Post
We want the kangaroo to have its own network tables and the roborio to take values from the kangaroo's tables and use those values in the code. We want to do this because we are under the impression that constantly publishing values to the roborio's network tables will slow down the roborio's processes.
NetworkTables doesn't support federated servers AFAIK, and I'm not sure where you get this impression. You should be fine just using the roboRIO as the server.
__________________
GRIP (Graphically Represented Image Processing) - rapidly develop computer vision algorithms for FRC
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 04:16.

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