IP配置

备注

本文档描述了场地和Pits区在事件中使用的IP配置,潜在问题和解决方法配置。

TE.AM IP 表示法

The notation TE.AM is used as part of IPs in numerous places in this document. This notation refers to splitting your five digit team number into digits for the IP address octets. Where AM is the last two digits of the team number, and TE is the first three digits. Leading zeros are optional. This scheme supports team numbers up to 25599.

举例: 10.TE.AM.2

Team 1 - 10.0.1.2

Team 12 - 10.0.12.2

Team 122 - 10.1.22.2

Team 1002 - 10.10.2.2

Team 1212 - 10.12.12.2

Team 1202 - 10.12.2.2

Team 1220 - 10.12.20.2

Team 3456 - 10.34.56.2

Team 10000 - 10.100.0.2

Team 12345 - 10.123.45.2

场地内

本节介绍了连接到Field Network进行比赛时的联网

场地内的DHCP配置

The Field Network runs a DHCP server with pools for each team that will hand out addresses in the range of 10.TE.AM.20 to 10.TE.AM.199 with a subnet mask of 255.255.255.0, and a default gateway of 10.TE.AM.4. When configured for an event, the Team Radio runs a DHCP server with a pool for devices onboard the robot that will hand out addresses in the range of 10.TE.AM.200 to 10.TE.AM.219 with a subnet mask of 255.255.255.0, and a gateway of 10.TE.AM.1.

  • OpenMesh OM5P-AN or OM5P-AC radio - Static 10.TE.AM.1 programmed by Kiosk

  • roboRIO - DHCP 10.TE.AM.2 assigned by the Robot Radio

  • Driver Station - DHCP (“Obtain an IP address automatically”) 10.TE.AM.X assigned by field

  • IP camera (if used) - DHCP 10.TE.AM.Y assigned by Robot Radio

  • Other devices (if used) - DHCP 10.TE.AM.Z assigned by Robot Radio

场地内静态配置

It is also possible to configure static IPs on your devices to accommodate devices or software which do not support mDNS. When doing so you want to make sure to avoid addresses that will be in use when the robot is on the field network. These addresses are 10.TE.AM.1 for the OpenMesh radio, 10.TE.AM.4 for the field router, and anything greater than 10.TE.AM.20 which may be assigned to a device configured for DHCP or else reserved. The roboRIO network configuration can be set from the webdashboard.

  • OpenMesh路由器-静态``10.TE.AM.1’’由Kiosk编程。

  • roboRIO-静态``10.TE.AM.2’’是一个合理的选择,子网掩码为``255.255.255.0’’(默认)

  • Driver Station - Static 10.TE.AM.5 would be a reasonable choice, subnet mask must be 255.0.0.0 to enable the DS to reach both the robot and FMS Server, without additionally configuring the default gateway. If a static address is assigned and the subnet mask is set to 255.255.255.0, then the default gateway must be configured to 10.TE.AM.4.

  • IP摄像头(如果使用)-静态``10.TE.AM.11’’将是一个合理的选择,子网``255.255.255.0’’应该可以

  • 其他设备-静态``10.TE.AM.6-.10’’或``.12-.19’’(如果没有摄像头,则为.11)子网``255.255.255.0’’

Pits区内

备注

** 2018年新增功能:**赛事配置中,机器人无线电的有线端现在运行着一个DHCP服务器。

Pits区内DHCP配置

  • OpenMesh radio - Static 10.TE.AM.1 programmed by Kiosk.

  • roboRIO - 10.TE.AM.2, assigned by Robot Radio

  • Driver Station - DHCP (“Obtain an IP address automatically”), 10.TE.AM.X, assigned by Robot Radio

  • IP camera (if used) - DHCP, 10.TE.AM.Y, assigned by Robot Radio

  • Other devices (if used) - DHCP, 10.TE.AM.Z, assigned by Robot Radio

Pits区内静态配置

It is also possible to configure static IPs on your devices to accommodate devices or software which do not support mDNS. When doing so you want to make sure to avoid addresses that will be in use when the robot is on the field network. These addresses are 10.TE.AM.1 for the OpenMesh radio and 10.TE.AM.4 for the field router.