Go to Post I think a 100% student-run team is as good as a school taught by your peers. - [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 15-02-2013, 21:32
mcristina444 mcristina444 is offline
Registered User
FRC #2078 (Robotic Ooze)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Covington, LA
Posts: 27
mcristina444 is an unknown quantity at this point
Displaying Target Info on Dashboard

In the 2013 Rectangular Target Vision Example(integrated into robot code), the Target Info is being written to the Smart Dashboard, but in the Dashboard code, how does one access this data?


An SD Read Numeric Array to Index Array, would that produce the elements in the same order?



Target Info includes

Last edited by mcristina444 : 15-02-2013 at 21:35.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2013, 07:48
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: Displaying Target Info on Dashboard

The code in the images looks like it will successfully read the target info about the largest and most likely target.

Since you are posting, I'm assuming it isn't working or isn't working well. You state that the vision code is on the robot, so you want to read the target info on the dashboard? Make sure that it is in a loop that is running. If you probe data, the probe will tell you the last time it was updated and if you don't see the data update at least once a second, you may need to look at putting it into a loop or making your own loop. Consider how often the loop should run and any logic that may affect how often it runs.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2013, 16:15
mcristina444 mcristina444 is offline
Registered User
FRC #2078 (Robotic Ooze)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Covington, LA
Posts: 27
mcristina444 is an unknown quantity at this point
Re: Displaying Target Info on Dashboard

Quote:
Originally Posted by Greg McKaskle View Post
The code in the images looks like it will successfully read the target info about the largest and most likely target.

Since you are posting, I'm assuming it isn't working or isn't working well. You state that the vision code is on the robot, so you want to read the target info on the dashboard? Make sure that it is in a loop that is running. If you probe data, the probe will tell you the last time it was updated and if you don't see the data update at least once a second, you may need to look at putting it into a loop or making your own loop. Consider how often the loop should run and any logic that may affect how often it runs.

Greg McKaskle
Since we are so close to the deadline, I don't have much access to play around with code. Today I will have access to see how well it works.

I also posted here to give other users a nice reference, if they have a similar question.
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 08:58.

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