spartronics4915 / 2020-infiniterecharge Goto Github PK
View Code? Open in Web Editor NEWSpartronics 4915's code for the FRC 2020 game: Infinite Recharge
License: GNU General Public License v3.0
Spartronics 4915's code for the FRC 2020 game: Infinite Recharge
License: GNU General Public License v3.0
Internet literature suggests the raspi4 has faster computation times, we need to evaluate how much better the rpi4 is compared to the rpi3.
Update(2020.02.01): Dana has put together a compatible image that works with both the pi3 and pi4
This is writing the methods that Commands will interact with the subsystem through, + rough code within those methods.
https://docs.wpilib.org/en/latest/docs/software/wpilib-overview/2020-Game-Data.html
It would be helpful to let the drive team know the color (through the dashboard? robot bling?) in addition to pumping it to the IR sensor.
Think about the best way to implement this, given that we don't have an end condition for either of the extend and retract Commands, and that the winch will have some conditions before testing.
Builds off of #3
Arduino has an interrupt code that periodically listens for bling animation command over the serial port. Current architecture can quickly get complicated to support complex LED animations that have multiple loops & function calls. Investigate simplifying the existing architecture to better support LED animations.
For the control panel, we need to test the color sensor's output and get maximum and minimum values for the RGB of the four colors; the values next to them are taken from this image and are extremely dubious:
Also, the getRed, getGreen, and getBlue methods return 20-bit numbers; these should be converted to 8-bit to work in normal way.
This is sort of just an IIC flex. I need to see if the design team will mount the LIDAR.
Review the brainstorm list of LED animations and finalize the list. Break the list into groups: Must Haves vs. Wants for prioritization.
Note: it is useful to think of the animation sequence as a state diagram to capture the transitions in robot code for integration. I'll plan to add a draft example to the wiki.
Basic Idea: With a small FOV, we have more pixels to represent a target, which results in better measurements from PnP
This is writing the methods that Commands will interact with the subsystem through, + rough code within those methods.
This is writing the methods that Commands will interact with the subsystem through, + rough code within those methods.
If we implement automatic functionality, this will need to test both.
Each of the finalized LED animations (see #47) need to be incorporated to the robot code. Logical places for integration:
alongWith()
to incorporate bling pattern to joystick button controlsdisabledInit()
Code available in 2019-DeepSpace/.../Constants.java .. static code block.
Assigning to Declan - who may reassign and prioritize as appropriate.
(this may be complete)
These need to interface with the Indexer.
A good test would be to put the robot at various distances and rotations and see if it can accurately make it into the inner goal.
There are two approaches for integrating LED animations with robot code:
Using Atlas codebase validate which approach works best.
The mechanics subteam has expressed interest in an auto-align command for the control panel manipulator.
We've typically used IR sensors for rangefinding, but ultrasonic sensors have various advantages in dealing with the control panel manipulator. The discussion is available here.
Note: lib/math/twodim/trajectory/PathFinder.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
The serializable class CameraJNIException does not declare a static final serialVersionUID field of type long
This is writing the methods that Commands will interact with the subsystem through, + rough code within those methods.
Camden has an active pull request in SpartronicsLib.
Answering the question: What is the accuracy difference between the 2019(6pt) and 2020 (4pt) target? Is the 2020 target a 'better' pnp target?
For each prioritized bling animation:
This is writing the methods that Commands will interact with the subsystem through, + rough code within those methods.
Consider that we need to test that the intake functions correctly both with and without a ball in it, as well as interfaces with the Indexer.
This will need to be tested both with the Intake and the Launcher.
Purchase and evaluate a camera multiplexer
Questions that need answering:
Reuse Atlas's LED subsystem and Command code as a start.
Add LED subsystem. Make sure to update the import statements for 2020 codebase
Check if 2020 codebase is logging errors, including with exceptions -- see logInitialized()
and logException()
Update enum BlingState
based on the prioritized LED animations -- see issue #47
Add LED command to set bling state. Make sure to update the import statements for 2020 codebase
Instantiate LED subsystem in RobotContainer.java
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.