loading
 
Camera from roborio
Abilash P. from Canada  [3 posts]
8 year
Does anyone know how to get a camera feed into roborealm from the usb camera that is attached to the frc roborio? I can get the camera feed into the frc dashboard but i dont know how to get the camera feed into roborio.
Steven Gentner from United States  [273 posts] 8 year
There are couple ways ... see

http://www.roborealm.com/forum/index.php?thread_id=5472

and

http://www.roborealm.com/help/FRC_CameraClient.php

as this has been discussed in various posts last year.

STeven.
Abilash P. from Canada  [3 posts] 8 year
I tried the frc camera client but nothing gets displayed. Its just a black screen. And when i click start and then camera it just uses my laptop's webcam.
Steven Gentner from United States  [273 posts] 8 year
Check that the IP address actually has something running on port 1180 as you may need to enable something in the FRC code.

The camera button in RR is just for local cameras ... that should remain unchecked.

STeven.
Abilash P. from Canada  [3 posts] 8 year
How would i check this?
Steven Gentner from United States  [273 posts] 8 year
If you know what telnet is you can use that ... (more unix oriented). If not, then a port scanner program like

https://www.softperfect.com/products/networkscanner/

should work ... you can configure the Options->Program Options->Additional tab->Check for open TCP ports and enter 1180 into the last textbox (default has 80 in there).

That will most likely show the machine being online but not the port number. Unfortunately since we don't have access to the roboRIO and FIRST configuration I've got no idea on what needs to be enabled to make that port active. Perhaps this can be found on http://www.chiefdelphi.com/ ?

You may also have a firewall issue not allowing RR to communicate out of the machine ... search online on how to add a firewall rule for RR or temporarily switch off the firewall just to test if this is the cause.

STeven.
Stewart Hering from United States  [1 posts] 8 year
We are having  the exact same problem on my team. We are able to output to the smart dash with a usb camera but not to robrealm. Is there any special code that must be added (c++) ontop of the normal camera server initialization code to make the usb camera work with rob realm?
Steven Gentner from United States  [273 posts] 8 year
If you can locate the CameraServer.cpp class and send that to us we can see what updates FIRST did since last year. As we don't have the hardware that you do we have to *guess* at what the class is doing to create the right receiving module. Last year, the Camera Server module was tested by teams and reported working or not. We've never actually seen it run!

STeven.
Steven Gentner from United States  [273 posts] 8 year
We located this years CameraServer.cpp (its in the WPILibc++ package) and have validated that nothing has changed from last years protocol. There was a bit of a concern that this may have happened since there appeared to have been some placeholders in the code last year.

So, the CameraServer module should work as it did last year. If you are getting a connection but only seeing a black image its possible that the camera server is not bring fed images to send. I'm not sure how exactly one enables that on the roboRIO. You may find some interesting information in last years posts surrounding this (search CameraServer in this forum):

http://www.roborealm.com/forum/index.php?thread_id=5472#0

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index