Go to Post Just because something has never been done, doesn't mean it's impossible. See: everything ever. - Taylor [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-04-2012, 00:40
yabberyabber yabberyabber is offline
Registered User
AKA: Andrew Nelson
FRC #0973
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: SLO, Ca and/or Seattle, WA
Posts: 10
yabberyabber is an unknown quantity at this point
Overlaying rectangles over the targets in the camera feed

We've been trying for some time to draw the vision targets over the camera feed so we can check to see if the targeting code is working correctly, and have never been able to get it to work.

What we've done so far is add the dimensions of the rectangle into the HighPriorityDashboard data cluster and then have that data cluster shoved into a global variable in the Dashboard Then in the camera loop we draw four rectangles on the picture depending on the data in the data cluster.
The problem we're having is that when I run the dashboard, labview highlights the variable (Called secret dash data, because I can't figure out how to rename it) and says "corrupt memory".
Here is our dashboard file: http://proj.titanrobotics.net/hg/Frc...oard%20Main.vi - click raw (not sure if labview will allow sharing code like this... if not the entire project is available one directory up)
Here is the C++ code that generates the cluster http://proj.titanrobotics.net/hg/Frc...DataFormat.cpp (although we're fairly confident in it)

Thanks in advance for your help! No one on our team is a labview person, so the answer is probably something pretty silly. I'm sorry if it's something super obvious that I've just overlooked.

Last edited by yabberyabber : 02-04-2012 at 20:42.
Reply With Quote
 


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 10:45.

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