Go to Post Success to me is a feeling that is associated with achieving something you truly worked hard for; something that you can look at and say "That's my best work." - OneAngryDaisy [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2013, 12:54
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
Making a custom Dashboard with two camera feeds?

I want to make a custom FRC Dashboard in LabView with two camera feeds instead of one. For some reason I cannot find the project template for it in Labview, and the getting started window doesn't have anything pertaining to dashboards at all. Is there a download for the VI template for making FRC dashboards? Or could someone upload the type of dashboard I'm talking about? It is rather frustrating, and I'm fairly sure I did "install everything" in the labview install we got in the KOP.
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan
  #2   Spotlight this post!  
Unread 14-02-2013, 13:01
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Making a custom Dashboard with two camera feeds?

Did you also install the LabVIEW update? Full instructions for installing everything you need are here: http://wpilib.screenstepslive.com/s/...w-for-frc-2013
  #3   Spotlight this post!  
Unread 14-02-2013, 19:17
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?

Thanks, that's probably it. Downloaded from: http://joule.ni.com/nidu/cds/view/p/id/2261
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan
  #4   Spotlight this post!  
Unread 15-02-2013, 00:07
jertel's Avatar
jertel jertel is offline
Registered User
FRC #0706 (Arrowhead Robotics)
Team Role: Electrical
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Waukeshau, WI
Posts: 2
jertel is an unknown quantity at this point
Re: Making a custom Dashboard with two camera feeds?

Quote:
Originally Posted by AutoBotAM View Post
I want to make a custom FRC Dashboard in LabView with two camera feeds instead of one.
Is it possible given the bandwidth constraints to have two camera feeds? Is there any rule that would interfere with having two cameras?
  #5   Spotlight this post!  
Unread 15-02-2013, 01:59
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Making a custom Dashboard with two camera feeds?

Quote:
Originally Posted by jertel View Post
Is it possible given the bandwidth constraints to have two camera feeds? Is there any rule that would interfere with having two cameras?
If you keep it at 320x240 and turn down the fps/turn up the compression, it's quite possible.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
  #6   Spotlight this post!  
Unread 15-02-2013, 04:55
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: Making a custom Dashboard with two camera feeds?

If you're just looking at having two camera feeds on the dashboard, without doing any processing with the images on the robot, then you shouldn't have to write (draw?) any LabView stuff on the robot to get the cameras to show up. They're just network cameras, assuming you're using an axis camera.
  #7   Spotlight this post!  
Unread 15-02-2013, 07:31
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 191
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Making a custom Dashboard with two camera feeds?

If you only ever need to view a single camera at a time then it is relatively easy to create a toggle button on your joystick/controller that changes what camera LV displays. We did this successfully last year. If your interested I can dig up the project and post it.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

  #8   Spotlight this post!  
Unread 15-02-2013, 08:13
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
If you only ever need to view a single camera at a time then it is relatively easy to create a toggle button on your joystick/controller that changes what camera LV displays. We did this successfully last year. If your interested I can dig up the project and post it.
I would be very interested! Is your code for it in Java?
__________________
"Mecanum drivetrains, like every other, have advantages and disadvantages, but some of the disadvantages being discussed here are overstated and/or misinformation." -buchanan
  #9   Spotlight this post!  
Unread 16-02-2013, 10:33
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 191
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Making a custom Dashboard with two camera feeds?

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.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?

  #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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi