View Single Post
  #10   Spotlight this post!  
Unread 16-02-2013, 15:53
AutoBotAM AutoBotAM is offline
Registered User
AKA: Christian Reese
FRC #2077 (Laser Robotics (Laserbots))
Team Role: Programmer
 
Join Date: Mar 2012
Rookie Year: 2010
Location: Wisconsin
Posts: 34
AutoBotAM is an unknown quantity at this point
Re: Making a custom Dashboard with two camera feeds?

Quote:
Originally Posted by kylelanman View Post
I do apologize for taking a while to respond. In short that project is gone forever. The HD in our programming laptop went out so at that time last year we were using a personal laptop for LabView. Only the C++ code was under version control and the laptop has since been formatted.

Essentially what we did was send a Boolean across in our DashboardDataPacket called CameraToggle. Our cameras were on 10.xx.yy.11 and 10.xx.yy.12. CameraToggle can be changed by a button or any way you like in the code. For us, if the shooter was on our alignment camera was shown. If shooter was off then our floor camera was on so we could see to pick up balls.

if CameraToggle was true then we showed .12 if it was false we showed .11. There is a section in the LV panel that determines the IP address that the camera view connects to. We inserted the above logic in between the IP and the camera view. There was one other thing we had to wire up to the camera view regarding the authentication of the second camera. Unfortunately no one remembers the details of it.

Sorry this wasn't as helpful as I originally hoped it would be.
That's okay, thanks for the insight. We're just going to use two Chrome windows for now, I made a script that opens them at the right URLs for the cameras, and it performs very well.
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan