View Single Post
  #1   Spotlight this post!  
Unread 28-03-2012, 01:56
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Offboard Vision Tracking Help

I am currently working on an offboard vision processing application using the given LabVIEW example. I am attempting to send the target info to the robot using UDP, and have noticed others having success doing this. For some reason, though, I can not get it to work efficiently. Right now, I am getting error 74 when running the robot code - Memory or Data Structure Corrupt in Periodic Tasks.vi. I don't know what could be happening here, as I have copied and pasted the data right from the example to the code now.

Some more background information: We are using the 2010 classmate, and having that plugged into (and attached to) the robot itself. When we run the app, it takes the CPU of the classmate to ~80%, and there is noticeable lag in the camera feed, where it is fine in the Dashboard on our driver station laptop. One thought I just had while typing this up is that could the laptop be slowing down so much, the data is getting corrupt while being sent? I tried to switch to TCP, but it threw even more errors at me.

I have attached the code here, any help at all would be greatly appreciated. The zip is the entire application for the standalone vision, and the picture is what I have in Periodic Tasks.vi.
Attached Thumbnails
Click image for larger version

Name:	Periodic Tasks.JPG
Views:	71
Size:	30.9 KB
ID:	12446  
Attached Files
File Type: zip Vision x3.zip (855.0 KB, 6 views)
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote