Skip to content

Commit

Permalink
Update SparkMax to 1.5.4 from 1.5.1 (#28)
Browse files Browse the repository at this point in the history
* Update test motors to use unique IDs

* Update RevRobotics library for SparkMAX to 1.5.4
  • Loading branch information
jamesdooley4 authored Feb 16, 2021
1 parent c07a553 commit 11af457
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
2 changes: 0 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ pluginManagement {
}
}
}

include 'gradle.properities'
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@

public class RobototesCANSparkMaxTest {
RobototesCANSparkMaxSIM testMotor;
private static int motorID = 0;

@Before
public void before() {
testMotor = new RobototesCANSparkMaxSIM(0, MotorType.kBrushless, true);
testMotor = new RobototesCANSparkMaxSIM(motorID, MotorType.kBrushless, true);
motorID++;
}

@Test
Expand Down
21 changes: 12 additions & 9 deletions vendordeps/REVRobotics.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"fileName": "REVRobotics.json",
"name": "REVRobotics",
"version": "1.5.1",
"version": "1.5.4",
"uuid": "3f48eb8c-50fe-43a6-9cb7-44c86353c4cb",
"mavenUrls": [
"http://www.revrobotics.com/content/sw/max/sdk/maven/"
Expand All @@ -11,14 +11,14 @@
{
"groupId": "com.revrobotics.frc",
"artifactId": "SparkMax-java",
"version": "1.5.1"
"version": "1.5.4"
}
],
"jniDependencies": [
{
"groupId": "com.revrobotics.frc",
"artifactId": "SparkMax-driver",
"version": "1.5.1",
"version": "1.5.4",
"skipInvalidPlatforms": true,
"isJar": false,
"validPlatforms": [
Expand All @@ -27,15 +27,16 @@
"linuxaarch64bionic",
"linuxx86-64",
"linuxathena",
"linuxraspbian"
"linuxraspbian",
"osxx86-64"
]
}
],
"cppDependencies": [
{
"groupId": "com.revrobotics.frc",
"artifactId": "SparkMax-cpp",
"version": "1.5.1",
"version": "1.5.4",
"libName": "SparkMax",
"headerClassifier": "headers",
"sharedLibrary": false,
Expand All @@ -46,13 +47,14 @@
"linuxaarch64bionic",
"linuxx86-64",
"linuxathena",
"linuxraspbian"
"linuxraspbian",
"osxx86-64"
]
},
{
"groupId": "com.revrobotics.frc",
"artifactId": "SparkMax-driver",
"version": "1.5.1",
"version": "1.5.4",
"libName": "SparkMaxDriver",
"headerClassifier": "headers",
"sharedLibrary": false,
Expand All @@ -63,8 +65,9 @@
"linuxaarch64bionic",
"linuxx86-64",
"linuxathena",
"linuxraspbian"
"linuxraspbian",
"osxx86-64"
]
}
]
}
}

0 comments on commit 11af457

Please sign in to comment.