Go to Post Just put it in the dryer for a few extra cycles. That should shrink it down nice and small. - notmattlythgoe [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 11-02-2016, 01:41
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 14
Jdkmotorhead is an unknown quantity at this point
Re: GRIP and NetworkTables settings for use with a co-processor

Ok, so I just tried it on my personal laptop, and it is working with the OutlineViewer in server mode, and the host set as localhost on both the server and GRIP. I don't see how this is any different from how I was testing it on the robot, with the addresses both set at roborio-5102-frc.local, and OutlineViewer in client mode...
  #17   Spotlight this post!  
Unread 11-02-2016, 01:47
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 247
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: GRIP and NetworkTables settings for use with a co-processor

Quote:
Originally Posted by Jdkmotorhead View Post
Yes, it has robot code running, and the robot is connected. I will try the other things next time I have access to the robot. And what GRIP console window? Is that just if you run it from the command prompt? Do I have to run the GRIP program somehow, or does it just work in real time as you edit the filters? Do I need to somehow "deploy" the project to the laptop, or is that just if you are running it on the robot?
Correct, just run it from the command prompt. No need to deploy, you're basically running the same executable you run when you click the GRIP icon when running GRIP normally, just from a command prompt instead.

Quote:
Originally Posted by Jdkmotorhead View Post
Ok, so I just tried it on my personal laptop, and it is working with the OutlineViewer in server mode, and the host set as localhost on both the server and GRIP. I don't see how this is any different from how I was testing it on the robot, with the addresses both set at roborio-5102-frc.local, and OutlineViewer in client mode...
That's right, it shouldn't be any different. Thus the questions about pinging, running from console window to see error messages, etc.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
  #18   Spotlight this post!  
Unread 11-02-2016, 01:51
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 14
Jdkmotorhead is an unknown quantity at this point
Re: GRIP and NetworkTables settings for use with a co-processor

Ok, I'll try these troubleshooting steps next time I am at robotics, and post the results.
  #19   Spotlight this post!  
Unread 12-02-2016, 22:21
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 14
Jdkmotorhead is an unknown quantity at this point
Re: GRIP and NetworkTables settings for use with a co-processor

I just tried it, and I'm not able to ping roborio-5102-frc.local from either the DS laptop or my personal laptop. The DS laptop has the firewall disabled, and the IP and DNS both set to auto. I even tried reprogramming the radio, but it still won't work. Bonjour is running in the background too, so it shouldn't be a problem with resolving the address. Are there any other troubleshooting steps that I can try for getting the mDNS to work?
  #20   Spotlight this post!  
Unread 13-02-2016, 12:29
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: GRIP and NetworkTables settings for use with a co-processor

Quote:
Originally Posted by Peter Johnson View Post
Correct, just run it from the command prompt. No need to deploy, you're basically running the same executable you run when you click the GRIP icon when running GRIP normally, just from a command prompt instead.



That's right, it shouldn't be any different. Thus the questions about pinging, running from console window to see error messages, etc.
What command would we run in the command promt to open grip and the project file that we want. Currently, when we set the .grip file to open as grip executable, the save does not open into the grip window and it is like it just opens grip.
  #21   Spotlight this post!  
Unread 14-02-2016, 03:06
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 247
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: GRIP and NetworkTables settings for use with a co-processor

Quote:
Originally Posted by Jdkmotorhead View Post
I just tried it, and I'm not able to ping roborio-5102-frc.local from either the DS laptop or my personal laptop. The DS laptop has the firewall disabled, and the IP and DNS both set to auto. I even tried reprogramming the radio, but it still won't work. Bonjour is running in the background too, so it shouldn't be a problem with resolving the address. Are there any other troubleshooting steps that I can try for getting the mDNS to work?
The Driver Station (DS) software can see the robot? What team number are you setting in the settings tab of the DS? What versions are shown under "Versions" on the diagnostics tab of the DS? If pinging roborio-5102.local works, you need to update your roboRio image to this year's. Another thing to try would be to ping "roborio-5102-frc.lan" instead.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
  #22   Spotlight this post!  
Unread 14-02-2016, 03:20
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 247
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: GRIP and NetworkTables settings for use with a co-processor

Quote:
Originally Posted by 1024Programming View Post
What command would we run in the command promt to open grip and the project file that we want. Currently, when we set the .grip file to open as grip executable, the save does not open into the grip window and it is like it just opens grip.
See https://github.com/WPIRoboticsProjects/GRIP/issues/492
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
  #23   Spotlight this post!  
Unread 14-02-2016, 03:22
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 and NetworkTables settings for use with a co-processor

Quote:
Originally Posted by 1024Programming View Post
What command would we run in the command promt to open grip and the project file that we want. Currently, when we set the .grip file to open as grip executable, the save does not open into the grip window and it is like it just opens grip.
The latest release of GRIP doesn't support opening a file immediately when the program starts up, but I actually have a pull request right now that will probably make that work.

A consequence of this is that GRIP can be started from a shell script, so you could potentially have the DS computer open GRIP with a certain project as soon as you log in.
__________________
GRIP (Graphically Represented Image Processing) - rapidly develop computer vision algorithms for FRC
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 06:54.

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