enabled visualvm

This commit is contained in:
Ryan Manley
2022-01-22 15:43:23 -07:00
parent df9946ffc7
commit 4cc0a2109a
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -27,6 +27,8 @@ deploy {
// getTargetTypeClass is a shortcut to get the class type using a string // getTargetTypeClass is a shortcut to get the class type using a string
frcJava(getArtifactTypeClass('FRCJavaArtifact')) { frcJava(getArtifactTypeClass('FRCJavaArtifact')) {
// Enable visualvm
jvmArgs << "-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=10.43.88.2"
} }
// Static files artifact // Static files artifact
@@ -34,6 +36,7 @@ deploy {
files = project.fileTree('src/main/deploy') files = project.fileTree('src/main/deploy')
directory = '/home/lvuser/deploy' directory = '/home/lvuser/deploy'
} }
} }
} }
} }
@@ -49,7 +49,7 @@ public class XboxController implements IHandController
private static final double LEFT_AXIS_RIGHT_TOLERANCE = 0.9; private static final double LEFT_AXIS_RIGHT_TOLERANCE = 0.9;
private static final double LEFT_AXIS_LEFT_TOLERANCE = -0.9; private static final double LEFT_AXIS_LEFT_TOLERANCE = -0.9;
private static final double DEADZONE = 0.1; private static final double DEADZONE = 0.2;
private Joystick m_stick; private Joystick m_stick;