diff --git a/.github/PULL_REQUEST_TEMPLATE/small-change.md b/.github/PULL_REQUEST_TEMPLATE/small-change.md index 2ff933c..e15fdd9 100644 --- a/.github/PULL_REQUEST_TEMPLATE/small-change.md +++ b/.github/PULL_REQUEST_TEMPLATE/small-change.md @@ -15,6 +15,10 @@ Not applicable. Not applicable. +## Interface changes + + + ## Pre-review checklist for the PR author The PR author **must** check the checkboxes below when creating the PR. diff --git a/.github/PULL_REQUEST_TEMPLATE/standard-change.md b/.github/PULL_REQUEST_TEMPLATE/standard-change.md index 7aedefd..391af62 100644 --- a/.github/PULL_REQUEST_TEMPLATE/standard-change.md +++ b/.github/PULL_REQUEST_TEMPLATE/standard-change.md @@ -18,6 +18,19 @@ +### ROS Topic Changes + + + + + + +### ROS Parameter Changes + + + + + ## Effects on system behavior diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml index 74c7c77..fa0c480 100644 --- a/.github/workflows/build-and-test-differential.yaml +++ b/.github/workflows/build-and-test-differential.yaml @@ -2,9 +2,21 @@ name: build-and-test-differential on: pull_request: + types: + - opened + - synchronize + - reopened + - labeled jobs: + make-sure-label-is-present: + uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1 + with: + label: tag:run-build-and-test-differential + build-and-test-differential: + needs: make-sure-label-is-present + if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }} runs-on: ubuntu-latest container: ${{ matrix.container }} strategy: @@ -16,10 +28,17 @@ jobs: - rosdistro: humble container: ros:humble steps: - - name: Check out repository + - name: Set PR fetch depth + run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}" + + - name: Checkout PR branch and all PR commits uses: actions/checkout@v4 with: - fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: ${{ env.PR_FETCH_DEPTH }} + + - name: Show disk space before the tasks + run: df -h - name: Remove exec_depend uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1 @@ -45,43 +64,12 @@ jobs: - name: Upload coverage to CodeCov if: ${{ steps.test.outputs.coverage-report-files != '' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ${{ steps.test.outputs.coverage-report-files }} fail_ci_if_error: false verbose: true flags: differential - clang-tidy-differential: - runs-on: ubuntu-latest - container: ros:humble - needs: build-and-test-differential - steps: - - name: Check out repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Remove exec_depend - uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1 - - - name: Get modified packages - id: get-modified-packages - uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1 - - - name: Get modified files - id: get-modified-files - uses: tj-actions/changed-files@v42 - with: - files: | - **/*.cpp - **/*.hpp - - - name: Run clang-tidy - if: ${{ steps.get-modified-files.outputs.all_changed_files != '' }} - uses: autowarefoundation/autoware-github-actions/clang-tidy@v1 - with: - rosdistro: humble - target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} - target-files: ${{ steps.get-modified-files.outputs.all_changed_files }} - clang-tidy-config-url: https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy + - name: Show disk space after the tasks + run: df -h diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 51caa49..0654863 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -22,14 +22,11 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 - - - name: Free disk space (Ubuntu) - uses: jlumbroso/free-disk-space@v1.3.1 with: - tool-cache: false - dotnet: false - swap-storage: false - large-packages: false + fetch-depth: 1 + + - name: Show disk space before the tasks + run: df -h - name: Remove exec_depend uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1 @@ -55,9 +52,12 @@ jobs: - name: Upload coverage to CodeCov if: ${{ steps.test.outputs.coverage-report-files != '' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ${{ steps.test.outputs.coverage-report-files }} fail_ci_if_error: false verbose: true flags: total + + - name: Show disk space after the tasks + run: df -h diff --git a/.markdownlint.yaml b/.markdownlint.yaml index babaaa1..7b7359f 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -7,5 +7,6 @@ MD029: style: ordered MD033: false MD041: false +MD045: false MD046: false MD049: false diff --git a/.pre-commit-config-optional.yaml b/.pre-commit-config-optional.yaml index 3b43f9a..8c9345e 100644 --- a/.pre-commit-config-optional.yaml +++ b/.pre-commit-config-optional.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/tcort/markdown-link-check - rev: v3.11.2 + rev: v3.12.2 hooks: - id: markdown-link-check args: [--quiet, --config=.markdown-link-check.json] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6b8da99..e652a0e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-json - id: check-merge-conflict @@ -18,7 +18,7 @@ repos: args: [--markdown-linebreak-ext=md] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.39.0 + rev: v0.41.0 hooks: - id: markdownlint args: [-c, .markdownlint.yaml, --fix] @@ -34,7 +34,7 @@ repos: - id: yamllint - repo: https://github.com/tier4/pre-commit-hooks-ros - rev: v0.8.0 + rev: v0.10.0 hooks: - id: prettier-package-xml - id: sort-package-xml diff --git a/autoware_adapi_v1_msgs/CHANGELOG.rst b/autoware_adapi_v1_msgs/CHANGELOG.rst new file mode 100644 index 0000000..884b69f --- /dev/null +++ b/autoware_adapi_v1_msgs/CHANGELOG.rst @@ -0,0 +1,170 @@ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Changelog for package autoware_adapi_v1_msgs +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +1.3.0 (2024-07-03) +------------------ +* feat(autoware_adapi_v1_msgs): remove energy status (`#58 `_) +* feat(autoware_adapi_v1_msgs): add diagnostics (`#54 `_) +* Contributors: Takagi, Isamu + +1.2.1 (2024-04-30) +------------------ +* build: set package versions to the package.xml files (`#55 `_) + * version 1.1.0 + * separate to build\_ and exec\_ depends + * update description + * style(pre-commit): autofix + * Update autoware_adapi_v1_msgs/package.xml + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * Update autoware_adapi_v1_msgs/package.xml + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * Update autoware_adapi_version_msgs/package.xml + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * version 1.2.0 + * Revert "separate to build\_ and exec\_ depends" + This reverts commit 6b657cf84a674a8272fbc6571a0f3dffa0a1dce8. + --------- + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> +* feat(autoware_adapi_v1_msgs): add heartbeat (`#50 `_) + * feat(autoware_adapi_v1_msgs): add heartbeat + * feat(autoware_adapi_v1_msgs): add message counter + * Update autoware_adapi_v1_msgs/system/msg/Heartbeat.msg + Co-authored-by: M. Fatih Cırıt + * feat: add comment + --------- + Co-authored-by: M. Fatih Cırıt +* feat(autoware_adapi_v1_msgs): remove planning factor type (`#48 `_) +* feat(autoware_adapi_v1_msgs): add planning behavior type (`#45 `_) +* feat(autoware_adapi_v1_msgs): add MRM pull over behavior for mrm state (`#43 `_) + * add pull over behavior to mrm state + * Update autoware_adapi_v1_msgs/system/msg/MrmState.msg + Co-authored-by: Kotaro Yoshimoto + --------- + Co-authored-by: Kotaro Yoshimoto +* feat(autoware_adapi_v1_msgs): add cooperation (`#41 `_) + * feat: add cooperation messages + * feat: add cooperation service + * feat: merge planning factors + * feat: modify constant names + * feat: add cooperation default + * update fields + * upfate default decision service + * rename service + * update message name + * fix constants + * add constants for behavior and sequence + * update field + * fix order + * add comment + --------- +* feat(autoware_adapi_v1_msgs): add door command (`#40 `_) + * door command + * remove unused constant + * modify command + --------- +* feat(autoware_adapi_v1_msgs): add vehicle status msgs (`#24 `_) + * add vehicle status msgs + * simplify door msg + * add vehicle state + * change vehicle motion + * clean up + * fix typo + * change geo position to array and remove GeoPosition msg + * update msgs + * update msgs + * update naming + * add none + * update msg + * fix naming + * fix typo + * change naming + * update geopoint to use geographic_msgs + * add commend document + * update message + * Update autoware_adapi_v1_msgs/vehicle/msg/Kinematic.msg + Fix speelling + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * update message name + * update door layout + * Update autoware_adapi_v1_msgs/vehicle/msg/VehicleKinematics.msg + Update commend in VehicleKinematics + Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> + * style(pre-commit): autofix + --------- + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + Co-authored-by: Takagi, Isamu + Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> +* refactor(start_planner): rename pull out to start planner (`#36 `_) +* feat(autoware_adapi_v1_msgs): change door field names to suit (`#35 `_) +* feat: first draft proposal implementation for handling invalid lanelets (`#27 `_) + * feat: first draft proposal implementation for handling invalid lanelets + * feat: changing module name from invalid_lanelet to no_drivable_lane + --------- +* feat(autoware_adapi_v1_msgs): add object recognition msg (`#25 `_) + * add perception message for object recognition + * use the correct msg + * change naming + * fix naming + * change shape + * add missing data + * change naming + * change naming + * change shape type + --------- +* feat(autoware_adapi_v1_msgs): add vehicle info msgs (`#28 `_) + * feat(autoware_adapi_v1_msgs): add vehicle info messages + * feat: add door group + * feat: change door group + * feat: add footprint to vehicle dimensions + --------- +* refactor(behavior_path_planner): rename pull_over to goal_planner (`#33 `_) + * refactor(behavior_path_planner): rename pull_over to goal_planner + * Update autoware_adapi_v1_msgs/planning/msg/SteeringFactor.msg + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + --------- + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> +* feat(autoware_adapi_v1_msgs): add error code for route points (`#32 `_) +* feat(autoware_adapi_v1_msgs): add new error messages (`#31 `_) + * feat(autoware_adapi_v1_msgs): add new error messages + * Update autoware_adapi_v1_msgs/routing/srv/SetRoute.srv + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + --------- + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> +* feat(autoware_adapi_v1_msgs): add routing option for goal modification (`#30 `_) + * feat(autoware_adapi_v1_msgs): add goal modification + * feat: change goal modification option + --------- +* feat(autoware_adapi_v1_msgs): add msgs for MRM (`#16 `_) + * feat(autoware_adapi_v1_msgs): add mrm msgs + * fix(autoware_adapi_v1_msgs): remove mrm behavior status msg + * fix(autoware_adapi_v1_msgs): fix acronyms case + Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> + * chore(autoware_adapi_v1_msgs): add comments for states and behaviors + Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> + * ci(pre-commit): autofix + * feat(autoware_adapi_v1_msgs): add operation mode api message (`#17 `_) + * feat(autoware_adapi_v1_msgs): add operation mode api message + * feat: use minimum size type + * fix(autoware_adapi_v1_msgs): fix file names + * fix(autoware_adapi_v1_msgs): fix constant values + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * remove(autoware_adapi_v1_msgs): remove mrm operation service + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> +* feat(autoware_adapi_v1_msgs): add operation mode api message (`#17 `_) + * feat(autoware_adapi_v1_msgs): add operation mode api message + * feat: use minimum size type +* feat(autoware_adapi_v1_msgs): add velocity factor message (`#15 `_) +* feat(autoware_adapi_v1_msgs): add error code to route set service (`#14 `_) +* feat(autoware_adapi_v1_msgs): add motion api message (`#11 `_) + feat(autoware_adapi_v1_msgs): add motion messages +* feat(autoware_adapi_v1_msgs): add planning api message (`#9 `_) + * add planning api msgs + * add cmake + * fix naming +* feat(autoware_adapi_v1_msgs): add v1 messages (`#3 `_) + Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> +* Contributors: Ahmed Ebrahim, Akihiro Sakurai, Kah Hooi Tan, Kosuke Takeuchi, Makoto Kurihara, Takagi, Isamu, Yutaka Kondo, Yutaka Shimizu diff --git a/autoware_adapi_v1_msgs/package.xml b/autoware_adapi_v1_msgs/package.xml index 35fb815..8078a2c 100644 --- a/autoware_adapi_v1_msgs/package.xml +++ b/autoware_adapi_v1_msgs/package.xml @@ -2,7 +2,7 @@ autoware_adapi_v1_msgs - 1.2.0 + 1.3.0 The Autoware AD API interfaces Takagi, Isamu Yutaka Kondo diff --git a/autoware_adapi_v1_msgs/vehicle/msg/VehicleStatus.msg b/autoware_adapi_v1_msgs/vehicle/msg/VehicleStatus.msg index 4f89f61..6afba70 100644 --- a/autoware_adapi_v1_msgs/vehicle/msg/VehicleStatus.msg +++ b/autoware_adapi_v1_msgs/vehicle/msg/VehicleStatus.msg @@ -3,4 +3,3 @@ autoware_adapi_v1_msgs/Gear gear autoware_adapi_v1_msgs/TurnIndicators turn_indicators autoware_adapi_v1_msgs/HazardLights hazard_lights float64 steering_tire_angle -float32 energy_percentage # Battery percentage or fuel percentage, it will depends on the vehicle. diff --git a/autoware_adapi_version_msgs/CHANGELOG.rst b/autoware_adapi_version_msgs/CHANGELOG.rst new file mode 100644 index 0000000..8fc311f --- /dev/null +++ b/autoware_adapi_version_msgs/CHANGELOG.rst @@ -0,0 +1,30 @@ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Changelog for package autoware_adapi_version_msgs +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +1.3.0 (2024-07-03) +------------------ + +1.2.1 (2024-04-30) +------------------ +* build: set package versions to the package.xml files (`#55 `_) + * version 1.1.0 + * separate to build\_ and exec\_ depends + * update description + * style(pre-commit): autofix + * Update autoware_adapi_v1_msgs/package.xml + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * Update autoware_adapi_v1_msgs/package.xml + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * Update autoware_adapi_version_msgs/package.xml + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> + * version 1.2.0 + * Revert "separate to build\_ and exec\_ depends" + This reverts commit 6b657cf84a674a8272fbc6571a0f3dffa0a1dce8. + --------- + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> + Co-authored-by: Takagi, Isamu <43976882+isamu-takagi@users.noreply.github.com> +* feat(autoware_adapi_version_msgs): add version messages (`#2 `_) + Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> + Co-authored-by: Kenji Miyake <31987104+kenji-miyake@users.noreply.github.com> +* Contributors: Takagi, Isamu, Yutaka Kondo diff --git a/autoware_adapi_version_msgs/package.xml b/autoware_adapi_version_msgs/package.xml index 000704d..369c136 100644 --- a/autoware_adapi_version_msgs/package.xml +++ b/autoware_adapi_version_msgs/package.xml @@ -2,7 +2,7 @@ autoware_adapi_version_msgs - 1.2.0 + 1.3.0 The Autoware AD API version interfaces Takagi, Isamu Yutaka Kondo