Skip to content

Commit 506d16b

Browse files
committed
Merge branch 'main' into feat/operatoin-mode-debug-panel
Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
2 parents df1e2c1 + 57f38b7 commit 506d16b

File tree

2,489 files changed

+210250
-55798
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,489 files changed

+210250
-55798
lines changed

.clang-format

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format
26
Language: Cpp
37
BasedOnStyle: Google

.clang-tidy-ignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*/examples/*

.cppcheck_suppressions

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
checkersReport
44
missingInclude
55
missingIncludeSystem
6-
unknownMacro
76
unmatchedSuppression
87
unusedFunction
98
useInitializationList

.cspell.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"planning/behavior_velocity_planner/autoware_behavior_velocity_intersection_module/scripts/**"
55
],
66
"ignoreRegExpList": [],
7-
"words": ["dltype", "tvmgen", "fromarray", "soblin"]
7+
"words": ["dltype", "tvmgen", "fromarray", "soblin", "brkay54", "libtensorrt"]
88
}

.github/CODEOWNERS

+71-70
Large diffs are not rendered by default.

.github/ISSUE_TEMPLATE/bug.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: Bug
26
description: Report a bug
37
body:

.github/ISSUE_TEMPLATE/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
blank_issues_enabled: false
26
contact_links:
37
- name: Question

.github/ISSUE_TEMPLATE/task.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
name: Task
26
description: Plan a task
37
body:

.github/dependabot.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
version: 2
26
updates:
37
- package-ecosystem: github-actions
48
directory: /
9+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#scheduleinterval
510
schedule:
6-
interval: daily
11+
interval: monthly
712
open-pull-requests-limit: 1
813
labels:
914
- tag:bot

.github/labeler.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,3 @@
4242
"tag:require-cuda-build-and-test":
4343
- perception/**/*
4444
- sensing/**/*
45-
- common/cuda_utils/**/*
46-
- common/tensorrt_common/**/*

.github/stale.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
15
# Modified from https://github.com/probot/stale#usage
26

37
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed

.github/sync-files.yaml

+22-29
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,48 @@
1-
- repository: autowarefoundation/autoware
1+
- repository: autowarefoundation/sync-file-templates
2+
source-dir: sources
23
files:
3-
- source: CODE_OF_CONDUCT.md
4-
- source: CONTRIBUTING.md
5-
- source: DISCLAIMER.md
6-
- source: LICENSE
74
- source: .github/ISSUE_TEMPLATE/bug.yaml
85
- source: .github/ISSUE_TEMPLATE/config.yml
96
- source: .github/ISSUE_TEMPLATE/task.yaml
107
- source: .github/dependabot.yaml
8+
- source: .github/pull_request_template_complex.md
9+
dest: .github/pull_request_template.md
1110
- source: .github/stale.yml
1211
- source: .github/workflows/cancel-previous-workflows.yaml
12+
- source: .github/workflows/check-build-depends.yaml
13+
- source: .github/workflows/clang-tidy-pr-comments.yaml
14+
- source: .github/workflows/clang-tidy-pr-comments-manually.yaml
15+
- source: .github/workflows/comment-on-pr.yaml
16+
- source: .github/workflows/delete-closed-pr-docs.yaml
17+
- source: .github/workflows/deploy-docs.yaml
1318
- source: .github/workflows/github-release.yaml
1419
- source: .github/workflows/pre-commit.yaml
1520
- source: .github/workflows/pre-commit-optional.yaml
21+
- source: .github/workflows/pre-commit-optional-autoupdate.yaml
22+
- source: .github/workflows/pre-commit-autoupdate.yaml
1623
- source: .github/workflows/semantic-pull-request.yaml
1724
- source: .github/workflows/spell-check-differential.yaml
1825
pre-commands: |
1926
sd " with:\n" " with:\n local-cspell-json: .cspell.json\n" {source}
20-
- source: .github/workflows/spell-check-differential.yaml
21-
dest: .github/workflows/spell-check-daily.yaml
27+
- source: .github/workflows/spell-check-daily.yaml
2228
pre-commands: |
23-
sd "spell-check-differential" "spell-check-daily" {source}
24-
sd " with:\n" " with:\n local-cspell-json: .cspell.json\n incremental-files-only: false\n" {source}
25-
sd "on:\n pull_request:\n" "on:\n schedule:\n - cron: 0 0 * * *\n workflow_dispatch:\n" {source}
29+
sd " with:\n" " with:\n local-cspell-json: .cspell.json\n" {source}
2630
- source: .github/workflows/sync-files.yaml
31+
- source: .github/workflows/update-codeowners-from-packages.yaml
32+
- source: docs/assets/js/mathjax.js
2733
- source: .clang-format
2834
- source: .markdown-link-check.json
2935
- source: .markdownlint.yaml
3036
- source: .pre-commit-config-optional.yaml
37+
- source: .pre-commit-config.yaml
3138
- source: .prettierignore
3239
- source: .prettierrc.yaml
3340
- source: .yamllint.yaml
41+
- source: CODE_OF_CONDUCT.md
42+
- source: CONTRIBUTING.md
3443
- source: CPPLINT.cfg
35-
- source: setup.cfg
36-
37-
- repository: autowarefoundation/autoware_common
38-
files:
39-
- source: .github/workflows/clang-tidy-differential.yaml
40-
pre-commands: |
41-
sd 'container: ros:(\w+)' 'container: ghcr.io/autowarefoundation/autoware:latest-autoware-universe-cuda' {source}
42-
- source: .github/workflows/check-build-depends.yaml
43-
- source: .github/workflows/clang-tidy-pr-comments.yaml
44-
- source: .github/workflows/clang-tidy-pr-comments-manually.yaml
45-
- source: .github/workflows/update-codeowners-from-packages.yaml
46-
- source: .pre-commit-config.yaml
47-
- source: codecov.yaml
48-
49-
- repository: autowarefoundation/autoware-documentation
50-
files:
51-
- source: .github/workflows/deploy-docs.yaml
52-
- source: .github/workflows/delete-closed-pr-docs.yaml
44+
- source: DISCLAIMER.md
45+
- source: LICENSE
5346
- source: mkdocs-base.yaml
5447
dest: mkdocs.yaml
5548
pre-commands: |
@@ -63,4 +56,4 @@
6356
" - macros" \
6457
" - macros:
6558
module_name: mkdocs_macros" {source}
66-
- source: docs/assets/js/mathjax.js
59+
- source: setup.cfg

.github/workflows/build-and-test-daily-arm64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- -cuda
2424
include:
2525
- rosdistro: humble
26-
container: ghcr.io/autowarefoundation/autoware:latest-autoware-universe
26+
container: ghcr.io/autowarefoundation/autoware:universe-devel
2727
build-depends-repos: build_depends.repos
2828
steps:
2929
- name: Check out repository

.github/workflows/build-and-test-daily.yaml

+40-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ on:
55
- cron: 0 0 * * *
66
workflow_dispatch:
77

8+
env:
9+
CC: /usr/lib/ccache/gcc
10+
CXX: /usr/lib/ccache/g++
11+
812
jobs:
913
build-and-test-daily:
10-
runs-on: [self-hosted, linux, X64, gpu]
14+
runs-on: [self-hosted, Linux, X64]
1115
container: ${{ matrix.container }}${{ matrix.container-suffix }}
1216
strategy:
1317
fail-fast: false
@@ -19,7 +23,7 @@ jobs:
1923
- -cuda
2024
include:
2125
- rosdistro: humble
22-
container: ghcr.io/autowarefoundation/autoware:latest-autoware-universe
26+
container: ghcr.io/autowarefoundation/autoware:universe-devel
2327
build-depends-repos: build_depends.repos
2428
steps:
2529
- name: Check out repository
@@ -30,13 +34,43 @@ jobs:
3034
- name: Show disk space before the tasks
3135
run: df -h
3236

37+
- name: Show machine specs
38+
run: lscpu && free -h
39+
3340
- name: Remove exec_depend
3441
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
3542

3643
- name: Get self packages
3744
id: get-self-packages
3845
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
3946

47+
- name: Create ccache directory
48+
run: |
49+
mkdir -p ${CCACHE_DIR}
50+
du -sh ${CCACHE_DIR} && ccache -s
51+
shell: bash
52+
53+
- name: Attempt to restore ccache
54+
uses: actions/cache/restore@v4
55+
with:
56+
path: |
57+
/root/.ccache
58+
key: ccache-main-${{ runner.arch }}-${{ matrix.rosdistro }}-${{ github.sha }}
59+
restore-keys: |
60+
ccache-main-${{ runner.arch }}-${{ matrix.rosdistro }}-
61+
62+
- name: Limit ccache size
63+
run: |
64+
rm -f "${CCACHE_DIR}/ccache.conf"
65+
echo -e "# Set maximum cache size\nmax_size = 600MB" >> "${CCACHE_DIR}/ccache.conf"
66+
shell: bash
67+
68+
- name: Show ccache stats before build and reset stats
69+
run: |
70+
du -sh ${CCACHE_DIR} && ccache -s
71+
ccache --zero-stats
72+
shell: bash
73+
4074
- name: Export CUDA state as a variable for adding to cache key
4175
run: |
4276
build_type_cuda_state=nocuda
@@ -56,6 +90,10 @@ jobs:
5690
build-depends-repos: ${{ matrix.build-depends-repos }}
5791
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
5892

93+
- name: Show ccache stats after build
94+
run: du -sh ${CCACHE_DIR} && ccache -s
95+
shell: bash
96+
5997
- name: Test
6098
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
6199
id: test

.github/workflows/build-and-test-differential-arm64.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- -cuda
3434
include:
3535
- rosdistro: humble
36-
container: ghcr.io/autowarefoundation/autoware:latest-autoware-universe
36+
container: ghcr.io/autowarefoundation/autoware:universe-devel
3737
build-depends-repos: build_depends.repos
3838
steps:
3939
- name: Set PR fetch depth
@@ -76,7 +76,7 @@ jobs:
7676
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
7777
build-depends-repos: ${{ matrix.build-depends-repos }}
7878
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
79-
build-pre-command: taskset --cpu-list 0-6
79+
build-pre-command: taskset --cpu-list 0-5
8080

8181
- name: Test
8282
id: test

0 commit comments

Comments
 (0)