Go to Post What? No Poof balls as pillows? Phfff. Amateur. :p - artdutra04 [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-02-2013, 23:25
wre136 wre136 is offline
Registered User
FRC #2461
 
Join Date: Jan 2012
Location: Oklahoma City
Posts: 30
wre136 is an unknown quantity at this point
Possible Wrong Wiring in FRC Vision Tracking Example

In the "Rectangular Tracking - 2013.lvproj", there is the "distance.vi". I believe either something is wired incorrectly there or this post is incorrect on which camera axis resolution you should use.

As from the post, it states that if you are trying to compute distance based off of the height of the sides of the rectangle, then you should use the Y axis resolution which is 240.

However, in the distance.vi (Attached to this post), it is obviously using the X Axis resolution of 320. The code still looks like its comparing against the height of the rectangles so this causes me some confusion.

Is the post wrong, the code wrong or am I just reading this wrong?
Attached Thumbnails
Click image for larger version

Name:	Bad FRC Programming.PNG
Views:	152
Size:	35.7 KB
ID:	14202  
 


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 10:31.

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