wpilibsuite / frc-docs Goto Github PK
View Code? Open in Web Editor NEWOfficial FRC Documentation powered by Read the Docs
Home Page: https://docs.wpilib.org
License: Other
Official FRC Documentation powered by Read the Docs
Home Page: https://docs.wpilib.org
License: Other
It needs to be decided on what documentation in terms of hardware is allowed. I can understand a vendor bias needs to be avoided as much as possible, but this may limit available docs for some commonly used equipment. Also, details regarding allowed images would be fantastic.
The current approach is, KOP equipment only (apart from conflicting documentation of third-party equipment that was on screensteps???).
As for images, any images taken locally or part of Creative Commons.
Transfering these docs to MD: https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599708-operating-pneumatic-cylinders-solenoids
I can copy paste C++ code, but can't write it. I'll need some help with that part.
Low on the priority list, but it gets asked often enough it would be work doing as part of the simulation work.
This would enable example screenshots to be directly copied and pasted into LabView as code.
Probably be a good idea to specify the exact dependency versions we want to use. That way nothing randomly breaks because of an unexpected update.
Various pages are outdated and poorly formatted.
In the yellow box describing the update from 19.1.0 to 19.1.1, it says "Teams should install the new version, then re-program their radio (their is no need to re-flash the firmware)". The word "their" should be "there".
See the digital linear filters snippet.
https://frc-docs.readthedocs.io/en/develop/docs/software/sensors/accelerometers-software.html#using-accelerometers-in-code
Current structure breaks topics between software, hardware, and networking. See PDF output.
Figure out a new nesting scheme for nested TOCs
This is being posted here for the sake of not having to create a commit on master every time I want to edit something.
Please read the style and contributing guide for opening a pull request.
https://frc-docs.readthedocs.io/en/develop/contributing.html
Getting started with the control system
OPEN - 2018 Game Data Details
[Other KOP Resources]
There are some code snippets throughout the docs (copied from screensteps) that reference WPILib.h
These will need to be updated following WPILib.h deprecation, see wpilibsuite/allwpilib#1779
CAN Device Addressing should be in some sort of advanced or vendor specific section. It's not for general team usage.
As it says on the tin. We should check all the links in the project and see if any can be updated to https especially with all the work that has been done on that front recently.
These sections should include a guide on various basic FRC tutorials as related to FRC
The section Binding a command to a joystick button has a few flaws
Joystick
classes getButton()
method is deprecated and only return a boolean of the state.XboxController
classes getButton()
method does not even exist.Joystick
and XboxController
classes enum Button
is privateTaking these into account the code shown for binding appears to be incorrect. If these are features that will be added in the future this should likely be noted in the docs.
When roboRIO is used in titles the first r
should be lower case.
Add analytics to track page views
The catch of an InterruptedException should include Thread.currentThread().interrupt();
This might exist on ScreenSteps already. Should be investigated either way.
Some C++ code snippets/examples are missing throughout the docs. This is a result of the screensteps just not having some C++ snippets. Probably should get added at some point.
Has a broken link to installing_FRC_update_suite
There is a lot of overlap in the networking documents. Clean up/combine so that the right things are split in the right places.
Sensor hardware needs to be filled out
Getting Started needs some hefty cleanup in the source, as well as links.
We should enforce EOL @ EOF as part of the build process so we do not get commit noise.
(end of line @ end of file)
Transferring these docs to Markdown.
https://wpilib.screenstepslive.com/s/currentCS/m/java/l/1027503-installing-c-and-java-development-tools-for-frc
Java should be the first and default tab for all code blocks because it is the most popular language by a significant amount.
Since this is an excellent resource towards the the software and electronics components for FRC, it seems logical that it might also provide a stepping off point towards other community resources and assistance, particularly ones that provide real time (or quick) responses to individual questions, as this isn't something well suited to a static site.
Potential examples of resources that might be highlighted are the FRC Discord (particularly the #programming-discussion and #programming-help channels), Chief Delphi's Programming category, and The Compass Alliance's Call Center.
There would also likely need to be some sort of disclaimer on these.
Still supported, albeit deprecated. I'll end up doing this in the next few days or so.
I think it'll be beneficial in the long run to enable this check. It'll require some amount of configuration and tweaking to the docs to getting it run reliably (ignore anchor points in URLs, and ignore localhost URLs). Fortunately, Sphinx actually has linkcheck pretty well documented.
Pros: We know when a link will break.
Cons: All PRs will fail when a link breaks.
The hardware section is severely poor. The images are unclear, the language is confusing, and other such problems. Unfortunately, I don't have quite the knowledge to rewrite these articles. Contributors welcome!
All references created using
.. _reference-name-here:
Should be removed since this could conflict with the autoreference-label extension.
I think it'll be fantastic if contributors can translate the docs into their language of choice. This will also for FIRST/WPILib resources to be expanded beyond the normal supported languages.
https://docs.readthedocs.io/en/stable/guides/manage-translations.html
NetworkTable.getTable() no longer exists. This method will no longer work. Must use NetworkTableInstance.
In the article: https://frc-docs.readthedocs.io/en/develop/docs/software/commandbased/pid-subsystems-commands.html#using-a-pidsubsystem
The class with signature public class ShooterSubsystem extends SynchronousPIDSubsystem
does not have a member m_shooter as referenced in the sample below the class, reporduced here:
// Spin up the shooter when the 'A' button is pressed
driverController.getButton(Button.kA.value)
.whenPressed(new InstantCommand(m_shooter::enable, m_shooter));
What is m_shooter and where does enable come from?
Merge system overview into "one article" with multiple "chapters"?
We should build all of the code examples so that when something changes in WPILib, we know that the documentation needs to be updated. What is the best way to do this? Could we use the samples directory already in allwpilib and then as part of the build bring allwpilib in? I really have no idea what is best to do.
Shuffleboard advanced section is still missing: https://wpilib.screenstepslive.com/s/currentCS/m/shuffleboard/c/235105
Not sure that "advanced applications" is the right title for all of these, either some should move or the section should be renamed.
I don't have an error to report, but I was wondering if you had an example of this for Java.
Should definitely put a link in the sidebar for reporting issues with docs.
https://wpilib.screenstepslive.com/s/currentCS/m/driver_station/l/144980-driver-station-log-file-viewer needs a port. There's a pull-request open but I believe that's stale.
It can be found here: https://github.com/wpilibsuite/allwpilib/blob/master/README.md
We also probably need to update the mission statement but we can do that later.
FIRST logo is not creative commons, and that should be specified somewhere
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.