Quote:
Originally Posted by sgk525
So I have been looking at the smartdashboard camera viewer properties and it asks for the "camera's ip address or mdns name". Here I can feed the URL: "http://10.x.y.z:9090/stream.mjpg" and should it successfully make a connection to the Dash? Should the x, y, and z have integer values? Is it possible to set a mdns name for the http web server?
Also the the ports that are allowed for team use ranges from "5800-5810"
|
I would not recommend using mDNS with coprocessors. Go with fixed IPs in the 10.team.number.xx range. Yes, for IP addresses, x, y, and z are integers in the range 0-255, but for use on the field, x and y should be derived from the team number (e.g. x=2, y=94 for team 294), and z should not be 0, 255, or 1-5.
The ports allowed for team use are listed in R56. Ports 5800-5810 are one option; another is port 80.
__________________
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)