Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 57 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
BasedOnStyle: Google
Language: Cpp
Standard: c++20

# Indentation
IndentWidth: 4
TabWidth: 4
UseTab: Never
NamespaceIndentation: All
IndentCaseLabels: true
IndentPPDirectives: BeforeHash

# Line length
ColumnLimit: 100

# Braces
BreakBeforeBraces: Attach
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false

# Alignment
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: Align
AlignTrailingComments: true

# Includes
SortIncludes: CaseInsensitive
IncludeBlocks: Preserve

# Spacing
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpacesInParentheses: false
SpacesInAngles: Never

# Penalties
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000

# Pointer/reference alignment
PointerAlignment: Left
ReferenceAlignment: Left

# Other
ReflowComments: true
BinPackArguments: true
BinPackParameters: true
AllowAllParametersOfDeclarationOnNextLine: true
33 changes: 33 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.{js,json,css,html}]
indent_style = space
indent_size = 4

[*.{cpp,h,hpp,c}]
indent_style = space
indent_size = 4

[*.py]
indent_style = space
indent_size = 4

[*.{sh,bash}]
indent_style = space
indent_size = 4

[*.{yaml,yml}]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab

[*.md]
trim_trailing_whitespace = false
10 changes: 1 addition & 9 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,9 @@
# Python Web Server
/Software/web-server/ @connorgallopo

# Yolo Model + Tooling
/Software/GroundTruthAnnotator/ @connorgallopo
# Image Processing
/Software/LMSourceCode/ImageProcessing/ @jamespilgrim @connorgallopo

# Documentation files
/docs/ @jeshernandez @connorgallopo
/docs/hardware/ @markjonharman

# Installation Scripts
/Dev/ @jeshernandez @connorgallopo

# Hardware
/Hardware/ @markjonharman

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
## Thanks for helping improve PiTrac! 🏌️

Before submitting, please:
- Check our [Troubleshooting Guide](https://pitraclm.github.io/PiTrac/troubleshooting/troubleshooting.html)
Comment thread
connorgallopo marked this conversation as resolved.
- Check our [Troubleshooting Guide](https://docs.pitrac.org/reference/troubleshooting/)
- Search [existing issues](https://github.com/pitraclm/pitrac/issues)
- Join our [Discord](https://discord.gg/vGuyAAxXJH) for community help

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
## Feature Request

Help us make PiTrac better! Consider:
- Checking our [Roadmap](https://pitraclm.github.io/PiTrac/getting-started/roadmap.html)
- Checking our [Roadmap](https://docs.pitrac.org/reference/roadmap/)
- type: dropdown
id: feature-area
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/hardware_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ body:
## Hardware Issue Report 🔧

For hardware help, also check:
- [Hardware Assembly Guide](https://pitraclm.github.io/PiTrac/hardware/assembly-guide.html)
- [Parts List](https://pitraclm.github.io/PiTrac/hardware/parts-list.html)
- [Hardware Assembly Guide](https://docs.pitrac.org/hardware/v3-enclosure/assembly/)
- [Parts List](https://docs.pitrac.org/hardware/parts-list/)

- type: dropdown
id: hardware-category
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/camera-tests.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/docs-ci.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/workflows/docs-deploy.yml

This file was deleted.

Loading
Loading