Skip to content

Commit 1ab1f9a

Browse files
committed
commit
0 parents  commit 1ab1f9a

File tree

1,376 files changed

+306062
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,376 files changed

+306062
-0
lines changed

.clang-format

+206
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
---
2+
# clang-format version
3+
# - LLVM 14
4+
# clang-format documentation
5+
# - http://clang.llvm.org/docs/ClangFormat.html
6+
# - -http://clang.llvm.org/docs/ClangFormatStyleOptions.html
7+
8+
# Format Templates
9+
# - Chromium
10+
# - Google
11+
# - LLVM
12+
# - Mozilla
13+
# - WebKit
14+
15+
Language: Cpp
16+
BasedOnStyle: LLVM
17+
18+
AccessModifierOffset: -2
19+
# AlignAfterOpenBracket: Align
20+
# AlignArrayOfStructures: None
21+
# AlignConsecutiveMacros: None
22+
# AlignConsecutiveAssignments: None
23+
# AlignConsecutiveBitFields: None
24+
# AlignConsecutiveDeclarations: None
25+
# AlignEscapedNewlines: Right
26+
# AlignOperands: Align
27+
# AlignTrailingComments: true
28+
# AllowAllArgumentsOnNextLine: true
29+
# AllowAllParametersOfDeclarationOnNextLine: true
30+
# AllowShortEnumsOnASingleLine: true
31+
# AllowShortBlocksOnASingleLine: Never
32+
# AllowShortCaseLabelsOnASingleLine: false
33+
# AllowShortFunctionsOnASingleLine: All
34+
# AllowShortLambdasOnASingleLine: All
35+
# AllowShortIfStatementsOnASingleLine: Never
36+
# AllowShortLoopsOnASingleLine: false
37+
# AlwaysBreakAfterDefinitionReturnType: None
38+
# AlwaysBreakAfterReturnType: None
39+
# AlwaysBreakBeforeMultilineStrings: false
40+
# AlwaysBreakTemplateDeclarations: MultiLine
41+
# AttributeMacros:
42+
# - __capability
43+
# BinPackArguments: true
44+
# BinPackParameters: true
45+
# BraceWrapping:
46+
# AfterCaseLabel: false
47+
# AfterClass: false
48+
# AfterControlStatement: Never
49+
# AfterEnum: false
50+
# AfterFunction: false
51+
# AfterNamespace: false
52+
# AfterObjCDeclaration: false
53+
# AfterStruct: false
54+
# AfterUnion: false
55+
# AfterExternBlock: false
56+
# BeforeCatch: false
57+
# BeforeElse: false
58+
# BeforeLambdaBody: false
59+
# BeforeWhile: false
60+
# IndentBraces: false
61+
# SplitEmptyFunction: true
62+
# SplitEmptyRecord: true
63+
# SplitEmptyNamespace: true
64+
# BreakBeforeBinaryOperators: None
65+
# BreakBeforeConceptDeclarations: true
66+
# BreakBeforeBraces: Attach
67+
# BreakBeforeInheritanceComma: false
68+
# BreakInheritanceList: BeforeColon
69+
# BreakBeforeTernaryOperators: true
70+
# BreakConstructorInitializersBeforeComma: false
71+
# BreakConstructorInitializers: BeforeColon
72+
# BreakAfterJavaFieldAnnotations: false
73+
# BreakStringLiterals: true
74+
ColumnLimit: 120
75+
# CommentPragmas: '^ IWYU pragma:'
76+
# QualifierAlignment: Leave
77+
# CompactNamespaces: false
78+
# ConstructorInitializerIndentWidth: 4
79+
# ContinuationIndentWidth: 4
80+
# Cpp11BracedListStyle: true
81+
# DeriveLineEnding: true
82+
# DerivePointerAlignment: false
83+
# DisableFormat: false
84+
# EmptyLineAfterAccessModifier: Never
85+
# EmptyLineBeforeAccessModifier: LogicalBlock
86+
# ExperimentalAutoDetectBinPacking: false
87+
# PackConstructorInitializers: BinPack
88+
# BasedOnStyle: ''
89+
# ConstructorInitializerAllOnOneLineOrOnePerLine: false
90+
# AllowAllConstructorInitializersOnNextLine: true
91+
# FixNamespaceComments: true
92+
# ForEachMacros:
93+
# - foreach
94+
# - Q_FOREACH
95+
# - BOOST_FOREACH
96+
# IfMacros:
97+
# - KJ_IF_MAYBE
98+
# IncludeBlocks: Preserve
99+
# IncludeCategories:
100+
# - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
101+
# Priority: 2
102+
# SortPriority: 0
103+
# CaseSensitive: false
104+
# - Regex: '^(<|"(gtest|gmock|isl|json)/)'
105+
# Priority: 3
106+
# SortPriority: 0
107+
# CaseSensitive: false
108+
# - Regex: '.*'
109+
# Priority: 1
110+
# SortPriority: 0
111+
# CaseSensitive: false
112+
# IncludeIsMainRegex: '(Test)?$'
113+
# IncludeIsMainSourceRegex: ''
114+
# IndentAccessModifiers: true
115+
# IndentCaseLabels: false
116+
# IndentCaseBlocks: false
117+
# IndentGotoLabels: true
118+
# IndentPPDirectives: None
119+
# IndentExternBlock: AfterExternBlock
120+
# IndentRequires: false
121+
IndentWidth: 4
122+
# IndentWrappedFunctionNames: false
123+
# InsertTrailingCommas: None
124+
# JavaScriptQuotes: Leave
125+
# JavaScriptWrapImports: true
126+
# KeepEmptyLinesAtTheStartOfBlocks: true
127+
# LambdaBodyIndentation: Signature
128+
# MacroBlockBegin: ''
129+
# MacroBlockEnd: ''
130+
# MaxEmptyLinesToKeep: 1
131+
# NamespaceIndentation: None
132+
# ObjCBinPackProtocolList: Auto
133+
# ObjCBlockIndentWidth: 2
134+
# ObjCBreakBeforeNestedBlockParam: true
135+
# ObjCSpaceAfterProperty: false
136+
# ObjCSpaceBeforeProtocolList: true
137+
# PenaltyBreakAssignment: 2
138+
# PenaltyBreakBeforeFirstCallParameter: 19
139+
# PenaltyBreakComment: 300
140+
# PenaltyBreakFirstLessLess: 120
141+
# PenaltyBreakOpenParenthesis: 0
142+
# PenaltyBreakString: 1000
143+
# PenaltyBreakTemplateDeclaration: 10
144+
# PenaltyExcessCharacter: 1000000
145+
# PenaltyReturnTypeOnItsOwnLine: 60
146+
# PenaltyIndentedWhitespace: 0
147+
# PointerAlignment: Right
148+
# PPIndentWidth: -1
149+
# ReferenceAlignment: Pointer
150+
# ReflowComments: true
151+
# RemoveBracesLLVM: false
152+
# SeparateDefinitionBlocks: Leave
153+
# ShortNamespaceLines: 1
154+
# SortIncludes: CaseSensitive
155+
# SortJavaStaticImport: Before
156+
# SortUsingDeclarations: true
157+
# SpaceAfterCStyleCast: false
158+
# SpaceAfterLogicalNot: false
159+
# SpaceAfterTemplateKeyword: true
160+
# SpaceBeforeAssignmentOperators: true
161+
# SpaceBeforeCaseColon: false
162+
# SpaceBeforeCpp11BracedList: false
163+
# SpaceBeforeCtorInitializerColon: true
164+
# SpaceBeforeInheritanceColon: true
165+
# SpaceBeforeParens: ControlStatements
166+
# SpaceBeforeParensOptions:
167+
# AfterControlStatements: true
168+
# AfterForeachMacros: true
169+
# AfterFunctionDefinitionName: false
170+
# AfterFunctionDeclarationName: false
171+
# AfterIfMacros: true
172+
# AfterOverloadedOperator: false
173+
# BeforeNonEmptyParentheses: false
174+
# SpaceAroundPointerQualifiers: Default
175+
# SpaceBeforeRangeBasedForLoopColon: true
176+
# SpaceInEmptyBlock: false
177+
# SpaceInEmptyParentheses: false
178+
# SpacesBeforeTrailingComments: 1
179+
# SpacesInAngles: Never
180+
# SpacesInConditionalStatement: false
181+
# SpacesInContainerLiterals: true
182+
# SpacesInCStyleCastParentheses: false
183+
# SpacesInLineCommentPrefix:
184+
# Minimum: 1
185+
# Maximum: -1
186+
# SpacesInParentheses: false
187+
# SpacesInSquareBrackets: false
188+
# SpaceBeforeSquareBrackets: false
189+
# BitFieldColonSpacing: Both
190+
# Standard: Latest
191+
# StatementAttributeLikeMacros:
192+
# - Q_EMIT
193+
# StatementMacros:
194+
# - Q_UNUSED
195+
# - QT_REQUIRE_VERSION
196+
# TabWidth: 8
197+
# UseCRLF: false
198+
# UseTab: Never
199+
# WhitespaceSensitiveMacros:
200+
# - STRINGIZE
201+
# - PP_STRINGIZE
202+
# - BOOST_PP_STRINGIZE
203+
# - NS_SWIFT_NAME
204+
# - CF_SWIFT_NAME
205+
206+
...

.clang-format-ignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Skip json.hpp since it is copied directly from external repo
2+
AutonomyLib/include/common/common_utils/json.hpp

.github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!-- ⚠️⚠️ DO NOT DELETE THIS! bug_report_template ⚠️⚠️ -->
7+
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
8+
<!-- Please search for existing issues to avoid creating duplicates. -->
9+
<!-- Incomplete reports will lead to closing the issue. -->
10+
<!-- Also, please test using the latest main branch make sure your issue has not already been fixed -->
11+
12+
## Bug report
13+
<!-- If any section does not apply, replace its contents with "N/A". -->
14+
- AutonomySim Version/#commit:
15+
- Unreal Engine version:
16+
- Autopilot system version:
17+
- Operating system version:
18+
19+
### What's the issue you encountered?
20+
<!-- Describe the issue in detail and what you were doing beforehand. -->
21+
<!-- Attach screenshot if applicable. -->
22+
23+
### Settings
24+
<!-- If not the default, include the settings.json file you are using -->
25+
<!-- If it's too large, you can create a [gist](https://gist.github.com/) and past the link here. -->
26+
27+
### How can the issue be reproduced?
28+
<!-- Include a detailed step by step process for recreating your issue. -->
29+
<!-- If your issue includes code, create a [gist](https://gist.github.com/) and past the link here. -->
30+
31+
1.
32+
2.
33+
34+
### Include full error message in text form
35+
36+
37+
38+
**Q: What's better than filing an issue? A: Filing a pull request!**

.github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: General Questions
4+
url: https://github.com/nervosys/AutonomySim/discussions
5+
about: Please ask on https://github.com/nervosys/AutonomySim/discussions
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
<!-- ⚠️⚠️ DO NOT DELETE THIS! feature_request_template ⚠️⚠️ -->
7+
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
8+
<!-- Please search existing issues to avoid creating duplicates. -->
9+
10+
## What feature are you suggesting?
11+
### Overview:
12+
<!-- Describe the feature you'd like. -->
13+
14+
### Smaller Details:
15+
<!-- These may include specific methods of implementation etc. -->
16+
17+
### Nature of Request:
18+
<!-- Remove all that do not apply to your request. -->
19+
- Addition
20+
- Change
21+
- Removal
22+
- <!-- Removal of certain features or implementation due to a specific issue/bug or because of low quality code, etc. -->
23+
24+
## Why would this feature be useful?

.github/ISSUE_TEMPLATE/question.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Support Questions
3+
about: Your question may be moved to https://github.com/nervosys/AutonomySim/discussions.
4+
---
5+
6+
<!-- ⚠️⚠️ DO NOT DELETE THIS! question_template ⚠️⚠️ -->
7+
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
8+
<!-- Please search existing issues to avoid creating duplicates. -->
9+
<!-- Add clear and concise title -->
10+
11+
## Question
12+
### What's your question?
13+
<!-- Describe your question in detail. -->
14+
15+
### Include context on what you are trying to achieve
16+
<!-- If any section does not apply, replace its contents with "N/A". -->
17+
18+
#### Context details
19+
<!-- Add OS, AutonomySim version, Python version, Unreal version if applicable -->
20+
<!-- If not the default, include the settings.json file you are using -->
21+
<!-- If it's too large, you can create a [gist](https://gist.github.com/) and past the link here. -->
22+
23+
### Include details of what you already did to find answers

.github/pull_request_template.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Thank you for submitting a pull request! -->
2+
<!-- ⚠️⚠️ DO NOT DELETE THIS! pull_request_template ⚠️⚠️ -->
3+
<!-- Please read our contribution guidelines: https://microsoft.github.io/AutonomySim/CONTRIBUTING/ -->
4+
5+
Fixes: # <!-- add this line for each issue your PR solves. -->
6+
<!-- Fixes: # -->
7+
<!-- Fixes: # -->
8+
9+
## About
10+
<!-- Describe what your PR is about. -->
11+
12+
## How Has This Been Tested?
13+
<!-- Please, describe how you have tested your changes to help us incorporate them. -->
14+
15+
## Screenshots (if appropriate):

.github/stale.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
limitPerRun: 1
2+
3+
issues:
4+
daysUntilStale: 365
5+
daysUntilClose: 20
6+
exemptProjects: true
7+
exemptMilestones: true
8+
# issues with these labels will never be considered stale
9+
exemptLabels:
10+
- 'bug'
11+
- 'feature request'
12+
staleLabel: stale
13+
14+
markComment: >
15+
This issue has been automatically marked as `stale` because
16+
it has not shown any activity from the community in the last year.
17+
It will be closed if no further activity occurs within 20 days.
18+
closeComment: >
19+
This issue has been automatically closed because it is has not shown
20+
activity from the community in the last year.
21+
22+
pulls:
23+
daysUntilStale: 1000
24+
daysUntilClose: 10
25+
staleLabel: stale

.github/workflows/clang_format.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: clang-format Check
2+
3+
on: [push, pull_request] # controls when the action will run
4+
5+
jobs:
6+
formatting-check:
7+
name: Formatting Check
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Run clang-format style check for C/C++ programs
12+
uses: jidicula/[email protected] # https://github.com/jidicula/clang-format-action
13+
with:
14+
clang-format-version: '16'
15+
check-path: '.'
16+
exclude-regex: 'AutonomyLib\/include\/common\/common_utils\/json\.hpp'

0 commit comments

Comments
 (0)