9-16-22 add note to edit Datalogger.java, change import path for OpModeManagerImpl.
@ -50,10 +50,19 @@ The IMU is a physical sensor defined in the HardwareMap, like other sensors you
|
|||||||
|
|
||||||
## Software Setup
|
## 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).
|
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**
|
**Method 1**
|
||||||
<br>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.
|
<br>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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user