Go to Post In real life (IE when you go to apply your engineering skills to tasks in industry) there will be constraints on all sorts of things - many of which may or may not be "fair" or even "intelligent". You must learn to either work around them or use them to your advantage - preferably a bit of both. - OScubed [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-03-2012, 01:03
Brandon_L Brandon_L is offline
Someone told me there was food here
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,200
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Camera tracking always giving negative X value

Today were were modifying some code, and in the process of cleaning up code (labview) the set size.vi for the camera got deleted. My theory is that we were getting a smaller image size then the image size the vision processing was expecting. Thus if the image was plotted from the top left of the screen, the entire image from the camera would fall into the "negative" zone of what the image processing is expecting. I put the VI back into the code but can't test until tomorrow, but wanted to know if this would cause something like this to happen. Any input would be awesome.
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
  #2   Spotlight this post!  
Unread 24-03-2012, 09:35
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Camera tracking always giving negative X value

It could cause the issue if the coordinate system transform uses the wrong offset and/or scaling. At one time this code called the image size function each time through, but surprisingly the profiler showed that function to be sorta expensive. I don't remember if it is still used or not. But I'd encourage you to look through the code and see if the values of width/2 is incorrect and causing the issue.

Greg McKaskle
  #3   Spotlight this post!  
Unread 26-03-2012, 00:15
Earnesterin Earnesterin is offline
Junior Member
no team
 
Join Date: Mar 2012
Location: new york
Posts: 2
Earnesterin is an unknown quantity at this point
Re: Camera tracking always giving negative X value

The POV-Ray camera has ten different models, each of which uses a different projection method to project the scene onto your screen. Regardless of the projection type all cameras use the location, right, up, direction, and keywords to determine the location and orientation of the camera. The type keywords and these four vectors fully define the camera. All other camera modifiers adjust how the camera does its job. The meaning of these vectors and other modifiers differ with the projection type used.
Closed Thread


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 17:59.

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