diff --git a/.github/_CODEOWNERS b/.github/_CODEOWNERS index 7b1db618d1..94740e295e 100644 --- a/.github/_CODEOWNERS +++ b/.github/_CODEOWNERS @@ -5,20 +5,20 @@ autoware_launch/** mfc@leodrive.ai ryohsuke.mitsudome@tier4.jp yukihiro.saito@ti # /** # .github/** autoware_launch/** yukihiro.saito@tier4.jp ryohsuke.mitsudome@tier4.jp mfc@leodrive.ai -autoware_launch/config/control/** takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp daniel.sanchez@tier4.jp kyoichi.sugahara@tier4.jp zulfaqar.azmi@tier4.jp go.sakayori@tier4.jp kosuke.takeuchi@tier4.jp alqudah.mohammad@tier4.jp maxime.clement@tier4.jp mamoru.sobue@tier4.jp yukinari.hisaki.2@tier4.jp +autoware_launch/config/control/** takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp autoware_launch/config/localization/** masahiro.sakamoto@tier4.jp yamato.ando@tier4.jp ryu.yamamoto@tier4.jp kento.yabuuchi.2@tier4.jp shintaro.sakoda@tier4.jp taiki.yamada@tier4.jp anh.nguyen.2@tier4.jp autoware_launch/config/map/** masahiro.sakamoto@tier4.jp yamato.ando@tier4.jp ryu.yamamoto@tier4.jp kento.yabuuchi.2@tier4.jp shintaro.sakoda@tier4.jp taiki.yamada@tier4.jp anh.nguyen.2@tier4.jp -autoware_launch/config/perception/** shunsuke.miura@tier4.jp yoshi.ri@tier4.jp koji.minoda@tier4.jp -autoware_launch/config/planning/** takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp daniel.sanchez@tier4.jp kyoichi.sugahara@tier4.jp zulfaqar.azmi@tier4.jp go.sakayori@tier4.jp kosuke.takeuchi@tier4.jp alqudah.mohammad@tier4.jp maxime.clement@tier4.jp mamoru.sobue@tier4.jp yukinari.hisaki.2@tier4.jp yuki.takagi@tier4.jp +autoware_launch/config/perception/** shunsuke.miura@tier4.jp yoshi.ri@tier4.jp koji.minoda@tier4.jp taekjin.lee@tier4.jp +autoware_launch/config/planning/** takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp autoware_launch/config/simulator/** takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp autoware_launch/config/system/** fumihito.ito@tier4.jp isamu.takagi@tier4.jp -autoware_launch/config/vehicle/** takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp mamoru.sobue@tier4.jp +autoware_launch/config/vehicle/** takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp autoware_launch/launch/components/tier4_autoware_api_component.launch.xml isamu.takagi@tier4.jp -autoware_launch/launch/components/tier4_control_component.launch.xml takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp daniel.sanchez@tier4.jp kyoichi.sugahara@tier4.jp zulfaqar.azmi@tier4.jp go.sakayori@tier4.jp kosuke.takeuchi@tier4.jp alqudah.mohammad@tier4.jp maxime.clement@tier4.jp mamoru.sobue@tier4.jp yukinari.hisaki.2@tier4.jp +autoware_launch/launch/components/tier4_control_component.launch.xml takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp autoware_launch/launch/components/tier4_localization_component.launch.xml masahiro.sakamoto@tier4.jp yamato.ando@tier4.jp ryu.yamamoto@tier4.jp kento.yabuuchi.2@tier4.jp shintaro.sakoda@tier4.jp taiki.yamada@tier4.jp anh.nguyen.2@tier4.jp autoware_launch/launch/components/tier4_map_component.launch.xml masahiro.sakamoto@tier4.jp yamato.ando@tier4.jp ryu.yamamoto@tier4.jp kento.yabuuchi.2@tier4.jp shintaro.sakoda@tier4.jp taiki.yamada@tier4.jp anh.nguyen.2@tier4.jp -autoware_launch/launch/components/tier4_perception_component.launch.xml shunsuke.miura@tier4.jp yoshi.ri@tier4.jp koji.minoda@tier4.jp -autoware_launch/launch/components/tier4_planning_component.launch.xml takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp daniel.sanchez@tier4.jp kyoichi.sugahara@tier4.jp zulfaqar.azmi@tier4.jp go.sakayori@tier4.jp kosuke.takeuchi@tier4.jp alqudah.mohammad@tier4.jp maxime.clement@tier4.jp mamoru.sobue@tier4.jp yukinari.hisaki.2@tier4.jp +autoware_launch/launch/components/tier4_perception_component.launch.xml shunsuke.miura@tier4.jp yoshi.ri@tier4.jp koji.minoda@tier4.jp taekjin.lee@tier4.jp +autoware_launch/launch/components/tier4_planning_component.launch.xml takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp autoware_launch/launch/components/tier4_sensing_component.launch.xml shunsuke.miura@tier4.jp yoshi.ri@tier4.jp koji.minoda@tier4.jp autoware_launch/launch/components/tier4_simulator_component.launch.xml takayuki.murooka@tier4.jp fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp autoware_launch/launch/components/tier4_system_component.launch.xml fumihito.ito@tier4.jp isamu.takagi@tier4.jp shumpei.wakabayashi@tier4.jp tomoya.kimura@tier4.jp diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 8fd9b7f4ae..8e2d7193ae 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -6,8 +6,9 @@ version: 2 updates: - package-ecosystem: github-actions directory: / + # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval schedule: - interval: daily + interval: monthly open-pull-requests-limit: 1 labels: - tag:bot diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index 9972c966ea..1d2baf16b6 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -21,6 +21,7 @@ - source: .github/workflows/sync-files.yaml - source: .markdown-link-check.json - source: .markdownlint.yaml + - source: .pre-commit-config.yaml - source: .pre-commit-config-optional.yaml - source: .prettierignore pre-commands: | diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml index 0ebc08a92e..151269cc71 100644 --- a/.github/workflows/build-and-test-differential.yaml +++ b/.github/workflows/build-and-test-differential.yaml @@ -16,7 +16,7 @@ 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 + label: run:build-and-test-differential build-and-test-differential: needs: make-sure-label-is-present diff --git a/.github/workflows/pr-labeler.yaml b/.github/workflows/pr-labeler.yaml index cc2b26fd3e..0ad3413589 100644 --- a/.github/workflows/pr-labeler.yaml +++ b/.github/workflows/pr-labeler.yaml @@ -10,7 +10,7 @@ jobs: label: runs-on: ubuntu-22.04 steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} configuration-path: .github/labeler.yaml diff --git a/.github/workflows/update-sync-param-files.yaml b/.github/workflows/update-sync-param-files.yaml index 5fa57ad472..aa2859eef1 100644 --- a/.github/workflows/update-sync-param-files.yaml +++ b/.github/workflows/update-sync-param-files.yaml @@ -30,7 +30,7 @@ jobs: - name: Create PR id: create-pr - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v7 with: token: ${{ steps.generate-token.outputs.token }} base: ${{ github.event.repository.default_branch }} diff --git a/.pre-commit-config-optional.yaml b/.pre-commit-config-optional.yaml index ff325af5e8..56000d93a8 100644 --- a/.pre-commit-config-optional.yaml +++ b/.pre-commit-config-optional.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/tcort/markdown-link-check - rev: v3.12.2 + rev: v3.13.6 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 cb627ad738..a87ad293fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,16 +1,24 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + +# https://pre-commit.ci/#configuration ci: autofix_commit_msg: "style(pre-commit): autofix" - autoupdate_commit_msg: "ci(pre-commit): autoupdate" + # we already have our own daily update mechanism, we set this to quarterly + autoupdate_schedule: quarterly + autoupdate_commit_msg: "ci(pre-commit): quarterly autoupdate" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-json - id: check-merge-conflict - id: check-toml - id: check-xml - id: check-yaml + args: [--unsafe] - id: detect-private-key - id: end-of-file-fixer - id: mixed-line-ending @@ -18,7 +26,7 @@ repos: args: [--markdown-linebreak-ext=md] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.41.0 + rev: v0.43.0 hooks: - id: markdownlint args: [-c, .markdownlint.yaml, --fix] @@ -49,7 +57,7 @@ repos: - id: shellcheck - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.8.0-1 + rev: v3.10.0-2 hooks: - id: shfmt args: [-w, -s, -i=4] @@ -60,9 +68,42 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.10.0 hooks: - id: black args: [--line-length=100] -exclude: .svg + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v19.1.4 + hooks: + - id: clang-format + types_or: [c++, c, cuda] + + - repo: https://github.com/cpplint/cpplint + rev: 2.0.0 + hooks: + - id: cpplint + args: [--quiet] + exclude: .cu + + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.30.0 + hooks: + - id: check-metaschema + files: ^.+/schema/.*schema\.json$ + + - repo: local + hooks: + - id: prettier-svg + name: prettier svg + description: Apply Prettier with plugin-xml to svg. + entry: prettier --write --list-different --ignore-unknown --print-width 200 --xml-self-closing-space false --xml-whitespace-sensitivity ignore + language: node + files: .svg$ + additional_dependencies: [prettier@2.7.1, "@prettier/plugin-xml@2.2.0"] + + - repo: https://github.com/AleksaC/hadolint-py + rev: v2.12.1b3 + hooks: + - id: hadolint + exclude: .svg$ diff --git a/autoware_launch/autoware_launch.drawio.svg b/autoware_launch/autoware_launch.drawio.svg index aa1735d154..77d9f7795f 100644 --- a/autoware_launch/autoware_launch.drawio.svg +++ b/autoware_launch/autoware_launch.drawio.svg @@ -1,4 +1,1360 @@ -autoware.launch.xmlpackage: autoware_launchautoware.launch.xml...launch namepackage: package namelaunch name...ex:ex:node namepackage: package namenode name...vehicle_info_launch.pypackage: tier4_vehicle_launchvehicle_info_launch.py...vehicle.launch.xmlpackage: tier4_vehicle_launchvehicle.launch.xml...system.launch.xmlpackage: tier4_system_launchsystem.launch.xml...map.launch.pypackage: tier4_map_launchmap.launch.py...localization.launch.xmlpackage: tier4_localization_launchlocalization.launch.xml...perception.launch.xmlpackage: tier4_perception_launchperception.launch.xml...planning.launch.xmlpackage: tier4_planning_launchplanning.launch.xml...control.launch.pypackage: tier4_control_launchcontrol.launch.py...awapi_awiv_adapter.launch.xmlpackage: tier4_control_launchawapi_awiv_adapter.launch.xml...web_controller.launch.xmlpackage: tier4_control_launchweb_controller.launch.xml...clock_publisher.launch.xmlpackage: tier4_control_launchclock_publisher.launch.xml...rviz2package: rviz2rviz2...planning_simulator.xmlpackage: autoware_launchplanning_simulator.xml...vehicle_info_launch.pypackage: tier4_vehicle_launchvehicle_info_launch.py...vehicle.launch.xmlpackage: tier4_vehicle_launchvehicle.launch.xml...system.launch.xmlpackage: tier4_system_launchsystem.launch.xml...map.launch.pypackage: tier4_map_launchmap.launch.py...planning.launch.xmlpackage: tier4_planning_launchplanning.launch.xml...control.launch.pypackage: tier4_control_launchcontrol.launch.py...awapi_awiv_adapter.launch.xmlpackage: tier4_control_launchawapi_awiv_adapter.launch.xml...web_controller.launch.xmlpackage: tier4_control_launchweb_controller.launch.xml...clock_publisher.launch.xmlpackage: tier4_control_launchclock_publisher.launch.xml...rviz2package: rviz2rviz2...logging_simulator.launch.xmlpackage: autoware_launchlogging_simulator.launch.xml...vehicle_info_launch.pypackage: tier4_vehicle_launchvehicle_info_launch.py...vehicle_description.launch.xmlpackage: tier4_vehicle_launchvehicle_description.launch.xml...system.launch.xmlpackage: tier4_system_launchsystem.launch.xml...map.launch.pypackage: tier4_map_launchmap.launch.py...perception.launch.xmlpackage: tier4_perception_launchperception.launch.xml...planning.launch.xmlpackage: tier4_planning_launchplanning.launch.xml...control.launch.pypackage: tier4_control_launchcontrol.launch.py...web_controller.launch.xmlpackage: tier4_control_launchweb_controller.launch.xml...rviz2package: rviz2rviz2...$(var vehicle)$(var vehicle)TrueTrue$(var system)$(var system)TrueTrue$(var map)$(var map)TrueTruesensing.launch.xmlpackage: tier4_sensing_launchsensing.launch.xml...sensing.launch.xmlpackage: tier4_sensing_launchsensing.launch.xml...$(var sensing)$(var sensing)TrueTruelocalization.launch.xmlpackage: tier4_localization_launchlocalization.launch.xml...$(var localization)$(var localization)TrueTrue$(var perception)$(var perception)TrueTrue$(var planning)$(var planning)TrueTrue$(var control)$(var control)TrueTruesimulator.launch.xmlpackage: tier4_simulator_launchsimulator.launch.xml...simulator.launch.xmlpackage: tier4_simulator_launchsimulator.launch.xml...Viewer does not support full SVG 1.1 \ No newline at end of file + + + + + + + + + + + autoware.launch.xml + + + + package: autoware_launch + + + + + + autoware.launch.xml... + + + + + + + + + + + + launch name + + + + package: package name + + + + + + launch name... + + + + + + + + + + ex: + + + + + ex: + + + + + + + + + + node name + + + + package: package name + + + + + + node name... + + + + + + + + + + vehicle_info_launch.py + + + + package: tier4_vehicle_launch + + + + + + vehicle_info_launch.py... + + + + + + + + + + vehicle.launch.xml + + + + package: tier4_vehicle_launch + + + + + + vehicle.launch.xml... + + + + + + + + + + + + system.launch.xml + + + + package: tier4_system_launch + + + + + + system.launch.xml... + + + + + + + + + + + + map.launch.py + + + + package: tier4_map_launch + + + + + + map.launch.py... + + + + + + + + + + + + localization.launch.xml + + + + package: tier4_localization_launch + + + + + + localization.launch.xml... + + + + + + + + + + + + perception.launch.xml + + + + package: tier4_perception_launch + + + + + + perception.launch.xml... + + + + + + + + + + + + planning.launch.xml + + + + package: tier4_planning_launch + + + + + + planning.launch.xml... + + + + + + + + + + + + control.launch.py + + + + package: tier4_control_launch + + + + + + control.launch.py... + + + + + + + + + + + + awapi_awiv_adapter.launch.xml + + + + package: tier4_control_launch + + + + + + awapi_awiv_adapter.launch.xml... + + + + + + + + + + + + web_controller.launch.xml + + + + package: tier4_control_launch + + + + + + web_controller.launch.xml... + + + + + + + + + + clock_publisher.launch.xml + + + + package: tier4_control_launch + + + + + + clock_publisher.launch.xml... + + + + + + + + + + + + + + rviz2 + + + + package: rviz2 + + + + + + rviz2... + + + + + + + + + + + + + + planning_simulator.xml + + + + package: autoware_launch + + + + + + planning_simulator.xml... + + + + + + + + + + + + vehicle_info_launch.py + + + + package: tier4_vehicle_launch + + + + + + vehicle_info_launch.py... + + + + + + + + + + vehicle.launch.xml + + + + package: tier4_vehicle_launch + + + + + + vehicle.launch.xml... + + + + + + + + + + + + system.launch.xml + + + + package: tier4_system_launch + + + + + + system.launch.xml... + + + + + + + + + + + + map.launch.py + + + + package: tier4_map_launch + + + + + + map.launch.py... + + + + + + + + + + + + planning.launch.xml + + + + package: tier4_planning_launch + + + + + + planning.launch.xml... + + + + + + + + + + + + control.launch.py + + + + package: tier4_control_launch + + + + + + control.launch.py... + + + + + + + + + + + + awapi_awiv_adapter.launch.xml + + + + package: tier4_control_launch + + + + + + awapi_awiv_adapter.launch.xml... + + + + + + + + + + + + web_controller.launch.xml + + + + package: tier4_control_launch + + + + + + web_controller.launch.xml... + + + + + + + + + + clock_publisher.launch.xml + + + + package: tier4_control_launch + + + + + + clock_publisher.launch.xml... + + + + + + + + + + + + + + rviz2 + + + + package: rviz2 + + + + + + rviz2... + + + + + + + + + + + + + + logging_simulator.launch.xml + + + + package: autoware_launch + + + + + + logging_simulator.launch.xml... + + + + + + + + + + + + vehicle_info_launch.py + + + + package: tier4_vehicle_launch + + + + + + vehicle_info_launch.py... + + + + + + + + + + vehicle_description.launch.xml + + + + package: tier4_vehicle_launch + + + + + + vehicle_description.launch.xml... + + + + + + + + + + + + system.launch.xml + + + + package: tier4_system_launch + + + + + + system.launch.xml... + + + + + + + + + + + + map.launch.py + + + + package: tier4_map_launch + + + + + + map.launch.py... + + + + + + + + + + + + + + perception.launch.xml + + + + package: tier4_perception_launch + + + + + + perception.launch.xml... + + + + + + + + + + + + planning.launch.xml + + + + package: tier4_planning_launch + + + + + + planning.launch.xml... + + + + + + + + + + + + control.launch.py + + + + package: tier4_control_launch + + + + + + control.launch.py... + + + + + + + + + + + + web_controller.launch.xml + + + + package: tier4_control_launch + + + + + + web_controller.launch.xml... + + + + + + + + + + + + rviz2 + + + + package: rviz2 + + + + + + rviz2... + + + + + + + + + + + + $(var vehicle) + + + + + $(var vehicle) + + + + + + + + + + + True + + + + + True + + + + + + + + + + $(var system) + + + + + $(var system) + + + + + + + + + + + True + + + + + True + + + + + + + + + + $(var map) + + + + + $(var map) + + + + + + + + + + + True + + + + + True + + + + + + + + + + sensing.launch.xml + + + + package: tier4_sensing_launch + + + + + + sensing.launch.xml... + + + + + + + + + + + + sensing.launch.xml + + + + package: tier4_sensing_launch + + + + + + sensing.launch.xml... + + + + + + + + + + + + $(var sensing) + + + + + $(var sensing) + + + + + + + + + + + True + + + + + True + + + + + + + + + + localization.launch.xml + + + + package: tier4_localization_launch + + + + + + localization.launch.xml... + + + + + + + + + + $(var localization) + + + + + $(var localization) + + + + + + + + + + + True + + + + + True + + + + + + + + + + $(var perception) + + + + + $(var perception) + + + + + + + + + + + True + + + + + True + + + + + + + + + + $(var planning) + + + + + $(var planning) + + + + + + + + + + + True + + + + + True + + + + + + + + + + $(var control) + + + + + $(var control) + + + + + + + + + + + True + + + + + True + + + + + + + + + + simulator.launch.xml + + + + package: + tier4_simulator_launch + + + + + + simulator.launch.xml... + + + + + + + + + + simulator.launch.xml + + + + package: + tier4_simulator_launch + + + + + + simulator.launch.xml... + + + + + + + Viewer does not support full SVG 1.1 + + + diff --git a/autoware_launch/config/perception/object_recognition/detection/detected_object_validation/obstacle_pointcloud_based_validator.param.yaml b/autoware_launch/config/perception/object_recognition/detection/detected_object_validation/obstacle_pointcloud_based_validator.param.yaml index c0a437a125..fa04c2c632 100644 --- a/autoware_launch/config/perception/object_recognition/detection/detected_object_validation/obstacle_pointcloud_based_validator.param.yaml +++ b/autoware_launch/config/perception/object_recognition/detection/detected_object_validation/obstacle_pointcloud_based_validator.param.yaml @@ -12,5 +12,7 @@ #UNKNOWN, CAR, TRUCK, BUS, TRAILER, MOTORBIKE, BICYCLE, PEDESTRIAN [800.0, 800.0, 800.0, 800.0, 800.0, 800.0, 800.0, 800.0] + validate_max_distance_m: 70.0 # [m] + using_2d_validator: true enable_debugger: false