thedropbears / pyinfiniterecharge Goto Github PK
View Code? Open in Web Editor NEWThe Drop Bears' robot code for FIRST Infinite Recharge (FRC 2020-2021).
License: BSD 3-Clause "New" or "Revised" License
The Drop Bears' robot code for FIRST Infinite Recharge (FRC 2020-2021).
License: BSD 3-Clause "New" or "Revised" License
The current autonomous system while function is messy. The series of lists should be combined into a single data type (maybe a namedtuple) and path input should be considered. These changes are low-priority since the current version works and is not expected to be used.
Very sensitive controls atm.
This behaviour has been observed when the turret starts anti-clockwise of the left index. This position violates the rules around starting configuration and is extremely unlikely to occur during games (We are 180 degrees from our intended start). The same situation could conceivably happen if scan direction is reversed from a more conventional starting position.
Because this is unlikely to occur, a fix to this bug should be considered low priority, as long as scans start anti-clockwise first
As of the commits that put the drivebase into closed loop velocity mode, it is undrivable. Lots of oscillations when coming to a stop.
A turnaround is likely to be caused by the robot turning. But it will likely keep turning for the duration of the turnaround, so the turnaround target will be out of date by the time it gets there.
pyinfiniterecharge/components/indexer.py
Lines 112 to 122 in ad760dc
The last call to stopMotor
is outside the if statement. Given the logic in this block, I presume this isn't the intention…
I totally forgot that CTRE's motor controllers actually allow configuring the behaviour of the velocity measurement filter: https://robotpy.readthedocs.io/projects/ctre/en/stable/ctre/BaseMotorController.html#ctre.BaseMotorController.configVelocityMeasurementPeriod
We should be able to practically turn off the filter by setting the period to 1 ms and the sliding window to 1. This should improve the shooter PID loop performance significantly.
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.