Skip to content

Commit

Permalink
Final 1868 Charged Up
Browse files Browse the repository at this point in the history
Co-authored-by: Amanda Zhang <[email protected]>
Co-authored-by: Sonali Sinha <[email protected]>
Co-authored-by: Valerie Kwan <[email protected]>
Co-authored-by: Alison Soong <[email protected]>
Co-authored-by: Kailey Hua <[email protected]>
Co-authored-by: Aditi Palavalli <[email protected]>
Co-authored-by: Anh Le <[email protected]>
Co-authored-by: Anika Kumar <[email protected]>
Co-authored-by: Diya Balaji <[email protected]>
Co-authored-by: Aleena Xiao <[email protected]>
Co-authored-by: Advika Arya <[email protected]>
Co-authored-by: Nishka Sharma <[email protected]>
Co-authored-by: Audrey Xu <[email protected]>
Co-authored-by: Anika Zhou <[email protected]>
Co-authored-by: Anya Greene <[email protected]>
  • Loading branch information
16 people committed Jan 5, 2024
0 parents commit 09dac76
Show file tree
Hide file tree
Showing 300 changed files with 30,741 additions and 0 deletions.
227 changes: 227 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
BasedOnStyle: Google

Language: Java
AccessModifierOffset: -1
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: None
AlignConsecutiveAssignments: false
AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: false
AlignEscapedNewlines: Left
AlignOperands: DontAlign
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
AttributeMacros:
- __capability
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: true
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: NextLine
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*\.h>'
Priority: 1
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 3
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '([-_](test|unittest))?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequires: true
IndentWidth: 2
IndentWrappedFunctionNames: false
# InsertBraces: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PenaltyIndentedWhitespace: 0
PointerAlignment: Left
PPIndentWidth: -1
RawStringFormats:
- Language: Cpp
Delimiters:
- cc
- CC
- cpp
- Cpp
- CPP
- 'c++'
- 'C++'
CanonicalDelimiter: ''
BasedOnStyle: google
- Language: TextProto
Delimiters:
- pb
- PB
- proto
- PROTO
EnclosingFunctions:
- EqualsProto
- EquivToProto
- PARSE_PARTIAL_TEXT_PROTO
- PARSE_TEST_PROTO
- PARSE_TEXT_PROTO
- ParseTextOrDie
- ParseTextProtoOrDie
- ParseTestProto
- ParsePartialTestProto
CanonicalDelimiter: pb
BasedOnStyle: google
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
# RequiresClausePosition: OwnLine
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
# AfterRequiresInClause: false
# AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 4
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
Empty file added .github/CODEOWNERS
Empty file.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/command-group.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Command group
about: Add a grouping of commands for complex functionality
title: Add <Command name> for <function>
labels: ''
assignees: ''

---


10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Command
about: Add a base command to the robot
title: Add <Command name> for <Subsystem>
labels: ''
assignees: ''

---


10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Configuration
about: Add or tune a configuration
title: "<Configure || Tune> <Subsystem> <what is being configured or set>"
labels: ''
assignees: ''

---


10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/subsystem-functionality.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Subsystem functionality
about: Add a functionality to a subsystem
title: Add <functionality> to <subsystem>
labels: ''
assignees: ''

---


10 changes: 10 additions & 0 deletions .github/templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Label template directory
This directory contains templates used in the `add-template-to-issue.yml` workflow

Each template must have a filename of `label-<name of label>.md` to automatically be applied to a label of that name

For example, if you would like to add a template to an issue when the `badbug` label is applied, add a file in this directory called

`label-badbug.md`

The template will be added as a new comment as to avoid muddling existing comments
12 changes: 12 additions & 0 deletions .github/templates/label-base_command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Level 3 time estimate: ## minutes

## Please answer these questions before starting to code

- What subsystem does this command use?
- Is the subsystem a subsystem requirement for the command?
- Where/when will this command be used?
- What does this command do generally?
- What does this command logically do on initialization?
- What does this command logically do during each execution loop?
- When (if ever) is this command done?
- What does this command do when it is done?
12 changes: 12 additions & 0 deletions .github/templates/label-complex_command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Level 3 time estimate: ## minutes

## Please answer these questions before starting to code

- What subsystems does this command use?
- Which of the subsystems is a requirement for the command?
- Where/when will this command be used?
- What does this command do generally?
- What does this command logically do on initialization?
- What does this command logically do during each execution loop?
- When (if ever) is this command done?
- What does this command do when it is done?
10 changes: 10 additions & 0 deletions .github/templates/label-compound_command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Level 3 time estimate: ## minutes

## Please answer these questions before starting to code

- What subsystems does this command use?
- Which of the subsystems is a requirement for the command?
- What does this command do generally?
- Where/when will this command be used?
- What commands does this command use?
- Give a brief explanation of the progression of commands
12 changes: 12 additions & 0 deletions .github/templates/label-path_command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Level 3 time estimate: ## minutes

## Please answer these questions before starting to code

- What subsystems does this command use?
- Which of the subsystems is a requirement for the command?
- What does this command do generally?
- Where/when will this command be used?
- What commands does this command use?
- Give a brief explanation of the progression of commands
- Is this an alliance specific command? Which alliance?
- List and label the primary waypoints used in this command.
8 changes: 8 additions & 0 deletions .github/templates/label-subsystem_functionality.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Level 3 time estimate: ## minutes

## Please answer these questions before starting to code

- What subsystem does is this functionality for?
- Where will this functionality be used?
- Does this function take any sensor values as arguments?
- Does this function take any other parameters as arguments?
7 changes: 7 additions & 0 deletions .github/templates/label-testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Level 3 time estimate: ## minutes

## Please answer these questions before starting to code

- What values or commands are being tested?
- What are they being tested for?
- What is the definition of done for this task?
7 changes: 7 additions & 0 deletions .github/templates/label-testonly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## This is a test template

- Example scala code:

```scala
val someVal = 10
```
8 changes: 8 additions & 0 deletions .github/templates/label-tuning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Level 3 time estimate: ## minutes

## Please answer these questions before starting to code

- What values or commands are being tuned?
- What are they being tuned for?
- What behavior would we see from optimally tuned values?
- What is the definition of done for this task?
Loading

0 comments on commit 09dac76

Please sign in to comment.