Comments (3)
More specific info:
- Two main intake motors in a top-down, one following the other (for consistency, make the top motor the "follower", and the bottom motor the "leader")
- One pivot motor to bring in the intake
- Assume a limit switch for calibration purposes (bringing intake in)
- Conveyor belt (one motor)
Basic requirements:
- Setting speed on all motors (note: for the two main intake motors, only one method is needed - this method should only set the speed on the motor designated as the "leader")
- Getter for the position of the pivot motor
- Method to set, and another to reset encoder on the pivot motor as well
- Getter on the limit switch value
- Make a class variable to store the PIDController on the integrated motor controller (cansparkmax) so we can position the pivot motor, no other motors need this. Please default the PID values to all 0, we can tune later
- Setter for the PIDController reference on the pivot (should take in an angle in degrees and send to the controller as a position ControlType)
- Getter for all three motor's currents (we're not sure which to use yet, just make a getter for all 3)
from frc2024.
"avni is working on this" - avni
from frc2024.
finished code for intake, on separate branch; I was a little confused on the PID class variable so that may be incorrect
from frc2024.
Related Issues (14)
- Migrate Preseason Swerve Code to 2024 WPILIB and to this repository
- Complete Jetson setup for AprilTags
- Set up AdvantageKit/AdvantageScope HOT 2
- Migrate to a new controller
- Retune PIDs HOT 1
- Shooter subsystem HOT 2
- New controller configuration system HOT 1
- Tune Intake Pivot
- Tune Shooter RPM PID HOT 1
- Define and set up an indexing process HOT 1
- Make sure converting the AprilTags pose from Jetson to the coordinate system on WPILIB is accurate
- Climber Subsystem HOT 1
- ClimberCommand
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frc2024.