View Single Post
  #4   Spotlight this post!  
Unread 23-01-2017, 01:23
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 269
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: Grip & Intermediate Vision Examples Errors

I'm not sure why the intermediate vision example is not working out of the box for you. What camera are you using? Are you connecting to the roboRIO via USB or Ethernet? What does Outline Viewer show under /CameraPublisher/USB Camera 0 and /CameraPublisher/Rectangle for description and mode?

The error message is due to too many simultaneous streaming connections to a given server (it's limited to 10 as a self protection measure to prevent the roborio from getting clobbered by a badly behaving dashboard). It should have nothing to do with how the frames are being fed on the robot side (it should make no difference whether PutFrame is called from a separate thread or not).

If you shut down all of the dashboards, can you connect to http://roborio-<team>-frc.local:1181/ and http://roborio-<team>-frc.local:1182/ with a web browser and see anything (in the intermediate vision example, the first should be the USB camera, the second the rectangle stream)?
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
Reply With Quote