Upstream Licenses
Legal information for code and patterns in our library
ā ļø Important
This page lists the upstream licenses for code and patterns in our library. If you use snippets from Snippetz404, you inherit the license terms of the original upstream project. Always review the applicable license before using code in your project.
BSD-3-Clause License
WPILibš License Text
Copyright (c) 2009-2024, FIRST All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
ā You Can
- ⢠Use in commercial projects
- ⢠Modify and distribute
- ⢠Use for private purposes
- ⢠Include in your own work
ā ļø You Must
- ⢠Include license text
- ⢠State significant changes
- ⢠Include copyright notice
- ⢠Provide attribution
š Official Source
github.com/wpilibsuite/allwpilib/blob/main/LICENSE.txtLicense Summary
| Project | License | Attribution Required |
|---|---|---|
| WPILib docs.wpilib.org | BSD-3-Clause | Required |
How to Properly Attribute
š In Your Code Comments
// Based on WPILib Documentation // https://docs.wpilib.org/en/stable/docs/... // Licensed under BSD-3-Clause // See: github.com/wpilibsuite/allwpilib/blob/main/LICENSE.txt
š In Your README
Add a "Acknowledgments" or "Credits" section to your repository:
## Acknowledgments This project uses code and patterns from: - WPILib (BSD-3-Clause) - https://docs.wpilib.org See LICENSE.txt for details
š Include the License File
When distributing your code, include a copy of the upstream license:
PROJECT_ROOT/ āāā LICENSE (or LICENSE.txt) ā Your original license āāā LICENSES/ ā āāā WPILib-BSD-3-Clause.txt ā āāā ...other upstream licenses... āāā ...source code...
Frequently Asked Questions
Can I use snippets from this site in my FRC team project?
Yes! All snippets are provided under the same license as their upstream source. For WPILib-derived snippets (most of them), you can freely use the code in your FRC project as long as you include proper attribution. See "How to Properly Attribute" above.
Do I need to include the full WPILib license?
BSD-3-Clause requires that you include the copyright notice and the full license text with your distribution. If you're shipping source code, include the LICENSE file. If you're just copying a snippet into your project, include a comment with the attribution.
What if I modify the code?
BSD-3-Clause allows modifications. Just be sure to document what changed and provide attribution to the original source. For example: "Adapted from WPILib's [example name]".
Is Snippetz404 endorsed by WPILib?
No. Snippetz404 is an independent, community-created snippet index. We are not affiliated with FIRST, WPILib, or any official FRC project. We respect their intellectual property and include proper attribution for all sourced material.
Found a License Violation?
If you believe any content on this site violates an upstream license or copyright, please report it immediately:
Report a License IssueAlternatively, email us at: legal@snippetz404.dev (or configure your own contact)