View Single Post
  #23   Spotlight this post!  
Unread 27-03-2009, 14:57
dwodrich dwodrich is offline
Registered User
FRC #1706
 
Join Date: Dec 2008
Location: Wentzville
Posts: 45
dwodrich has a spectacular aura aboutdwodrich has a spectacular aura aboutdwodrich has a spectacular aura about
Re: Live Video on Dashboard

Quote:
Originally Posted by RyanCahoon View Post
I still haven't had access to a computer with LabVIEW on it (I was short sighted and didn't get it on my personal laptop), but I got our coach to send the code to me. This is hack-quality code, so it's not the smoothest, but regard it as a proof of concept. When I get some time to work on it, I'll try to clean it up, but I thought I'd post it so people could experiment if they want to.

Basic Robot Main.vi

Computer Dashboard

Note that the critical parts of the robot code are the two while loops at the top of the program. The rest is just drive code etc. For people who want to experiment, I'd recommend copying those two loops into their own code. Some changing of IP addresses might be required, I'm not sure if I hard coded any in. Again apologies for the sloppy code.

--Ryan
Thanks for the code. I see where you are enqueueing the data, but where does in get dequeued and sent to the dashboard? the question may be because I'm not real familiar with the basic robot project.
Thanks for your help!