Go to Post There are 10 types of people in the world: those that understand binary and those that do not. - Stephen P [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-02-2013, 20:39
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus and Mentor for 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 77
AquaMorph is on a distinguished road
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?
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2013, 20:45
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Vision Tracking with the AXIS M1013 Camera

Yes. http://wpilib.screenstepslive.com/s/...-compatibility
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2013, 19:32
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus and Mentor for 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 77
AquaMorph is on a distinguished road
Re: Vision Tracking with the AXIS M1013 Camera

Quote:
Originally Posted by Joe Ross View Post
Ok I can't figure out how to change it.
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2013, 20:20
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,748
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: 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
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2013, 20:26
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus and Mentor for 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 77
AquaMorph is on a distinguished road
Re: Vision Tracking with the AXIS M1013 Camera

Quote:
Originally Posted by Greg McKaskle View Post
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.
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2013, 20:42
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,748
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: Vision Tracking with the AXIS M1013 Camera

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
Attached Thumbnails
Click image for larger version

Name:	Clipboard 2.png
Views:	35
Size:	92.1 KB
ID:	13960  
Reply With Quote
  #7   Spotlight this post!  
Unread 12-02-2013, 20:53
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus and Mentor for 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 77
AquaMorph is on a distinguished road
Re: Vision Tracking with the AXIS M1013 Camera

Quote:
Originally Posted by Greg McKaskle View Post
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.
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote
Reply


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 04:30.

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