This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
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 #235 from tier4/sync-upstream
chore: sync upstream
- Loading branch information
Showing
14 changed files
with
133 additions
and
35 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
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,77 @@ | ||
name: github-release | ||
|
||
on: | ||
push: | ||
branches: | ||
- beta/v* | ||
tags: | ||
- v* | ||
workflow_dispatch: | ||
inputs: | ||
beta-branch-or-tag-name: | ||
type: string | ||
required: true | ||
|
||
jobs: | ||
github-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set tag name | ||
id: set-tag-name | ||
run: | | ||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then | ||
REF_NAME="${{ github.event.inputs.beta-branch-or-tag-name }}" | ||
else | ||
REF_NAME="${{ github.ref_name }}" | ||
fi | ||
echo ::set-output name=ref-name::"$REF_NAME" | ||
echo ::set-output name=tag-name::"${REF_NAME#beta/}" | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ steps.set-tag-name.outputs.ref-name }} | ||
|
||
- name: Set target name for beta branches | ||
id: set-target-name | ||
run: | | ||
if [[ "${{ steps.set-tag-name.outputs.ref-name }}" =~ "beta/" ]]; then | ||
echo ::set-output name=target-name::"${{ steps.set-tag-name.outputs.ref-name }}" | ||
fi | ||
- name: Create a local tag for beta branches | ||
run: | | ||
if [ "${{ steps.set-target-name.outputs.target-name }}" != "" ]; then | ||
git tag "${{ steps.set-tag-name.outputs.tag-name }}" | ||
fi | ||
- name: Run generate-changelog | ||
id: generate-changelog | ||
uses: autowarefoundation/autoware-github-actions/generate-changelog@v1 | ||
|
||
- name: Select verb | ||
id: select-verb | ||
run: | | ||
has_previous_draft=$(gh release view --json isDraft -q ".isDraft" "${{ steps.set-tag-name.outputs.tag-name }}") | ||
verb=create | ||
if [ "$has_previous_draft" = "true" ]; then | ||
verb=edit | ||
fi | ||
echo ::set-output name=verb::"$verb" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Release to GitHub | ||
run: | | ||
gh release ${{ steps.select-verb.outputs.verb }} "${{ steps.set-tag-name.outputs.tag-name }}" \ | ||
--draft \ | ||
--target "${{ steps.set-target-name.outputs.target-name }}" \ | ||
--title "Release ${{ steps.set-tag-name.outputs.tag-name }}" \ | ||
--notes "$NOTES" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NOTES: ${{ steps.generate-changelog.outputs.changelog }} |
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
2 changes: 1 addition & 1 deletion
2
control_launch/config/trajectory_follower/9/longitudinal_controller.param.yaml
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
7 changes: 7 additions & 0 deletions
7
planning_launch/config/planning_diagnostics/planning_error_monitor.param.yaml
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,7 @@ | ||
/**: | ||
ros__parameters: | ||
# trajectory check | ||
error_interval: 100.0 # error interval distance threshold [m] | ||
error_curvature: 2.0 # error curvature threshold [rad/m] | ||
error_sharp_angle: 0.785398 # error sharp angle threshold [rad] | ||
ignore_too_close_points: 0.01 # ignore too close distance threshold [m] |
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