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.