-
Notifications
You must be signed in to change notification settings - Fork 1
Initial py_trees_parser repo setup #1
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
Merged
Merged
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
258145e
Merge branch 'ORTHO-272/simulation_launch_file' into 'humble'
erichlf 84a23b2
Update to remove non-parser code
erichlf 3b381e0
Add license file
erichlf ff038f8
Add repos file
erichlf 54e7acb
Add github action
erichlf 4d5f2e6
Change behavior_tree reference to py_trees_parser
erichlf 5782f8a
Fix typo package name in action
erichlf dec1138
Add missing resource file
erichlf 4b67fcd
Add PR template
erichlf a37019e
Fix testing
erichlf 72ec7cd
Remove behavior_tree references from README
erichlf ec27685
Add pyproject file for linting
erichlf 8b0f314
Try industrial_ci
erichlf 68ed621
Update ruff action and pyproject.toml
erichlf a4f2ef2
Update linting rules and apply ruff
erichlf 19f5cea
Remove commented lines in action
erichlf 57cae04
Add linting test
erichlf da5d5cf
Fix copyright testing
erichlf 76f97f3
Fix ruff version
erichlf 1a7f568
Update change log
erichlf ad4c047
Add .local/bin to PATH for linting
erichlf 6b676c4
Add .gitignore
erichlf b6e810f
Fix cascading args and add a test
erichlf 4183600
Update PR template
erichlf 31f1c9b
Pin py_trees_ros to a 2.3.0
erichlf a041d57
Update README and changelog
erichlf e9dc63a
Fix docstring
erichlf 46a410f
Update test to include a nested subtree for cascading args
erichlf 02f2d80
Remove unused dependencies
erichlf 83c3788
Add example of python interpreter
erichlf c8e9722
Fix minor typos
erichlf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,34 @@ | ||
Description of MR/PR... | ||
|
||
Fixes # | ||
|
||
## Motivation and Context | ||
|
||
Why is this change implemented? Add screenshots, images, or other media if this helps explain. | ||
|
||
## Changes | ||
|
||
- Item 1 | ||
- Item 2 | ||
|
||
## Type of changes | ||
|
||
- Bug fix (non-breaking change which fixes an issue) | ||
- New feature (non-breaking change which adds functionality) | ||
- Breaking change (fix or feature that would cause existing functionality to change) | ||
|
||
[comment]: # (Delete the lines in "Type of changes" that are not appropriate) | ||
|
||
## Checklist | ||
|
||
- [ ] Update dependencies | ||
- [ ] Update version | ||
- [ ] Update README | ||
|
||
## Testing | ||
|
||
This should contain instructions on how to test the new code, or details on how | ||
the new code was tested, e.g. | ||
|
||
1. `colcon build --packages-up-to py_trees_parser` | ||
2. `colcon test --event-handlers console_cohesion+ --packages-select py_trees_parser` |
This file contains hidden or 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,28 @@ | ||
on: # this determines when this workflow is run | ||
pull_request: | ||
workflow_dispatch: # allow manually starting this workflow | ||
|
||
jobs: | ||
industrial_ci: | ||
name: ROS ${{ matrix.ROS_DISTRO }} (${{ matrix.ROS_REPO }}) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
# fail-fast: false # uncomment if failing jobs should not cancel the others immediately | ||
matrix: # matrix is the product of entries | ||
ROS_DISTRO: [humble] | ||
ROS_REPO: [main] | ||
env: | ||
UPSTREAM_WORKSPACE: .repos | ||
steps: | ||
- name: Checkout out Git repository | ||
uses: actions/checkout@v4 # clone target repository | ||
- name: Run python linting | ||
uses: chartboost/ruff-action@v1 | ||
with: | ||
config: pyproject.toml | ||
changed-files: true | ||
- name: Run unit tests | ||
uses: ros-industrial/industrial_ci@master # run industrial_ci | ||
env: # either pass all entries explicitly | ||
ROS_DISTRO: ${{ matrix.ROS_DISTRO }} | ||
ROS_REPO: ${{ matrix.ROS_REPO }} |
This file contains hidden or 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 @@ | ||
# Python | ||
__pycache__/ | ||
*.py[cod] | ||
*.pyo | ||
*.pyd | ||
*.egg-info/ | ||
dist/ | ||
build/ | ||
.eggs/ | ||
*.egg | ||
|
||
# ROS 2 specific | ||
build/ | ||
install/ | ||
log/ | ||
*.so | ||
*.dSYM/ | ||
*.swp | ||
*.swo | ||
|
||
# VS Code settings | ||
.vscode/ | ||
*.code-workspace | ||
|
||
# Pytest | ||
.cache/ | ||
*.cover | ||
*.coverage | ||
nosetests.xml | ||
coverage.xml | ||
*.log | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# Environment variables | ||
.env | ||
.venv/ | ||
venv/ | ||
env/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
|
||
# MacOS | ||
.DS_Store | ||
|
||
# Linux | ||
*~ | ||
|
||
# Temporary files | ||
*.tmp | ||
*.temp | ||
*.bak | ||
*.orig | ||
*.swp | ||
*.swo | ||
|
||
# IDE specific | ||
.idea/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# Other | ||
*.log | ||
*.out | ||
*.err |
This file contains hidden or 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,10 @@ | ||
repositories: | ||
vendors/py_trees: | ||
type: git | ||
url: https://github.com/splintered-reality/py_trees.git | ||
version: 2.2.3 | ||
|
||
vendors/py_trees_ros: | ||
type: git | ||
url: https://github.com/splintered-reality/py_trees_ros.git | ||
version: 2.3.0 |
This file contains hidden or 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 hidden or 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,13 @@ | ||
Any contribution that you make to this repository will | ||
be under the Apache 2 License, as dictated by that | ||
[license](http://www.apache.org/licenses/LICENSE-2.0.html): | ||
|
||
~~~ | ||
5. Submission of Contributions. Unless You explicitly state otherwise, | ||
any Contribution intentionally submitted for inclusion in the Work | ||
by You to the Licensor shall be under the terms and conditions of | ||
this License, without any additional terms or conditions. | ||
Notwithstanding the above, nothing herein shall supersede or modify | ||
the terms of any separate license agreement you may have executed | ||
with Licensor regarding such Contributions. | ||
~~~ |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.