Go to Post In other words, don't worry about the results but strive for excellence in the way you live your life and everything you do. - Paul Copioli [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-03-2016, 14:15
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Human Vision Camera compatiable with FMS & Java ?

Anyone know a specific camera model (probably Axis) that is known to work seamlessly as a human vision camera with

1) A Java programmed robot
2) FMS
3) Windows say 8.1 or 10 laptop with smart dashboard and
4) IE or Chrome (with no special kludges)

We are now told the Microsoft LifeCam 3000 is incompatible with FMS (at least in a java environment). Our Dlink IP camera will not work with IE or Chrome possibly with FMS a possible cause contributor.

I am told FIRST recommends a specific AXIS camera but no amount of searching on their site finds that document.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-03-2016, 14:19
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,554
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by de_ View Post
We are now told the Microsoft LifeCam 3000 is incompatible with FMS (at least in a java environment).
We used a LifeCam 3000, with few problems at Bayou in Week 3. We also use Java. We also used a Genius 120 degree camera on our intake side as well and had a button to switch the video feeds. The only problem we had was a single match where SmartDashboard wouldn't connect to the robot for some reason, but I don't think that had anything to do with the camera.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
Reply With Quote
  #3   Spotlight this post!  
Unread 27-03-2016, 20:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Human Vision Camera compatiable with FMS & Java ?

Could you give details on who is telling you that the Lifecam 3000 is no longer supported for Java?

https://wpilib.screenstepslive.com/s...ifecam-hd-3000

That URL makes it sound ... supported. The other camera setup page for Axis calls out the Axis 206, Axis M1011 and Axis M1013 as being supported. In reality any Axis camera that supports their Vapix API would work with WPILib API. And Driver Cameras don't even need any of this. They will most likely support an MJPEG stream or H.264 stream or similar, and the compatibility is then up to the dashboard viewer to connect to the stream. I've seen a number of teams use a web browser opened to the stream.

By the way, lots of USB cameras will also work. I've had good luck with the Logitech 310 and 270. They cost far less than Axis and typically less than an IP camera. They do place a bit processing load on the roboRIO CPU, but that isn't typically an issue.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 28-03-2016, 02:34
christheman200's Avatar
christheman200 christheman200 is offline
Chris Lansdale, Programmer
AKA: Chris Lansdale
FRC #0854 (Iron Bears)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2014
Location: Toronto, Ontario
Posts: 31
christheman200 is an unknown quantity at this point
Re: Human Vision Camera compatiable with FMS & Java ?

Just a small bit of info, I've heard that no USB web cams were working over FMS at North Bay.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-03-2016, 10:50
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by Greg McKaskle View Post
Could you give details on who is telling you that the Lifecam 3000 is no longer supported for Java?

Greg McKaskle
We were told at the North Bay regional when our 3000 would not work when connected to FMS but worked otherwise that FIRST knows of an issue with FMS and the 3000. I can't remember for certain if they said it was related to Java or the smart dashboard. We had the same problems at Greater Toronto Central Regional in week one.

Its critical we have a reliable trustworthy camera feed going for champs.
Reply With Quote
  #6   Spotlight this post!  
Unread 28-03-2016, 11:10
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,622
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by de_ View Post
We were told at the North Bay regional when our 3000 would not work when connected to FMS but worked otherwise that FIRST knows of an issue with FMS and the 3000. I can't remember for certain if they said it was related to Java or the smart dashboard. We had the same problems at Greater Toronto Central Regional in week one.

Its critical we have a reliable trustworthy camera feed going for champs.
What was your Microsoft LifeCam HD-3000 connected to, that connected it to the network, that interfaced with FMS?

Was it on a co-processor like the Kangaroo or something running Linux?

I totally agree with Greg as I see no reason to believe that a Microsoft LifeCam HD-3000 camera won't work with FMS.

I do see reasons why the Microsoft LifeCam HD-3000 camera might not work very easily with Linux in general. The RoboRIO runs a distribution of Linux so therefore there are issues I have seen and documented in another topic on ChiefDelphi between the Microsoft LifeCam HD-3000 and the RoboRIO. These issues very easily could be annoying to deal with when using Java on the RoboRIO even directly to Video4Linux. They are likely as bad if you use Java-to-OpenCV-to-Video4Linux or something like GRIP-to-Java-to-OpenCV-to-Video4Linux.

I also agree with Greg - Logitech makes a lot of similar and cheaper webcams that work just fine with the entire FIRST control package with the current distribution of Linux. The Logitech C920 USB camera works just fine to the default FIRST dashboard (you need a bit of Java code to get the RoboRIO to stream to the driver's station) and you can switch the camera that sends if you have multiple in Java I've tested it (there is a short delay). However, as a USB camera, the Logitech C920 doesn't work to a plain old web browser all by itself (you need to add more software to make that happen).

The Axis cameras are fine webcams and any model Greg also listed will do the job. Just be aware you may need to give it a static IP to get it working on a real field and that may make testing in the pit interesting. More than one Axis camera might also be a challenge.

Last edited by techhelpbb : 28-03-2016 at 11:20.
Reply With Quote
  #7   Spotlight this post!  
Unread 28-03-2016, 11:15
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Human Vision Camera compatiable with FMS & Java ?

But IP cameras were?

How were you told of this? Were they an official of some sort?

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 28-03-2016, 11:23
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Human Vision Camera compatiable with FMS & Java ?

As I posted earlier, the LifeCam was tested during beta as were a number of other USB cameras. This doesn't mean that every aspect worked perfectly, or that the tests were super thorough, but I do not believe that any official channels have made any such statements about the LifeCam 3000 and FMS.

So, can you give details on what worked, what was tried, what error messages you received, etc?

The default dashboard will open a TCP connection on port 1180 to the roboRIO's IP address. It will then read the stream that encodes a jpeg preceded by a version string. This code is identical to last year, and was even used since 2009 for IP cameras that were forwarded through the cRIO. I assume that the SmartDashboard does something very similar.

Greg McKaskle
Reply With Quote
  #9   Spotlight this post!  
Unread 28-03-2016, 11:24
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by techhelpbb View Post
What was your Microsoft LifeCam HD-3000 connected to, that connected it to the network, that interfaced with FMS?

.
The 3000 is a usb camera directly plugged into the roborio. No offboard processor etc. Absolutely vanilla installation. There were other teams there with 3000s that would not work either.

Our Dlink IP camera set on a fixed IP would not work in IE or chrome on the driver station but would work with some special kludges in Firefox.
Reply With Quote
  #10   Spotlight this post!  
Unread 28-03-2016, 11:30
soundfx's Avatar
soundfx soundfx is offline
Registered User
AKA: Aaron J
FRC #3238 (Cyborg Ferrets)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Anacortes, WA
Posts: 17
soundfx is an unknown quantity at this point
Re: Human Vision Camera compatiable with FMS & Java ?

For a working USB camera, our team had two Logitech C920 cameras working at two competitions so far.
Reply With Quote
  #11   Spotlight this post!  
Unread 28-03-2016, 11:31
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,622
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by de_ View Post
The 3000 is a usb camera directly plugged into the roborio. No offboard processor etc. Absolutely vanilla installation. There were other teams there with 3000s that would not work either.

Our Dlink IP camera set on a fixed IP would not work in IE or chrome on the driver station but would work with some special kludges in Firefox.
Did you guys put the Java code into the RoboRIO to start the camserver?
Did you make sure to put the code into the correct place in the code to insure it started running at the correct moments?

There are some examples of how to do this, which do work, in the sample work for Eclipse.
I can provide some pretty detailed instructions to get to this sample if anyone wants them.
Reply With Quote
  #12   Spotlight this post!  
Unread 28-03-2016, 11:32
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by Greg McKaskle View Post
But IP cameras were?

How were you told of this? Were they an official of some sort?

Greg McKaskle
Two FIRST tech people (CSA and I believe the FTA) spent a lot of time, twice with us on the field, the second time during lunch (20 minutes). I believe they must have called FIRST central support. At the end they said FIRST knows of a technical compatibility issue with the 3000 and FMS

I will shortly contact FIRST tech support.
Reply With Quote
  #13   Spotlight this post!  
Unread 28-03-2016, 11:35
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by soundfx View Post
For a working USB camera, our team had two Logitech C920 cameras working at two competitions so far.
Did your team program in Java ? Did you make use of the smart dashboard ?
Reply With Quote
  #14   Spotlight this post!  
Unread 28-03-2016, 11:36
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,622
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by de_ View Post
Did your team program in Java ? Did you make use of the smart dashboard ?
I will add that FRC11 has a Logitech C920 on their robots, running in Java, connected to the RoboRIO and no one has come to me with any issue. We even hosted a week 1 district event where I was a CSA and there was no issue at all.

Fair note: if your Java code has an issue starting the camera server correctly it may not matter what USB camera you use it may not work correctly. When FRC11 first connected the Logitech C920 they didn't put the Java code and in there so it did not work. I can also see it being possible someone could fail to start the camera server on the RoboRIO the way it should be and make a problem at that point. The sample code for Java in the Eclipse editor gives a great place to start so that you don't say - try to instantiate the camera server in teleop .

Last edited by techhelpbb : 28-03-2016 at 11:49.
Reply With Quote
  #15   Spotlight this post!  
Unread 29-03-2016, 13:16
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Re: Human Vision Camera compatiable with FMS & Java ?

Quote:
Originally Posted by techhelpbb View Post
Did you guys put the Java code into the RoboRIO to start the camserver?
Did you make sure to put the code into the correct place in the code to insure it started running at the correct moments?

There are some examples of how to do this, which do work, in the sample work for Eclipse.
I can provide some pretty detailed instructions to get to this sample if anyone wants them.
If you could send me some links, I will verify everything with the lead programming mentor.

Everyone: Please remember the 3000 worked fine via wifi and tethered at all times outside of a regional. It only did not work when connected to FMS.
Reply With Quote
Reply


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 21:07.

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