Go to Post This game is absolutely *NOT* too difficult, but many teams will make it too difficult by biting off more than they can chew. - pfreivald [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 03-14-2016, 08:29 PM
jnazaren jnazaren is offline
Programmer on Team Overclocked
AKA: Jacob Nazarenko
FRC #0246 (Overclocked)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2013
Location: Swampscott, MA
Posts: 3
jnazaren is an unknown quantity at this point
Distortion When Tracking Targets With RoboRealm and Tilted Axis Cam

I've been working on this issue for a long time, but just can't seem to get it fixed. When our Axis camera (model m1013) is mounted on our robot at a 45 degree angle (from the ground, pointing upwards) and our robot turns to the side, the target height (calculated with RING_CORNER data) increases by some small amount of pixels, depending on how far the robot is positioned from the target - usually between 3 and 6 pixels. Although 3 to 6 pixels doesn't sound like much, this heavily affects the way distance from the target is calculated, as our distance function uses the target's height in pixels for the calculation. I've tried many things - the 'radial distortion' module, the 'perspective' module, the 'rotate' module, and the 'spherical unwarp' module (which helped a bit, but still didn't fix the issue completely), but none of them fixed the issue completely. The problem, I've determined, is that the camera is rotated at a 45 degree angle, rather than being perpendicular to the ground. This causes a kind of 'keystone effect' that is very difficult to eliminate completely, and varies in strength based on how far away the robot is from the target. Unfortunately, as the shooting targets are fairly high up in this year's FRC game, positioning the camera perpendicular to the ground would cause the target to be out of the shot unless the robot is very far away. Is there any other way I could try to fix this issue??

Please find attached a zipped folder of filtered field images both at 10 ft and 15 ft from the base of the target, with the robot facing towards the target as well as 25 degrees to either side - these images reveal this distortion effect. Also please find attached several RoboRealm projects in which I have tried to approach this issue.
Attached Files
File Type: zip TargetImages.zip (77.2 KB, 9 views)
File Type: zip TargetTrackingProjects.zip (4.6 KB, 5 views)
Reply With Quote
 


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 07:55 AM.

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