Running your Benchtop Test Program

概述

You should create and download a Benchtop Test Program as described for your programming language:

C++/Java

LabVIEW

Tethered Operation

Running your benchtop testing program while tethered to the Driver Station via ethernet or USB cable will confirm the the program was successfully deployed and that the driver station and roboRIO are properly configured.

The roboRIO should be powered on and connected to the PC over Ethernet or USB.

启动 FRC Driver Station

The Driver Station icon found on the desktop.

The FRC® Driver Station can be launched by double-clicking the icon on the Desktop or by selecting Start->All Programs->FRC Driver Station.

设置 Driver Station

Using the 3rd tab with the gear of the Driver Station to set the team number.

必须将 Driver Station 设置为您的团队编号,才能连接到您的机器人。为此,请单击“ Setting (设置)”选项卡,然后在“团队编号”框中输入您的团队编号。按回车键或在框外单击以使设置生效。

电脑通常应该有正确的网络设置,以便 Driver Station 连接到机器人,但如果没有,请确保你已将你的网络适配器设置为 DHCP。

Confirm Connectivity

../../../_images/confirm-connectivity-tethered.png

Tethered

../../../_images/confirm-connectivity-wireless.png

Wireless

Using the Driver Station software, click Diagnostics and confirm that the Enet Link (or Robot Radio led, if operating wirelessly) and Robot leds are green.

Operate the Robot

Highlights the different sections of the Drive Tab (1st)

Click the Operation Tab

  1. Confirm that battery voltage is displayed

  2. Communications, Robot Code, and Joysticks indicators are green.

  3. Put the robot in Teleop Mode

  4. Click Enable. Move the joysticks and observe how the robot responds.

  5. Click Disable

Wireless Operation

Before attempting wireless operation, tethered operation should have been confirmed as described in Tethered Operation. Running your benchtop testing program while connected to the Driver Station via WiFi will confirm that the access point is properly configured.

Configuring the Access Point

See the article Programming your radio for details on configuring the robot radio for use as an access point.

After configuring the access point, connect the driver station wirelessly to the robot. The SSID will be your team number (as entered in the Bridge Configuration Utility). If you set a key when using the Bridge Configuration Utility you will need to enter it to connect to the network. Make sure the computer network adapter is set to DHCP (“Obtain an IP address automatically”).

You can now confirm wireless operation using the same steps in Confirm Connectivity and Operate the Robot above.