View Single Post
  #1   Spotlight this post!  
Unread 27-01-2013, 11:17
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 330
fovea1959 will become famous soon enough
Rectangular Target - 2013: Y Axis inverted?

I'm running the Rectangular Target - 2013 on my computer (not the cRIO) with the sample images.

The screensteps documentation (http://wpilib.screenstepslive.com/s/...ng-the-targets, the section on "Position", diagram "Aiming Coordinate System A x,y") indicates that Y=-1.0 is the bottom of the frame, but the data I am getting back is Y=-1.0 is top of the frame.

HybridLine_SmallGreen2 has two targets at (0.50625, 0.120833) and (-0.1625, 0.0583333). hmmm, the 2nd (leftmost) target looks higher in the frame to me, but has a small Y value.

I made a copy of HubridLine_SmallGreen2 with the targets almost at the top of the frame, the target coordinates change to (0.50625, -0.779167) and (-0.1625, -0.854167). Higher in the frame, but smaller Y value (almost -1.0).

Am I doing something wrong, or are the docs wrong?
Reply With Quote