mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 00:38:05 -06:00
enabled visualvm
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user