Skip to content

Commit 309362c

Browse files
committed
Add motor_control
1 parent cee4e15 commit 309362c

File tree

109 files changed

+10486
-1
lines changed

Some content is hidden

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

109 files changed

+10486
-1
lines changed

.clang-format

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: WebKit
4+
AccessModifierOffset: -4
5+
AlignAfterOpenBracket: DontAlign
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlines: Right
9+
AlignOperands: false
10+
AlignTrailingComments: false
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: All
15+
AllowShortIfStatementsOnASingleLine: false
16+
AllowShortLoopsOnASingleLine: false
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: false
20+
AlwaysBreakTemplateDeclarations: MultiLine
21+
BinPackArguments: true
22+
BinPackParameters: true
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: true
28+
AfterNamespace: false
29+
AfterObjCDeclaration: false
30+
AfterStruct: false
31+
AfterUnion: false
32+
AfterExternBlock: false
33+
BeforeCatch: false
34+
BeforeElse: false
35+
IndentBraces: false
36+
SplitEmptyFunction: true
37+
SplitEmptyRecord: true
38+
SplitEmptyNamespace: true
39+
BreakBeforeBinaryOperators: All
40+
BreakBeforeBraces: WebKit
41+
BreakBeforeInheritanceComma: false
42+
BreakInheritanceList: BeforeColon
43+
BreakBeforeTernaryOperators: true
44+
BreakConstructorInitializersBeforeComma: false
45+
BreakConstructorInitializers: BeforeComma
46+
BreakAfterJavaFieldAnnotations: false
47+
BreakStringLiterals: true
48+
ColumnLimit: 120
49+
CommentPragmas: '^ IWYU pragma:'
50+
CompactNamespaces: false
51+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
52+
ConstructorInitializerIndentWidth: 4
53+
ContinuationIndentWidth: 4
54+
Cpp11BracedListStyle: false
55+
DerivePointerAlignment: false
56+
DisableFormat: false
57+
ExperimentalAutoDetectBinPacking: false
58+
FixNamespaceComments: false
59+
ForEachMacros:
60+
- foreach
61+
- Q_FOREACH
62+
- BOOST_FOREACH
63+
IncludeBlocks: Preserve
64+
IncludeCategories:
65+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
66+
Priority: 2
67+
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
68+
Priority: 3
69+
- Regex: '.*'
70+
Priority: 1
71+
IncludeIsMainRegex: '(Test)?$'
72+
IndentCaseLabels: false
73+
IndentPPDirectives: None
74+
IndentWidth: 4
75+
IndentWrappedFunctionNames: false
76+
JavaScriptQuotes: Leave
77+
JavaScriptWrapImports: true
78+
KeepEmptyLinesAtTheStartOfBlocks: true
79+
MacroBlockBegin: ''
80+
MacroBlockEnd: ''
81+
MaxEmptyLinesToKeep: 1
82+
NamespaceIndentation: Inner
83+
ObjCBinPackProtocolList: Auto
84+
ObjCBlockIndentWidth: 4
85+
ObjCSpaceAfterProperty: true
86+
ObjCSpaceBeforeProtocolList: true
87+
PenaltyBreakAssignment: 2
88+
PenaltyBreakBeforeFirstCallParameter: 19
89+
PenaltyBreakComment: 300
90+
PenaltyBreakFirstLessLess: 120
91+
PenaltyBreakString: 1000
92+
PenaltyBreakTemplateDeclaration: 10
93+
PenaltyExcessCharacter: 1000000
94+
PenaltyReturnTypeOnItsOwnLine: 60
95+
PointerAlignment: Left
96+
ReflowComments: true
97+
SortIncludes: true
98+
SortUsingDeclarations: true
99+
SpaceAfterCStyleCast: false
100+
SpaceAfterTemplateKeyword: true
101+
SpaceBeforeAssignmentOperators: true
102+
SpaceBeforeCpp11BracedList: true
103+
SpaceBeforeCtorInitializerColon: true
104+
SpaceBeforeInheritanceColon: true
105+
SpaceBeforeParens: ControlStatements
106+
SpaceBeforeRangeBasedForLoopColon: true
107+
SpaceInEmptyParentheses: false
108+
SpacesBeforeTrailingComments: 1
109+
SpacesInAngles: false
110+
SpacesInContainerLiterals: true
111+
SpacesInCStyleCastParentheses: false
112+
SpacesInParentheses: false
113+
SpacesInSquareBrackets: false
114+
Standard: Cpp11
115+
StatementMacros:
116+
- Q_UNUSED
117+
- QT_REQUIRE_VERSION
118+
TabWidth: 8
119+
UseTab: Never
120+
...
121+

.gitignore

+112-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,113 @@
1-
/.project
1+
/CMakeLists.txt
2+
3+
# Ignore vscode hidden folders
4+
/**/*.vscode/
5+
6+
# Generated by dynamic reconfigure
7+
*.cfgc
8+
/cfg/cpp/
9+
/cfg/*.py
10+
11+
# Ignore generated docs
12+
*.dox
13+
*.wikidoc
14+
15+
# eclipse stuff
16+
.project
17+
.cproject
18+
19+
# qcreator stuff
20+
CMakeLists.txt.user
21+
22+
srv/_*.py
23+
*.pcd
224
*.pyc
25+
qtcreator-*
26+
*.user
27+
28+
/planning/cfg
29+
/planning/docs
30+
/planning/src
31+
32+
*~
33+
34+
# Emacs
35+
.#*
36+
37+
# Catkin custom files
38+
CATKIN_IGNORE
39+
40+
41+
42+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
43+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
44+
45+
46+
#
47+
/**/*.idea/
48+
49+
# User-specific stuff
50+
.idea/**/workspace.xml
51+
.idea/**/tasks.xml
52+
.idea/**/usage.statistics.xml
53+
.idea/**/dictionaries
54+
.idea/**/shelf
55+
56+
# Generated files
57+
.idea/**/contentModel.xml
58+
59+
# Sensitive or high-churn files
60+
.idea/**/dataSources/
61+
.idea/**/dataSources.ids
62+
.idea/**/dataSources.local.xml
63+
.idea/**/sqlDataSources.xml
64+
.idea/**/dynamic.xml
65+
.idea/**/uiDesigner.xml
66+
.idea/**/dbnavigator.xml
67+
68+
# Gradle
69+
.idea/**/gradle.xml
70+
.idea/**/libraries
71+
72+
# Gradle and Maven with auto-import
73+
# When using Gradle or Maven with auto-import, you should exclude module files,
74+
# since they will be recreated, and may cause churn. Uncomment if using
75+
# auto-import.
76+
# .idea/modules.xml
77+
# .idea/*.iml
78+
# .idea/modules
79+
80+
# CMake
81+
cmake-build-*/
82+
83+
# Mongo Explorer plugin
84+
.idea/**/mongoSettings.xml
85+
86+
# File-based project format
87+
*.iws
88+
89+
# IntelliJ
90+
out/
91+
92+
# mpeltonen/sbt-idea plugin
93+
.idea_modules/
94+
95+
# JIRA plugin
96+
atlassian-ide-plugin.xml
97+
98+
# Cursive Clojure plugin
99+
.idea/replstate.xml
100+
101+
# Crashlytics plugin (for Android Studio and IntelliJ)
102+
com_crashlytics_export_strings.xml
103+
crashlytics.properties
104+
crashlytics-build.properties
105+
fabric.properties
106+
107+
# Editor-based Rest Client
108+
.idea/httpRequests
109+
110+
# Android studio 3.1+ serialized cache file
111+
.idea/caches/build_file_checksums.ser
112+
113+

0 commit comments

Comments
 (0)