From c2e3c0a3ff76ac9f20017e135f20af92b6dec762 Mon Sep 17 00:00:00 2001 From: Westside Robotics Date: Fri, 16 Sep 2022 14:43:07 -0700 Subject: [PATCH] 9-16-22 add note to edit Datalogger.java, change import path for OpModeManagerImpl. --- Datalogging.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Datalogging.md b/Datalogging.md index 2961551..f3254bc 100644 --- a/Datalogging.md +++ b/Datalogging.md @@ -50,10 +50,19 @@ The IMU is a physical sensor defined in the HardwareMap, like other sensors you ## Software Setup -Use **one** of the following ways to transfer the two provided files to the Control Hub or RC phone, to appear in OnBot Java. +Use **one** of the following 3 ways to transfer the two provided files to the Control Hub or RC phone, to appear in OnBot Java. For all 3 methods, first connect the laptop to the internet, and open this link in a new Chrome browser tab: [Datalogger.java](https://github.com/FIRST-Tech-Challenge/WikiSupport/blob/master/SampleOpModes/Datalogging/Datalogger.java). +**Sept. 2022 Update:** For FTC SDK 8.0 or higher, change line 29 from this: +```java +import org.firstinspires.ftc.robotcore.internal.opmode.OpModeManagerImpl; +``` +to this: +```java +import com.qualcomm.robotcore.eventloop.opmode.OpModeManagerImpl; +``` + **Method 1**
Click the `Raw` button at the right side, to open a page with raw text. Right-click anywhere and choose "Save as...". Change the "Save as type" from "Text Document" to "All Files". Navigate to the laptop's Downloads folder, then click the `Save` button.