View Single Post
  #21   Spotlight this post!  
Unread 25-03-2009, 17:20
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Live Video on Dashboard

Quote:
Originally Posted by RyanCahoon View Post
Unfortunately I won't have access to the code for another week or so, but I can post the code then if anyone is interested.
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
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor