chopshop-166 / frc-2023 Goto Github PK
View Code? Open in Web Editor NEWFRC Team 166's source code for the 2023 game, Charged Up
License: MIT License
FRC Team 166's source code for the 2023 game, Charged Up
License: MIT License
add the commands for your subsystem here to allow for drafting of a keymap.
Autos to make:
[1] = starting position near barrier
[2] = starting position in middle (in front of charge station)
[3] = starting position side near judging table (wire run)
We should use @JoeJanickiChSh 's setup with network tables and PyGame? to create a custom dashboard. Shuffleboard is alright for debugging, but a custom one can probably be more useful for drivers
Alternative option is FRC Web Components
driveTo
commanddriveToNearestPosition
commandNeed help debugging. Currently, I have:
public void balance() {
double angleStuff = Gyro.getAngle();
//^^Lets pretend this works
if (angleStuff > 0){
Drive.drive(0.5, 0, 0);
}
else if(angleStuff < 0){
Drive.drive(0.5, 0, 0);
}
}
We need a way to communicate what game piece we want from the human player.
We may want to indicate other robot conditions to the driver
These should be accomplished with addressable LEDs as they are simple to wire and program with built-in support.
Required Commands:
When the arm isn't being actively run, it slowly lowers because of gravity. Look into having positional PID to hold the current position
We can probably increase the max speed of our drive. We should see what speeds we can actually reach.
Investigate using Pathplanner for generating paths - it looks like it adds support for event points that you can use to trigger commands.
Use LEDs for relaying information to the drivers
I'm just going to make this so it's here for whoever works on this.
This will require interaction between the Arm and the ArmRotate subsystems (probably via NetworkTables)
purpose | motor | Type | PDH slot |
---|---|---|---|
drive back right | 1 | Sparkmax | 1 |
steering back right | 2 | Sparkmax | 0 |
canCoder back right | 1 | CanCoder | |
drive back left | 3 | Sparkmax | 19 |
steering back left | 4 | Sparkmax | 18 |
canCoder back left | 2 | CanCoder | |
drive front right | 5 | Sparkmax | 3 |
steer front right | 6 | Sparkmax | 2 |
canCoder front right | 3 | CanCoder | |
drive front left | 7 | Sparkmax | 17 |
steer front left | 8 | Sparkmax | 16 |
canCoder front left | 4 | CanCoder | |
intake claw | 9 | Talon SRX | 14 |
arm rotation | 10 | Sparkmax | 4 |
arm extension | 11 | Sparkmax | 13 |
Gyro | 1 | Pigeon | |
Pnumatic hub | 1 | Pnumatics | 15 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.