I tried to change Swerve with NEO into Falcon 500. Despite building and deploying sucessfully, it still can’t run perfectly.
It could run its driveMotor at first. However, it only run its turningMotor after sometimes.
There are my code and test video below. If someone know that, please answer me. Thanks!
Thanks for your help. I finish it except some codes which I don’t know the meaning after searching.
1.
factoryDefault
2.
offset = new Rotation3d(new Quaternion(gyro.getQuaternionW(),
gyro.getQuaternionX(),
gyro.getQuaternionY(),
gyro.getQuaternionZ()));
Thank for you guys’ help. It really help me a lot, because we have a competition this Saterday, but we don’t have programs and programmers(I’m design team). I wish all of you a nice season next year.