forked from BehaviorTree/BehaviorTree.ROS2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from uml-robotics/pr_humble
merge upstream changes
- Loading branch information
Showing
42 changed files
with
2,319 additions
and
472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
BasedOnStyle: Google | ||
AccessModifierOffset: -2 | ||
ConstructorInitializerIndentWidth: 2 | ||
AlignEscapedNewlinesLeft: false | ||
AlignTrailingComments: true | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: None | ||
AlwaysBreakTemplateDeclarations: true | ||
AlwaysBreakBeforeMultilineStrings: false | ||
BreakBeforeBinaryOperators: false | ||
BreakBeforeTernaryOperators: false | ||
BreakConstructorInitializers: BeforeComma | ||
BinPackParameters: true | ||
ColumnLimit: 90 | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
DerivePointerBinding: false | ||
PointerBindsToType: true | ||
ExperimentalAutoDetectBinPacking: false | ||
IndentCaseLabels: true | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
ObjCSpaceBeforeProtocolList: true | ||
PenaltyBreakBeforeFirstCallParameter: 19 | ||
PenaltyBreakComment: 60 | ||
PenaltyBreakString: 1 | ||
PenaltyBreakFirstLessLess: 1000 | ||
PenaltyExcessCharacter: 1000 | ||
PenaltyReturnTypeOnItsOwnLine: 90 | ||
SpacesBeforeTrailingComments: 2 | ||
Cpp11BracedListStyle: false | ||
Standard: Auto | ||
IndentWidth: 2 | ||
TabWidth: 2 | ||
UseTab: Never | ||
IndentFunctionDeclarationAfterType: false | ||
SpacesInParentheses: false | ||
SpacesInAngles: false | ||
SpaceInEmptyParentheses: false | ||
SpacesInCStyleCastParentheses: false | ||
SpaceAfterControlStatementKeyword: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeParens: Never | ||
ContinuationIndentWidth: 4 | ||
SortIncludes: false | ||
SpaceAfterCStyleCast: false | ||
ReflowComments: false | ||
|
||
# Configure each individual brace in BraceWrapping | ||
BreakBeforeBraces: Custom | ||
|
||
# Control of individual brace wrapping cases | ||
BraceWrapping: { | ||
AfterClass: 'true', | ||
AfterControlStatement: 'true', | ||
AfterEnum : 'true', | ||
AfterFunction : 'true', | ||
AfterNamespace : 'true', | ||
AfterStruct : 'true', | ||
AfterUnion : 'true', | ||
BeforeCatch : 'true', | ||
BeforeElse : 'true', | ||
IndentBraces : 'false', | ||
SplitEmptyFunction: 'false' | ||
} | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: pre-commit | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
- uses: pre-commit/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
# To use: | ||
# | ||
# pre-commit run -a | ||
# | ||
# Or: | ||
# | ||
# pre-commit install # (runs every time you commit in git) | ||
# | ||
# To update this file: | ||
# | ||
# pre-commit autoupdate | ||
# | ||
# See https://github.com/pre-commit/pre-commit | ||
|
||
exclude: ^3rdparty/|3rdparty|^include/behaviortree_cpp/contrib/ | ||
repos: | ||
|
||
# Standard hooks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: check-symlinks | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
exclude_types: [svg] | ||
- id: mixed-line-ending | ||
- id: trailing-whitespace | ||
exclude_types: [svg] | ||
- id: fix-byte-order-marker | ||
|
||
# CPP hooks | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v17.0.6 | ||
hooks: | ||
- id: clang-format | ||
args: ['-fallback-style=none', '-i'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Bt Server Parameters | ||
|
||
Default Config | ||
```yaml | ||
bt_server: | ||
ros__parameters: | ||
action_name: bt_execution | ||
behavior_trees: '{}' | ||
groot2_port: 1667.0 | ||
plugins: '{}' | ||
ros_plugins_timeout: 1000.0 | ||
tick_frequency: 100.0 | ||
|
||
``` | ||
|
||
## action_name | ||
|
||
The name the Action Server takes requests from | ||
|
||
* Type: `string` | ||
* Default Value: "bt_execution" | ||
* Read only: True | ||
|
||
## tick_frequency | ||
|
||
Frequency in Hz to tick() the Behavior tree at | ||
|
||
* Type: `int` | ||
* Default Value: 100 | ||
* Read only: True | ||
|
||
*Constraints:* | ||
- parameter must be within bounds 1 | ||
|
||
## groot2_port | ||
|
||
Server port value to publish Groot2 messages on | ||
|
||
* Type: `int` | ||
* Default Value: 1667 | ||
* Read only: True | ||
|
||
*Constraints:* | ||
- parameter must be within bounds 1 | ||
|
||
## plugins | ||
|
||
List of 'package_name/subfolder' containing BehaviorTree plugins to load into the factory | ||
|
||
* Type: `string_array` | ||
* Default Value: {} | ||
|
||
*Constraints:* | ||
- contains no duplicates | ||
|
||
## ros_plugins_timeout | ||
|
||
Timeout (ms) used in BT::RosNodeParams | ||
|
||
* Type: `int` | ||
* Default Value: 1000 | ||
|
||
*Constraints:* | ||
- parameter must be within bounds 1 | ||
|
||
## behavior_trees | ||
|
||
List of 'package_name/subfolder' containing SubTrees to load into the BehaviorTree factory | ||
|
||
* Type: `string_array` | ||
* Default Value: {} | ||
|
||
*Constraints:* | ||
- contains no duplicates |
Oops, something went wrong.