(Viewed through ftp://roborio-TEAM-frc.local/home/lvuser/Health.html shortcut, opens in Chrome)
frc3452 / frc_3452_2018_java Goto Github PK
View Code? Open in Web Editor NEW2018 Java Robot Code
2018 Java Robot Code
(Viewed through ftp://roborio-TEAM-frc.local/home/lvuser/Health.html shortcut, opens in Chrome)
Use Talon-SRX motion profile example (found here) to fix the pushing of mp points and running of trajectory.
The benefit of singleton classes is enough to make the swapover.
public class Drive {
private static Drive mInstance = null;
private Drive {}
public synchronized static Drive getInstance() {
if (mInstance == null){
mInstance = new Drive();
}
return mInstance;
}
}
Make use of the new .configFactoryDefault() call to make a nice looking constructor for our Talon SRXs
Continually check state for isDisabled() call, not only when setState() is called.
Learn how to properly PID tune and do such for motion profiling
Be able to chose version of switch and scale independently, instead of together.
While a state machine isn't necessary for controlling this years robot, let's expect it to be for the 2019 season.
Goals to complete:
Abstract logging calls to clean up FileManagement.java
Rewrite autonChooser(), controllerChooser(), and setAutons() to be more readable.
Use GZCommand to store title and command in one object.
Error detection could be improved if elevator limit switches were normally closed instead of normally open. Since we (for whatever reason) the only way we can set which limit switch limits a direction is by changing normally open to normally closed, the elevator limits must be switched on the hardware.
We need some way (DIO dummy plugs?) to disable each subsystem.
In talonInit() of drivetrain and elevator, lets see (by pulling breakers on talons) what the output of failed calls is, and determine if we need to wrap these calls to further display the error.
Instead of using the scheduler and commands to run teleop, use series of if statements to switch subsystem states.
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.