Autonomous program won't recognize another command

I’m currently updating my autonomous code to the 2020 “convenience feature” setup. I ran into a problem where it can’t use a command with parameters (double, double, double) even though it has been imported. Any ideas? Also, am I formatting this autonomous code right or should the sequence be inside the TestAuto() constructor?

also, DriveTimed() extends SequentialCommandGroup, don’t know if that matters

nvm figured it out

It would be great if you put the solution here for reference to people with similar issues in the future.

The solution, I expect, is that it is missing the new keyword, I.e. new DriveTimed().

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.