Go to Post There is no safe place on a FRC robot. - IndySam [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 23-01-2010, 16:09
Igor1201's Avatar
Igor1201 Igor1201 is offline
Registered User
FRC #1382 (ETEP Team)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Brazil
Posts: 5
Igor1201 is an unknown quantity at this point
Question Target Tracking

We're working with the Axis Camera to track the position of the target with LabVIEW on the autonomous and tele-op (by a button pressing) modes.
Besides, we want to aim the target at the center of the vision, because the target can be found in the border, or anywhere.
It looks like nobody is having difficult with this tracking and centralization. But we aren't find a solution to this problem.
Our mentor has created a formula to move the pan/tilt of the camera, which consists in make the servo increase its angle and calculate the difference between the the new and old locations of target on camera vision.
Anyone could help me with suggestions or ideas? Any response will be appreciated, thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 18:02
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: Target Tracking

I'm not sure what the question is.

The sample code this year doesn't use the servo gimbal, but since the example from last year does, you could pretty easily combine the two.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2010, 18:32
Igor1201's Avatar
Igor1201 Igor1201 is offline
Registered User
FRC #1382 (ETEP Team)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Brazil
Posts: 5
Igor1201 is an unknown quantity at this point
Re: Target Tracking

Yeah, we've tried it, understood the example and fit it in our program.
We realize that the gimbal can be made in a easy way, not appealing to sine and cosine formulas, or empirical 5 and -7 numbers like the last year's programming.
__________________
@Team1382
Reply With Quote
  #4   Spotlight this post!  
Unread 23-01-2010, 20:28
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: Target Tracking

Understanding and reworking is always a great way. Good luck.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2010, 15:52
Andrew0089 Andrew0089 is offline
Registered User
FRC #3229
 
Join Date: Jan 2010
Location: North Carolina
Posts: 12
Andrew0089 is an unknown quantity at this point
Re: Target Tracking

hey new team this year could you send us the pan and tilt code from last year? We are completley stumped on how to get this to work!
Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2010, 22:14
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: Target Tracking

The gimbal code is in a vision example. The path is something like examples/FRC/Vision/Two Color Servo Demo.vi.

Greg McKaskle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change two color tracking vi from tracking pink AND green to orange OR grape balls star_lancer Programming 5 14-02-2009 20:58
Multiple Targets in "LabVIEW Sample two-color target tracking code" markulrich NI LabVIEW 7 29-01-2009 11:52
2009 Target Tracking Uberbots NI LabVIEW 0 16-01-2009 02:18
Autonomous Target Tracking at Regionals PhilBot Control System 49 23-03-2007 13:38
Camera Tracking Target Jade Programming 3 20-01-2007 01:41


All times are GMT -5. The time now is 08:51.

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