View Single Post
  #5   Spotlight this post!  
Unread 23-01-2017, 10:22
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,107
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Sending Raspberry Pi info to Driver's Station

That example already serves a stream of both the input image and the cv image. The input image streams on port 1185, and can be accessed by any web browser by going to
Code:
http://YOUR.IP.ADDRESS.HERE:1185
. The cv image can be accessed at
Code:
http://YOUR.IP.ADDRESS.HERE:1186
In addition, once you have done your cv processing, the example already links to networktables, so all network tables functionality is already there, initialized, and working. All you would need to do is call
Code:
NetworkTable table = NetworkTable.getTable("SmartDashboard");
and you would have a table object that would send data straight to smart dashboard that you could use on your robot.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote