View Single Post
  #24   Spotlight this post!  
Unread 28-03-2009, 01:14
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 dwodrich View Post
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.
I'm actually not sure where this happens either. I suspect somewhere deep in the code (similar to the code that's responsible for transferring back camera images to the computer that doesn't work in competition, as you don't have to enable that anywhere that I know of either) there's a loop running that takes whatever is stored in the queue called "Dashboard Data" and passes it over the network.

This part of the code isn't mine; if you open up the default Build DashBoard Data.vi, you'll see a similar thing happening, which is where I got the code from.

Let me know if you have any other questions.

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor