View Single Post
  #13   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: 149
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