Skip to content

Commit

Permalink
Merge pull request #8 from ss0g/main
Browse files Browse the repository at this point in the history
added constant for test motor speed
  • Loading branch information
TheHarmonicRealm authored Jan 13, 2022
2 parents 1cced4a + 11fcec6 commit 7cd16c4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .wpilib/wpilib_preferences.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"currentLanguage": "java",
"projectYear": "2021",
"teamNumber": 4915
}
}
1 change: 1 addition & 0 deletions src/main/java/com/spartronics4915/frc/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
public final class Constants
{
public static final int kTestMotorId = 1;
public static final double kTestMotorSpeed = 0.3;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.spartronics4915.frc.commands;

import com.spartronics4915.frc.Constants;
import com.spartronics4915.frc.subsystems.ExampleSubsystem;

import edu.wpi.first.wpilibj2.command.CommandBase;
Expand All @@ -25,7 +26,7 @@ public ExampleCommand(ExampleSubsystem subsystem)
// Called when the command is initially scheduled.
@Override
public void initialize() {
mExampleSubsystem.startTestMotor(0.3);
mExampleSubsystem.startTestMotor(Constants.kTestMotorSpeed);
}

// Called every time the scheduler runs while the command is scheduled.
Expand Down
26 changes: 0 additions & 26 deletions vendordeps/Phoenix.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
}
],
"jniDependencies": [
{
"groupId": "com.ctre.phoenix",
"artifactId": "cci",
"version": "5.19.4",
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
"linuxathena"
]
},
{
"groupId": "com.ctre.phoenix.sim",
"artifactId": "cci-sim",
Expand Down Expand Up @@ -77,7 +67,6 @@
"sharedLibrary": false,
"skipInvalidPlatforms": true,
"binaryPlatforms": [
"linuxathena",
"windowsx86-64",
"linuxx86-64",
"osxx86-64"
Expand All @@ -92,24 +81,11 @@
"sharedLibrary": false,
"skipInvalidPlatforms": true,
"binaryPlatforms": [
"linuxathena",
"windowsx86-64",
"linuxx86-64",
"osxx86-64"
]
},
{
"groupId": "com.ctre.phoenix",
"artifactId": "cci",
"version": "5.19.4",
"libName": "CTRE_PhoenixCCI",
"headerClassifier": "headers",
"sharedLibrary": false,
"skipInvalidPlatforms": true,
"binaryPlatforms": [
"linuxathena"
]
},
{
"groupId": "com.ctre.phoenix.sim",
"artifactId": "cci-sim",
Expand All @@ -133,7 +109,6 @@
"sharedLibrary": false,
"skipInvalidPlatforms": true,
"binaryPlatforms": [
"linuxathena",
"windowsx86-64",
"linuxx86-64",
"osxx86-64"
Expand Down Expand Up @@ -176,7 +151,6 @@
"sharedLibrary": false,
"skipInvalidPlatforms": true,
"binaryPlatforms": [
"linuxathena",
"windowsx86-64",
"linuxx86-64",
"osxx86-64"
Expand Down
6 changes: 0 additions & 6 deletions vendordeps/REVRobotics.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"artifactId": "SparkMax-cpp",
"binaryPlatforms": [
"windowsx86-64",
"windowsx86",
"linuxaarch64bionic",
"linuxx86-64",
"linuxathena",
"linuxraspbian",
"osxx86-64"
],
Expand All @@ -21,11 +19,9 @@
{
"artifactId": "SparkMax-driver",
"binaryPlatforms": [
"windowsx86-64",
"windowsx86",
"linuxaarch64bionic",
"linuxx86-64",
"linuxathena",
"linuxraspbian",
"osxx86-64"
],
Expand All @@ -52,11 +48,9 @@
"isJar": false,
"skipInvalidPlatforms": true,
"validPlatforms": [
"windowsx86-64",
"windowsx86",
"linuxaarch64bionic",
"linuxx86-64",
"linuxathena",
"linuxraspbian",
"osxx86-64"
],
Expand Down

0 comments on commit 7cd16c4

Please sign in to comment.