Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add romi vendordeps #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/main/java/com/stuypulse/robot/subsystems/Drivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.stuypulse.robot.subsystems;

import static com.stuypulse.robot.Constants.Drivetrain.*;
import com.stuypulse.robot.subsystems.sensors.RomiGyro;

import com.stuypulse.stuylib.math.Angle;

Expand All @@ -20,6 +19,8 @@
import edu.wpi.first.wpilibj.smartdashboard.Field2d;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import edu.wpi.first.wpilibj.romi.RomiGyro;


public class Drivetrain extends SubsystemBase {

Expand All @@ -33,7 +34,7 @@ public class Drivetrain extends SubsystemBase {
private final Encoder leftEncoder;
private final Encoder rightEncoder;

// Sensors
// Gyro
private final RomiGyro gyro;

// Odemetery
Expand Down
118 changes: 0 additions & 118 deletions src/main/java/com/stuypulse/robot/subsystems/sensors/RomiGyro.java

This file was deleted.

36 changes: 36 additions & 0 deletions vendordeps/RomiVendordep.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"fileName": "RomiVendordep.json",
"name": "Romi-Vendordep",
"version": "2022.2.1",
"uuid": "2854af28-a682-4c3e-abe5-1f62c288c6b8",
"mavenUrls": [],
"jsonUrl": "",
"javaDependencies": [
{
"groupId": "edu.wpi.first.romi",
"artifactId": "romi-vendordep-java",
"version": "2022.2.1"
}
],
"jniDependencies": [],
"cppDependencies": [
{
"groupId": "edu.wpi.first.romi",
"artifactId": "romi-vendordep-cpp",
"version": "2022.2.1",
"libName": "romiVendordep",
"headerClassifier": "headers",
"sourcesClassifier": "sources",
"sharedLibrary": true,
"skipInvalidPlatforms": true,
"binaryPlatforms": [
"linuxraspbian",
"linuxaarch64bionic",
"windowsx86-64",
"windowsx86",
"linuxx86-64",
"osxx86-64"
]
}
]
}