Go to Post And if in the end the students are inspired and more of the public becomes aware of the program, and people gain more appreciation for engineering, how can that not be a good thing? - dlavery [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 06-02-2016, 16:18
David Lame David Lame is offline
Registered User
FRC #0247
 
Join Date: Feb 2015
Location: Berkley, MI
Posts: 86
David Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the rough
Grip and performance on the driver station laptop

We have successfully been using GRIP on the driver station. We want to do more with it.

Does anyone have information or experience with PC performance, GRIP, and processing power? We seem to get some lag. It isn't too bad for what we are doing, but we're a bit nervous about it in competition. It might be network latency, but it doesn't seem to be as bad if we are just viewing a camera feed in the smart dashboard.

Anyway, we were wondering if beefing up the PC might be likely to improve things. Does GRIP take advantage of multiple cores? An available graphics card that could be used (at least in theory) to handle OpenCV calls? A higher speed processor? Just curious if anyone has some advice on system requirements or recommendations if using GRIP on the driver station PC.
  #2   Spotlight this post!  
Unread 06-02-2016, 16:43
Turing'sEgo Turing'sEgo is offline
Registered User
no team
 
Join Date: Jan 2016
Rookie Year: 2010
Location: Boulder
Posts: 47
Turing'sEgo can only hope to improve
Re: Grip and performance on the driver station laptop

There is a fairly easy way (and relatively accurate) to tell if a program utilizes multiple cores: run it an check the usage of your cores. It works better in linux because the OS is much lighter.

At the heart of GRIP is opencv. GRIP isn't the problem with performance as it is really just a gui for opencv.

Have you tried compiling opencv to support multiple cores?
  #3   Spotlight this post!  
Unread 06-02-2016, 17:00
David Lame David Lame is offline
Registered User
FRC #0247
 
Join Date: Feb 2015
Location: Berkley, MI
Posts: 86
David Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the rough
Re: Grip and performance on the driver station laptop

The long term plan is to use OpenCV on a coprocessor, but we don't know if it will be done before our week 1 competition, so we might have to deal with the driver station at the first competition.
  #4   Spotlight this post!  
Unread 06-02-2016, 17:31
Turing'sEgo Turing'sEgo is offline
Registered User
no team
 
Join Date: Jan 2016
Rookie Year: 2010
Location: Boulder
Posts: 47
Turing'sEgo can only hope to improve
Re: Grip and performance on the driver station laptop

Opencv has either inherent threading with openmp in linux (not sure about windows) and it has a TBB API that I know can be utilized in windows. If you need help with this I'd be glad to help.
  #5   Spotlight this post!  
Unread 07-02-2016, 15:23
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 performance on the driver station laptop

GRIP uses multiple threads to capture video, run algorithms, and render the GUI, but the computer vision stuff is all in one thread. So, you might benefit from multiple cores, but only up to a certain limit.
__________________
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 00:40.

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