View Single Post
  #6   Spotlight this post!  
Unread 23-01-2017, 11:25
ryan.mitchell ryan.mitchell is offline
Registered User
FRC #1512 (Big Red)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Middletown, Delaware
Posts: 14
ryan.mitchell is an unknown quantity at this point
Re: Sending Raspberry Pi info to Driver's Station

Quote:
Originally Posted by Thad House View Post
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.
By your ip address do you mean the ip of the team network (directs to the system configuration page without the port). If so, when I put in the address with the port 1185 or 1186 it was unable to connect. On the raspberry pi the log file was:
Code:
NT: client: CONNECTED to server [ip address of team 1512 router] port 1735
Reply With Quote