mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Init HAL from WPILibJ to remove segfaults
Change-Id: I28980218ffab440cf17c5a6bb953f52a3458fa6a
This commit is contained in:
@@ -238,6 +238,8 @@ public abstract class RobotBase {
|
||||
// System.out.println("ByteBuffer2 as Int" + returnBuffer2.getInt(0));
|
||||
|
||||
/* End JNI Testing */
|
||||
|
||||
FRCNetworkCommunicationsLibrary.FRCNetworkCommunicationReserve();
|
||||
FRCNetworkCommunicationsLibrary.FRCNetworkCommunicationObserveUserProgramStarting();
|
||||
|
||||
UsageReporting.report(tResourceType.kResourceType_Language, tInstances.kLanguage_Java);
|
||||
|
||||
@@ -71,7 +71,7 @@ public class RobotDrive implements MotorSafety, IUtility {
|
||||
protected SpeedController m_rearLeftMotor;
|
||||
protected SpeedController m_rearRightMotor;
|
||||
protected boolean m_allocatedSpeedControllers;
|
||||
protected boolean m_isCANInitialized = true;
|
||||
protected boolean m_isCANInitialized = false;//TODO: fix can
|
||||
protected static boolean kArcadeRatioCurve_Reported = false;
|
||||
protected static boolean kTank_Reported = false;
|
||||
protected static boolean kArcadeStandard_Reported = false;
|
||||
|
||||
Reference in New Issue
Block a user