Skip to content

Commit 0c4479f

Browse files
Merge pull request #1403 from tier4/beta-to-tier4-main-sync
chore: sync beta branch beta/v0.30.0 with tier4/main
2 parents e2e3bce + 4e18b80 commit 0c4479f

File tree

851 files changed

+83985
-78218
lines changed

Some content is hidden

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

851 files changed

+83985
-78218
lines changed

.cppcheck_suppressions

+4-30
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,33 @@
1-
arrayIndexThenCheck
2-
assignBoolToFloat
1+
*:*/test/*
2+
33
checkersReport
4-
constParameterPointer
54
constParameterReference
6-
constStatement
7-
constVariable
8-
constVariablePointer
95
constVariableReference
10-
containerOutOfBounds
6+
// cspell: ignore cstyle
117
cstyleCast
12-
ctuOneDefinitionRuleViolation
13-
current_deleted_index
14-
duplicateAssignExpression
15-
duplicateBranch
16-
duplicateBreak
17-
duplicateCondition
18-
duplicateExpression
198
funcArgNamesDifferent
209
functionConst
2110
functionStatic
2211
invalidPointerCast
2312
knownConditionTrueFalse
2413
missingInclude
2514
missingIncludeSystem
26-
multiCondition
2715
noConstructor
2816
noExplicitConstructor
2917
noValidConfiguration
30-
obstacle_cruise_planner
3118
passedByValue
3219
preprocessorErrorDirective
33-
redundantAssignment
34-
redundantContinue
35-
redundantIfRemove
3620
redundantInitialization
37-
returnByReference
38-
selfAssignment
39-
shadowArgument
4021
shadowFunction
4122
shadowVariable
42-
stlFindInsert
43-
syntaxError
23+
// cspell: ignore uninit
4424
uninitMemberVar
4525
unknownMacro
4626
unmatchedSuppression
47-
unpreciseMathCall
4827
unreadVariable
49-
unsignedLessThanZero
5028
unusedFunction
51-
unusedScopedObject
5229
unusedStructMember
53-
unusedVariable
5430
useInitializationList
5531
useStlAlgorithm
56-
uselessCallsSubstr
57-
uselessOverride
5832
variableScope
5933
virtualCallInConstructor

.github/CODEOWNERS

+40-55
Large diffs are not rendered by default.

.github/PULL_REQUEST_TEMPLATE.md

-8
This file was deleted.

.github/PULL_REQUEST_TEMPLATE/small-change.md

-44
This file was deleted.

.github/PULL_REQUEST_TEMPLATE/standard-change.md

-63
This file was deleted.

.github/cppcheck-problem-matcher.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "cppcheck",
5+
"pattern": [
6+
{
7+
"regexp": "^([^:]+):(\\d+):(\\d*):\\s(style|portability|performance|warning|error):\\s(.*)$",
8+
"file": 1,
9+
"line": 2,
10+
"column": 3,
11+
"message": 5
12+
}
13+
]
14+
}
15+
]
16+
}

.github/pull_request_template.md

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
## Description
2+
3+
## Related links
4+
5+
**Parent Issue:**
6+
7+
- Link
8+
9+
<!-- ⬇️🟢
10+
**Private Links:**
11+
12+
- [CompanyName internal link]()
13+
⬆️🟢 -->
14+
15+
## How was this PR tested?
16+
17+
## Notes for reviewers
18+
19+
None.
20+
21+
## Interface changes
22+
23+
None.
24+
25+
<!-- ⬇️🔴
26+
27+
### Topic changes
28+
29+
#### Additions and removals
30+
31+
| Change type | Topic Type | Topic Name | Message Type | Description |
32+
|:--------------|:----------------|:--------------|:--------------------|:------------------|
33+
| Added/Removed | Pub/Sub/Srv/Cli | `/topic_name` | `std_msgs/String` | Topic description |
34+
35+
#### Modifications
36+
37+
| Version | Topic Type | Topic Name | Message Type | Description |
38+
|:--------|:----------------|:------------------|:--------------------|:------------------|
39+
| Old | Pub/Sub/Srv/Cli | `/old_topic_name` | `sensor_msgs/Image` | Topic description |
40+
| New | Pub/Sub/Srv/Cli | `/new_topic_name` | `sensor_msgs/Image` | Topic description |
41+
42+
### ROS Parameter Changes
43+
44+
#### Additions and removals
45+
46+
| Change type | Parameter Name | Type | Default Value | Description |
47+
|:--------------|:---------------|:---------|:--------------|:------------------|
48+
| Added/Removed | `param_name` | `double` | `1.0` | Param description |
49+
50+
#### Modifications
51+
52+
| Version | Parameter Name | Type | Default Value | Description |
53+
|:--------|:-----------------|:---------|:--------------|:------------------|
54+
| Old | `old_param_name` | `double` | `1.0` | Param description |
55+
| New | `new_param_name` | `double` | `1.0` | Param description |
56+
57+
🔴⬆️ -->
58+
59+
## Effects on system behavior
60+
61+
None.

.github/sync-files.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
- source: .github/ISSUE_TEMPLATE/bug.yaml
88
- source: .github/ISSUE_TEMPLATE/config.yml
99
- source: .github/ISSUE_TEMPLATE/task.yaml
10-
- source: .github/PULL_REQUEST_TEMPLATE.md
11-
- source: .github/PULL_REQUEST_TEMPLATE/small-change.md
12-
- source: .github/PULL_REQUEST_TEMPLATE/standard-change.md
1310
- source: .github/dependabot.yaml
1411
- source: .github/stale.yml
1512
- source: .github/workflows/cancel-previous-workflows.yaml

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

+12
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,24 @@ jobs:
3737
id: get-self-packages
3838
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
3939

40+
- name: Export CUDA state as a variable for adding to cache key
41+
run: |
42+
build_type_cuda_state=nocuda
43+
if [[ "${{ matrix.container-suffix }}" == "-cuda" ]]; then
44+
build_type_cuda_state=cuda
45+
fi
46+
echo "BUILD_TYPE_CUDA_STATE=$build_type_cuda_state" >> "${GITHUB_ENV}"
47+
echo "::notice::BUILD_TYPE_CUDA_STATE=$build_type_cuda_state"
48+
shell: bash
49+
4050
- name: Build
4151
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
4252
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
4353
with:
4454
rosdistro: ${{ matrix.rosdistro }}
4555
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
4656
build-depends-repos: ${{ matrix.build-depends-repos }}
57+
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
4758

4859
- name: Test
4960
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
@@ -62,6 +73,7 @@ jobs:
6273
fail_ci_if_error: false
6374
verbose: true
6475
flags: total-arm64
76+
token: ${{ secrets.CODECOV_TOKEN }}
6577

6678
- name: Show disk space after the tasks
6779
run: df -h

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

+12
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,24 @@ jobs:
3737
id: get-self-packages
3838
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
3939

40+
- name: Export CUDA state as a variable for adding to cache key
41+
run: |
42+
build_type_cuda_state=nocuda
43+
if [[ "${{ matrix.container-suffix }}" == "-cuda" ]]; then
44+
build_type_cuda_state=cuda
45+
fi
46+
echo "BUILD_TYPE_CUDA_STATE=$build_type_cuda_state" >> "${GITHUB_ENV}"
47+
echo "::notice::BUILD_TYPE_CUDA_STATE=$build_type_cuda_state"
48+
shell: bash
49+
4050
- name: Build
4151
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
4252
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
4353
with:
4454
rosdistro: ${{ matrix.rosdistro }}
4555
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
4656
build-depends-repos: ${{ matrix.build-depends-repos }}
57+
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
4758

4859
- name: Test
4960
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
@@ -62,6 +73,7 @@ jobs:
6273
fail_ci_if_error: false
6374
verbose: true
6475
flags: total
76+
token: ${{ secrets.CODECOV_TOKEN }}
6577

6678
- name: Show disk space after the tasks
6779
run: df -h

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

+12
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,24 @@ jobs:
5151
id: get-modified-packages
5252
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
5353

54+
- name: Export CUDA state as a variable for adding to cache key
55+
run: |
56+
build_type_cuda_state=nocuda
57+
if [[ "${{ matrix.container-suffix }}" == "-cuda" ]]; then
58+
build_type_cuda_state=cuda
59+
fi
60+
echo "BUILD_TYPE_CUDA_STATE=$build_type_cuda_state" >> "${GITHUB_ENV}"
61+
echo "::notice::BUILD_TYPE_CUDA_STATE=$build_type_cuda_state"
62+
shell: bash
63+
5464
- name: Build
5565
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
5666
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
5767
with:
5868
rosdistro: ${{ matrix.rosdistro }}
5969
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
6070
build-depends-repos: ${{ matrix.build-depends-repos }}
71+
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
6172

6273
- name: Test
6374
id: test
@@ -76,6 +87,7 @@ jobs:
7687
fail_ci_if_error: false
7788
verbose: true
7889
flags: differential-arm64
90+
token: ${{ secrets.CODECOV_TOKEN }}
7991

8092
- name: Show disk space after the tasks
8193
run: df -h

0 commit comments

Comments
 (0)