-
I just finished my first opportunity to test out this library, and I mainly noticed two problems with autonomous, the first one is less of a problem and more of an inconvenience, but when using the FollowTrajectory command the left and right side of the robot kind of go out of sync? like it wiggles forwards if that makes sense. I'm using PID values from this project as well and I figure its a PID issue. The second issue could very well have something to do with my project, but when I try to schedule an auto routine that has more than just the path command, the robot code crashes/restarts, I included one of the example routines below if it helps. public Command testDrive(){
return new SequentialCommandGroup(
new HomingCommand(m_armPivotSubsystem, m_armTelescopeSubsystem),
new SetPositionCommandGroup(m_middleRowAngle, m_middleRowExtension),
new WaitCommand(0.1),
new HomingCommand(m_armPivotSubsystem, m_armTelescopeSubsystem),
new FollowTrajectory(drivebase, Constants.Paths.testDrive, true)
);
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I am pretty sure it crashes because youre supposed to use (the now deprecated) waypoints in PathPlannerLib. |
Beta Was this translation helpful? Give feedback.
-
Just so I can close this, we've since figured out the pathplanner crashing has nothing to do with yagsl or pathplanner and was a bug with our arm code |
Beta Was this translation helpful? Give feedback.
Just so I can close this, we've since figured out the pathplanner crashing has nothing to do with yagsl or pathplanner and was a bug with our arm code