Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dmc-60c:getting-started [2019/01/04 22:35] – Thomas Kappenman | dmc-60c:getting-started [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Getting Started with the DMC60C ====== | ====== Getting Started with the DMC60C ====== | ||
| - | This guide will provide a step by step guide of setting up the FRC Driver Station environment | + | This guide will provide a step by step guide of setting up the DMC60C API and configuration utility, as well as the FRC Driver Station environment. |
| ----- | ----- | ||
| Line 65: | Line 65: | ||
| >4.2) Click **File> | >4.2) Click **File> | ||
| > | > | ||
| - | >4.3) Navigate to the **dmc60c-frc-api\Examples** folder. Select the folder containing the example project and click **Select folder**. | + | >4.3) Navigate to the DMC60C API git examples (**dmc60c-frc-api\Examples**) folder. Select the folder containing the example project and click **Select folder**. |
| > | > | ||
| > | > | ||
| Line 75: | Line 75: | ||
| > | > | ||
| - | ====5. Running the example project ==== | + | ====4. Opening an example project (Labview) ==== |
| + | >4.1) Open LabVIEW FRC 2019. | ||
| + | > | ||
| + | >4.2) Click **File> | ||
| + | > | ||
| + | >4.3) Navigate to the **dmc60c-frc-api\Examples\Labview** folder. Open the example project folder, select the .lvproj, and click OK to open the project. | ||
| + | > | ||
| + | > | ||
| + | > | ||
| + | >4.4) Right click the RoboRIO Target and open the Properties. | ||
| + | > | ||
| + | > | ||
| + | > | ||
| + | >4.5) Under IP Address / DNS Name, change the team number 42 to your team number. Click OK. | ||
| + | > | ||
| + | > | ||
| + | ====5. Running the example project | ||
| >5.1) Run **FRC Driver Station** to open the FRC Driver Station. | >5.1) Run **FRC Driver Station** to open the FRC Driver Station. | ||
| > | > | ||
| Line 83: | Line 99: | ||
| > | > | ||
| > | > | ||
| - | >5.4) Open src/ | + | > |
| + | >5.4) Open src/ | ||
| > | > | ||
| > | > | ||
| > | > | ||
| - | >5.5) When ready, click **Run> | + | >5.5) When ready, click the WPI Logo on the top right. Click **WPILib C++ Deploy** and click **Ok** to deploy the code to the roboRIO. |
| > | > | ||
| > | > | ||
| + | > | ||
| + | >5.6) Click the steering wheel on the left side of the driver station. Select **Teleoperated** and click **Enable**. This will start the teleoperated loop in the deployed example code on the roboRIO. You should now be able to drive the DMC60C with the connected joystick. | ||
| + | |||
| + | ====5. Running the example project (LabVIEW) ==== | ||
| + | >5.1) Run **FRC Driver Station** to open the FRC Driver Station. | ||
| + | > | ||
| + | >5.2) Click the gear on the left side of the driver station. Change the **Team Number** to the roboRIO' | ||
| + | > | ||
| + | >5.3) Plug in the controller and wait for the joysticks light to turn green. | ||
| + | > | ||
| + | > | ||
| + | > | ||
| + | >5.4) Open **Target/ | ||
| + | > | ||
| + | > | ||
| + | > | ||
| + | >5.5) Change the device number feeding into the DMC60C Open VI to your DMC60C' | ||
| + | > | ||
| + | >5.5) When ready, open **Target/ | ||
| > | > | ||
| >5.6) Click the steering wheel on the left side of the driver station. Select **Teleoperated** and click **Enable**. This will start the teleoperated loop in the deployed example code on the roboRIO. You should now be able to drive the DMC60C with the connected joystick. | >5.6) Click the steering wheel on the left side of the driver station. Select **Teleoperated** and click **Enable**. This will start the teleoperated loop in the deployed example code on the roboRIO. You should now be able to drive the DMC60C with the connected joystick. | ||
| {{tag> | {{tag> | ||

