Describe the bug
Using the example code from the documentation for using WPILib Kinematics causes the robot controller app to crash. This is using a version of the library that was compiled and then imported in OnBotJava. The program successfully compiles and other functions of FTCLib like motor control and inputs work correctly.
To Reproduce
Steps to reproduce the behavior:
- Compile and import FTCLib into OnBotJava
- Make a new program containing the example code:
// Locations of the wheels relative to the robot center.
Translation2d m_frontLeftLocation =
new Translation2d(0.381, 0.381);
Translation2d m_frontRightLocation =
new Translation2d(0.381, -0.381);
Translation2d m_backLeftLocation =
new Translation2d(-0.381, 0.381);
Translation2d m_backRightLocation =
new Translation2d(-0.381, -0.381);
// Creating my kinematics object using the wheel locations.
MecanumDriveKinematics m_kinematics = new MecanumDriveKinematics
(
m_frontLeftLocation, m_frontRightLocation,
m_backLeftLocation, m_backRightLocation
);
- Compile the program
- Init the program and see it crash
Expected behavior
The program runs successfully
Additional context
This is using the latest drive station and robot controller apps and FTCLib 2.0. I can get a log dump in the future but I don't currently have access.
Describe the bug
Using the example code from the documentation for using WPILib Kinematics causes the robot controller app to crash. This is using a version of the library that was compiled and then imported in OnBotJava. The program successfully compiles and other functions of FTCLib like motor control and inputs work correctly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The program runs successfully
Additional context
This is using the latest drive station and robot controller apps and FTCLib 2.0. I can get a log dump in the future but I don't currently have access.