Skip to content

Various improvements #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 100 commits into
base: foxy
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
0fa1338
Fix dep on tf2_geometry_msgs
MatthijsBurgh Aug 7, 2023
69fcc6e
simplify getting args
MatthijsBurgh Aug 7, 2023
2bc0ebf
Make launch file standalone
MatthijsBurgh Aug 7, 2023
e04aac0
Import correct rclcpp header
MatthijsBurgh Aug 7, 2023
00402d6
Filter ros args from argv
MatthijsBurgh Aug 9, 2023
d9947c6
Cleanup of CMakeLists
MatthijsBurgh Aug 8, 2023
acfbddf
Bump c/c++ standards
MatthijsBurgh Aug 8, 2023
db9a447
Get rid of ros args parsing
MatthijsBurgh Aug 8, 2023
b3a2eec
Add space to fatal logging
MatthijsBurgh Aug 8, 2023
b0b58d6
change compile definitions
MatthijsBurgh Aug 8, 2023
bf0cc83
Extend compile definitions to error
MatthijsBurgh Aug 8, 2023
f56fe0d
Use const char* for print funcs
MatthijsBurgh Aug 8, 2023
f50e3f8
[actions] add Industrial CI
MatthijsBurgh Aug 8, 2023
ae20c02
(dependabot) update GH actions
MatthijsBurgh Aug 8, 2023
09882e9
(tm_driver) Correct fatal print
MatthijsBurgh Aug 9, 2023
a916807
(tm_driver) small cleanup
MatthijsBurgh Aug 9, 2023
57a1fed
(tm_driver) clean return value
MatthijsBurgh Aug 9, 2023
0c09f3c
(tm_driver) const char* print funcs in moveit comp
MatthijsBurgh Aug 9, 2023
9942481
(tm_driver) better arg handling for moveit comp
MatthijsBurgh Aug 9, 2023
43ec39e
(ui_debug_demo) remove robot_server_msgs dep
MatthijsBurgh Aug 8, 2023
689109b
(custom_package) fix compilation
MatthijsBurgh Aug 8, 2023
891a926
(demo) fix includes to silence IDE warnings
MatthijsBurgh Aug 8, 2023
222e2b9
(demo) fix return values
MatthijsBurgh Aug 8, 2023
c23491c
(demo) fix FutureReturnCode namespacing
MatthijsBurgh Aug 8, 2023
1ba823e
Rename techman_robot_get_status folder to tm_get_status
MatthijsBurgh Aug 8, 2023
5d61a35
(tm_get_status) add missing dep
MatthijsBurgh Aug 8, 2023
208197b
(tm_get_status) add missing python deps
MatthijsBurgh Aug 9, 2023
7cce200
(tm_get_status) cleanup internal of image_pub
MatthijsBurgh Aug 9, 2023
29bb9c9
(tm_get_status) wait for rosdistro PR
MatthijsBurgh Aug 9, 2023
8dfa555
(tm_driver) add additional deps to package.xml
MatthijsBurgh Aug 9, 2023
135d84a
(ui) add missing qt5 dep
MatthijsBurgh Aug 9, 2023
1e32ff5
(actions)[temp] continue-on-error: true
MatthijsBurgh Aug 10, 2023
c605fd0
(tm_driver) fix double rclcpp init
MatthijsBurgh Aug 10, 2023
9b8416c
(tm_driver) restore ip parsing
MatthijsBurgh Aug 10, 2023
b9b7584
(tm_get_status) small cleanup
MatthijsBurgh Aug 10, 2023
10f9fe5
(tm_get_status) python3-waitress added to rosdistro
MatthijsBurgh Aug 11, 2023
d2a2f2c
(tm_get_status) make explicit image is bgr8
MatthijsBurgh Aug 11, 2023
8943534
(demo) only one call to future.get() is allowed
MatthijsBurgh Aug 14, 2023
dc57123
(tm_mod_urdf) followLinks=True for os.walk
MatthijsBurgh Aug 15, 2023
8b9531b
(tm_mod_urdf) more pythonic str to float conversion
MatthijsBurgh Aug 15, 2023
47f8df2
(tm_mod_urdf) remove unused imports
MatthijsBurgh Aug 15, 2023
a0d0fcb
(tm_mod_urdf) save reading/writing of files
MatthijsBurgh Aug 15, 2023
45a45ce
(tm_mod_urdf) add xml declaration
MatthijsBurgh Aug 15, 2023
f75a68e
(tm_mod_urdf) no need to set vars before if/else
MatthijsBurgh Aug 15, 2023
15c39f2
No dashes allow in pkg names
MatthijsBurgh Aug 15, 2023
e91f772
(tm_get_status) remove exec perm
MatthijsBurgh Aug 28, 2023
6cb78ed
[tm_description] fix mtl paths in obj files
MatthijsBurgh Aug 30, 2023
96bc78d
(tm_driver) get rid of unused ROS2_BUILD def
MatthijsBurgh Sep 11, 2023
a25c274
(tm_driver) rename moveit detect var to TM_MOVEIT_AUTO_DETECT
MatthijsBurgh Sep 11, 2023
f918e05
(tm_moveit_cpp_demo) also refactor to use TM_MOVEIT_AUTO_DETECT
MatthijsBurgh Sep 11, 2023
72d3095
All cpp packages increase compiler error level and c/c++ standards
MatthijsBurgh Sep 11, 2023
4466a31
(tm_driver) cleanup iostream header includes
MatthijsBurgh Sep 11, 2023
320d235
(tm_moveit_cpp_demo)(cmake) fix indent
MatthijsBurgh Sep 11, 2023
7724437
(tm_driver) reserve 6 joint names
MatthijsBurgh Sep 12, 2023
73c7c5b
(tm_driver) don't use bitwise &
MatthijsBurgh Sep 12, 2023
3fdb9dc
(tm_driver) enable flange_pose in feedback_state msg
MatthijsBurgh Sep 14, 2023
a51da69
(tm_moveit_cpp_demo) get rid of deprecated moveit interfaces
MatthijsBurgh Sep 21, 2023
826ebf1
(tm_moveit_cpp_demo) compatible with humble and rolling
MatthijsBurgh Sep 21, 2023
cb8b135
(tm_moveit_cpp_demo) shorter construction of args
MatthijsBurgh Sep 21, 2023
06b929e
(tm_moveit_cpp_demo) correct checking of args size
MatthijsBurgh Sep 21, 2023
2585fd6
(tm_moveit_cpp_demo) move robot between home and ready1
MatthijsBurgh Sep 21, 2023
5b310d0
(tm_driver) small style changes
MatthijsBurgh Sep 26, 2023
c55ca27
(tm_driver) improve function def styling
MatthijsBurgh Sep 26, 2023
b52e910
(tm_driver) improve logging
MatthijsBurgh Sep 26, 2023
6850273
(tm_driver) better goal handling
MatthijsBurgh Sep 28, 2023
d6eae06
(tm_driver) add goal_time_tolerance to traj execution
MatthijsBurgh Sep 28, 2023
2d0f97c
(tm_driver)(TEMP) hardcoded goal_time_tolerance of 0.5 times total_time
MatthijsBurgh Sep 28, 2023
bde585e
(tm_driver) additional goal_time_tolerance of 19xtotal_time
MatthijsBurgh Oct 4, 2023
2f798dc
(tm_driver) scale allowed duration with project_speed
MatthijsBurgh Oct 9, 2023
4c02a8e
Remove exec rights of package.xml's
MatthijsBurgh Jan 5, 2024
bb5f03c
Remove exec rights of CMakeLists.txt's
MatthijsBurgh Jan 5, 2024
6c76732
(tm_mod_urdf) make it black
MatthijsBurgh Apr 12, 2024
9c10a9a
Bump actions/checkout from 3 to 4
dependabot[bot] Apr 23, 2024
57c9f30
Bump actions/cache from 3 to 4 (#3)
dependabot[bot] Apr 23, 2024
6884532
Fix styling
MatthijsBurgh Apr 22, 2024
409c75f
(driver) match goal scaling/margin with moveit
MatthijsBurgh May 13, 2024
e560de3
(driver) remove unused member variable
MatthijsBurgh May 13, 2024
670f072
(driver) SensorDataQoS with keeping only 1 last msg
MatthijsBurgh May 16, 2024
6ae37a9
Revert "(driver) SensorDataQoS with keeping only 1 last msg"
MatthijsBurgh May 27, 2024
1da8270
(description) fix normals of meshes
MatthijsBurgh May 28, 2024
b5a7e26
(description) update collision meshes
MatthijsBurgh Jun 3, 2024
c99326b
Disable clang_tidy
MatthijsBurgh Jun 12, 2024
6da8684
(actions) run on jazzy & rolling
MatthijsBurgh Jun 12, 2024
c80f5d7
Revert "(actions)[temp] continue-on-error: true"
MatthijsBurgh Jun 12, 2024
aa15517
Update clang_format config
MatthijsBurgh Jun 12, 2024
e8ec337
Many fixes (#2)
MatthijsBurgh Jun 12, 2024
cc98b9e
(README) small table fix (#5)
MatthijsBurgh Jun 12, 2024
7d9afd8
initialization of arrays
DorusVBTI Apr 18, 2025
fd8b123
skip first point in moveit PVT trajectory
DorusVBTI Apr 18, 2025
e2753af
Feature/jazzy fixes (#6)
MatthijsBurgh Apr 18, 2025
3dc6134
(description) add TM-s series
MatthijsBurgh Apr 25, 2025
5b444a9
(mod_urdf) drop urdf script, fix xacro script
MatthijsBurgh Apr 25, 2025
73d335a
(driver) add lock modification MC-001
MatthijsBurgh Apr 25, 2025
a09dea1
(driver) fix segfault
MatthijsBurgh Apr 30, 2025
b12e8a2
(mod_urdf) also considare the build folder to find the workspace
MatthijsBurgh May 1, 2025
38d6e59
(driver) default values for some variables in robot state
MatthijsBurgh May 8, 2025
287dbbe
(driver) remove RC_OK shortcut
MatthijsBurgh May 14, 2025
3e17ba7
ScriptExit() -> Exit()
MatthijsBurgh May 14, 2025
36ad897
(driver) publish feedback on 100Hz
MatthijsBurgh May 20, 2025
3dc532e
Fixes (#7)
MatthijsBurgh Jun 23, 2025
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
  •  
  •  
  •  
228 changes: 228 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
---
BasedOnStyle: Google
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignConsecutiveMacros: None
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: Both
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAfterJavaFieldAnnotations: false
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Custom
BreakBeforeConceptDeclarations: true
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: "^ IWYU pragma:"
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
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
IndentCaseBlocks: false
IndentCaseLabels: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequires: false
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
Language: Cpp
MacroBlockBegin: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PPIndentWidth: -1
PackConstructorInitializers: NextLine
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 30
PenaltyBreakComment: 1000
PenaltyBreakFirstLessLess: 10
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 100
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 50
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 50
PointerAlignment: Left
QualifierAlignment: Custom
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
SeparateDefinitionBlocks: Always
ShortNamespaceLines: 1
SortIncludes: false
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDeclarationName: false
AfterFunctionDefinitionName: false
AfterIfMacros: true
AfterOverloadedOperator: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 2
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
QualifierOrder:
- static
- inline
- constexpr
- const
- volatile
- type
69 changes: 69 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
Checks: '-*,
performance-*,
llvm-namespace-comment,
modernize-*,
-modernize-avoid-bind,
-modernize-use-trailing-return-type,
# modernize-redundant-void-arg,
# modernize-use-nullptr,
# modernize-use-default,
# modernize-use-override,
# modernize-loop-convert,
# modernize-make-shared,
# modernize-make-unique,
# modernize-avoid-bind,
misc-*,
# misc-unused-parameters,
readability-braces-around-statements,
readability-named-parameter,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-simplify-boolean-expr,
readability-container-size-empty,
readability-identifier-naming,
readability-static-definition-in-anonymous-namespace,
'
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
CheckOptions:
- key: llvm-namespace-comment.ShortNamespaceLines
value: '10'
- key: llvm-namespace-comment.SpacesBeforeComments
value: '2'
- key: misc-unused-parameters.StrictMode
value: '1'
- key: readability-braces-around-statements.ShortStatementLines
value: '2'
# type names
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
# function names
- key: readability-identifier-naming.FunctionCase
value: lower_case
# method names
- key: readability-identifier-naming.MethodCase
value: camelBack
# variable names
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.ProtectedMemberSuffix
value: '_'
- key: readability-identifier-naming.PrivateMemberSuffix
value: '_'
# const static or global variables are UPPER_CASE
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.StaticVariableCasePrefix
value: 's_'
- key: readability-identifier-naming.StaticConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ClassConstantCase
value: UPPER_CASE
...
Loading