Go to Post Amazing what you can find with a quick video and the unlimited power of the internet! - AveryLevin. [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 31-01-2012, 22:52
dcarswell's Avatar
dcarswell dcarswell is offline
FRC Mentor/Old Dominion University
AKA: DeAndre Carswell
FRC #3359 (Royal Robotics)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Portsmouth, VA
Posts: 36
dcarswell is an unknown quantity at this point
VISION TRACKING W/ AUTONOMOUS

Hello,

Our team is trying to work on our autonomous and in the end to get the robot cannon to shoot once the target is located. We have loaded the vision framework into the project, and now we are quite stuck..right now we just want to do the basics, which is to make the robot move a little once it has seen the target..can you please help us, and tell us what we are doing wrong so far..

Thank you very much..

image host

Last edited by dcarswell : 01-02-2012 at 00:04.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2012, 00:42
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: VISION TRACKING W/ AUTONOMOUS

It appears that you are writing a constant /control to the global variable. I and that this code is in your teleop or autonomous vi. To get the targeting information from the vision loop, you must read from that variable.
I would also replace the array to cluster function with an index array function. You may also want to post your vision code.
__________________
Mike B
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2012, 01:11
dcarswell's Avatar
dcarswell dcarswell is offline
FRC Mentor/Old Dominion University
AKA: DeAndre Carswell
FRC #3359 (Royal Robotics)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Portsmouth, VA
Posts: 36
dcarswell is an unknown quantity at this point
Re: VISION TRACKING W/ AUTONOMOUS

This is in our autonomous.vi, and we integrated the vision processing example directly into our project..like stated in the tutorial..don't know if that helps any ? Should any while loops be needed.. ?


gif image hosting

Last edited by dcarswell : 01-02-2012 at 01:33. Reason: Adjustments
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2012, 01:48
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,105
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: VISION TRACKING W/ AUTONOMOUS

You need to change that global from a write to a read. Then reconnect it. You should then be able to use the data and it should work.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2012, 01:49
dcarswell's Avatar
dcarswell dcarswell is offline
FRC Mentor/Old Dominion University
AKA: DeAndre Carswell
FRC #3359 (Royal Robotics)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Portsmouth, VA
Posts: 36
dcarswell is an unknown quantity at this point
Re: VISION TRACKING W/ AUTONOMOUS

Okay, thank you.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2012, 12:48
sometimestommy's Avatar
sometimestommy sometimestommy is offline
Schrödinger's Assistant
AKA: Thomas Moll
FRC #1939 (Ku-Nig-Its)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 48
sometimestommy is on a distinguished road
Re: VISION TRACKING W/ AUTONOMOUS

All you have to do is create a global variable that will export your tracking data (in array form) and send it to periodic tasks to move motors and what not.
__________________
-Team 1939 The Barstow Ku-Nig-Its!
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 22:28.

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