Go to Post Dear CNN, We're not from indiana. Love, Wildstang - AlecMataloni [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 Yesterday, 16:33
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 80
RoboBucs is an unknown quantity at this point
Re: Vision Distance Question

I resolved the errors, thank you for the help on that, but now I'm back to the first problem. I tried lowering the score cutoff and using a horizontal line, but both still come back red with an infinite reading. Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread Yesterday, 20:35
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 147
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Vision Distance Question

Quote:
Originally Posted by RoboBucs View Post
I resolved the errors, thank you for the help on that, but now I'm back to the first problem. I tried lowering the score cutoff and using a horizontal line, but both still come back red with an infinite reading. Any ideas?
Increase your line border values, they need to be greater than, say, 2 or 3, and by default they are 6 and 1.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote
  #3   Spotlight this post!  
Unread Yesterday, 21:10
RoboBucs RoboBucs is offline
Registered User
FRC #5005
 
Join Date: Jan 2015
Location: Chattanooga, TN
Posts: 80
RoboBucs is an unknown quantity at this point
Re: Vision Distance Question

Alright, I'm getting readings perfectly now if I put the reflective tape horizontal, rather than vertical, because with the code that I have now, I can't do the mouse drag to calibrate it, and I can't figure out how to make the calibration line horizontal instead of vertical. I tried switching the control for that in the distance calculation subVI, but it had no effect. Where do is the option for it to track horizontally rather than vertically as it does by default?
Reply With Quote
  #4   Spotlight this post!  
Unread Today, 09:41
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 147
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Re: Vision Distance Question

Quote:
Originally Posted by RoboBucs View Post
Alright, I'm getting readings perfectly now if I put the reflective tape horizontal, rather than vertical, because with the code that I have now, I can't do the mouse drag to calibrate it, and I can't figure out how to make the calibration line horizontal instead of vertical. I tried switching the control for that in the distance calculation subVI, but it had no effect. Where do is the option for it to track horizontally rather than vertically as it does by default?
The line isn't a calibration line, it's the distance calculation line. That line is drawn in Rectangle Comparison.vi, near the top of the block diagram. You can't draw that line, the program has to draw the line based on the position of the particles.
__________________
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 12:24.

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