Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero-to-robot arcade drive example should use four motors and following #2587

Open
calcmogul opened this issue Feb 26, 2024 · 2 comments
Open

Comments

@calcmogul
Copy link
Member

calcmogul commented Feb 26, 2024

The kitbot has more than two motors, so following is required to get full performance. The example just needs some extra motor declarations and some leader.addFollower(follower) calls in robotInit().

See https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java-python.html.

@sciencewhiz
Copy link
Collaborator

It's based on the wiring instructions in step 1 which uses a PWM Y cable

@calcmogul
Copy link
Member Author

calcmogul commented Feb 26, 2024

A team I just dealt with on the FRC Discord apparently didn't do that, and had them all wired to individual ports. They couldn't find a code example to fit their needs after looking for several weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants