Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Vision Tracking with the AXIS M1013 Camera (http://www.chiefdelphi.com/forums/showthread.php?t=113297)

AquaMorph 11-02-2013 20:39

Vision Tracking with the AXIS M1013 Camera
 
We are using the AXIS M1013 Camera this year. I was looking at the difference between the cameras and the lenses are different. I tested out the vision tracking on a 50% scale model and the distant is not accurate. Is there something I have to adjust for this new camera?

Joe Ross 11-02-2013 20:45

Re: Vision Tracking with the AXIS M1013 Camera
 
Yes. http://wpilib.screenstepslive.com/s/...-compatibility

AquaMorph 12-02-2013 19:32

Re: Vision Tracking with the AXIS M1013 Camera
 
Quote:

Originally Posted by Joe Ross (Post 1231894)

Ok I can't figure out how to change it.

Greg McKaskle 12-02-2013 20:20

Re: Vision Tracking with the AXIS M1013 Camera
 
I believe the distance calculation is the only place the angle is used. You can either update the enum and array and set the correct value, or you can delete the wires that index the array and simply wire in your robot's angle.

Greg McKaskle

AquaMorph 12-02-2013 20:26

Re: Vision Tracking with the AXIS M1013 Camera
 
Quote:

Originally Posted by Greg McKaskle (Post 1232393)
I believe the distance calculation is the only place the angle is used. You can either update the enum and array and set the correct value, or you can delete the wires that index the array and simply wire in your robot's angle.

Greg McKaskle

The distance is the only thing off and I would like to get it correct. I can't figure out how to change the camera angle. I have looked at the Distance.vi and haven't found where to change it.

Greg McKaskle 12-02-2013 20:42

Re: Vision Tracking with the AXIS M1013 Camera
 
1 Attachment(s)
The attached image shows how to ignore the array and selector and hard-wire your camera lens angle. I didn't check the number BTW, so use the right angle in place of the 67. Note that the numbers used by the example are just a bit different than what the camera mfgr published. These were determined with a calibration routine.

Greg McKaskle

AquaMorph 12-02-2013 20:53

Re: Vision Tracking with the AXIS M1013 Camera
 
Quote:

Originally Posted by Greg McKaskle (Post 1232408)
The attached image shows how to ignore the array and selector and hard-wire your camera lens angle. I didn't check the number BTW, so use the right angle in place of the 67. Note that the numbers used by the example are just a bit different than what the camera mfgr published. These were determined with a calibration routine.

Greg McKaskle

Thanks that worked. I found the right number to be 62.


All times are GMT -5. The time now is 12:14.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi