Go to Post I am really glad that FIRST gives teams the choice to use either students or adults in this role. - dtengineering [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's Avatar
wre136 wre136 is offline
Registered User
AKA: Will Edds
FRC #2461 (The METAL-SKINS)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2002
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:	153
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 22:43.

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