code to just start a motor on a SparkMax.
Java crashed.
new vendordep, and wanted to know how best to proceed.
Any help/guidance would be appreciated.
VMX HAL: pigpio library version 69 opened.
VMX HAL: SPI Aux Channel 2 opened with baudrate of 4000000.
VMX HAL: Established communication with VMX-pi model 0x32, hardware rev 60, firmware version 3.0.422
VMX HAL: Acquired navX-Sensor configuration.
VMX HAL: Library version 1.1.237
Set VMX CAN Mode to NORMAL.
Server Running...
********** Robot program starting **********
java.io.IOException: SparkMaxDriver could not be loaded from path or an embedded resource.
attempted to load for platform /linux/athena/
Last Load Error:
/usr/local/frc/third-party/lib/libSparkMaxDriver.so: libwpimath.so: cannot open shared object file: No such file or directory
at edu.wpi.first.wpiutil.RuntimeLoader.loadLibrary(RuntimeLoader.java:84)
at com.revrobotics.jni.RevJNIWrapper.<clinit>(RevJNIWrapper.java:43)
at com.revrobotics.CANSparkMaxLowLevel.<clinit>(CANSparkMaxLowLevel.java:38)
at frc.robot.Robot.<clinit>(Robot.java:31)
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:231)
at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:348)
at frc.robot.Main.main(Main.java:27)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x75540cd4, pid=2629, tid=2664
#
# JRE version: OpenJDK Runtime Environment (11.0.9.1+1) (build 11.0.9.1+1-post-Raspbian-1deb10u2)
# Java VM: OpenJDK Server VM (11.0.9.1+1-post-Raspbian-1deb10u2, mixed mode, concurrent mark sweep gc, linux-)
# Problematic frame:
# C [libvmxpi_hal_cpp.so+0xadcd4][thread 2670 also had an error]
spiGoA+0x238
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# //hs_err_pid2629.log