Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync upstream #39

Merged
merged 58 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
3bca407
ci(pre-commit): clear the exclude option (#426)
kenji-miyake Apr 18, 2022
155eda4
chore: sync files (#724)
awf-autoware-bot[bot] Apr 18, 2022
22e0ef5
fix(behavior_path_planner): additional buffer during lane change for …
zulfaqar-azmi-t4 Apr 18, 2022
a031650
fix(map_loader): map_loader package not working in UTM coordinates (#…
meliketanrikulu Apr 18, 2022
106166e
fix(multi_object_tracker): fix for unknown object (#715)
yukkysaito Apr 18, 2022
b2f90a0
fix(interpolation): implementation of template function to header (#698)
HiroIshida Apr 19, 2022
02ebf0b
feat: change ogm default launch (#735)
yukkysaito Apr 20, 2022
bad563d
feat: update trajectory visualizer (#737)
tkimura4 Apr 21, 2022
38941ac
fix(motion_velocity_smoother): add stop decel parameter (#739)
purewater0901 Apr 21, 2022
09cd14a
fix(behavior_velocity): calculate detection area from the nearest poi…
TomohitoAndo Apr 21, 2022
26a252e
fix(longitudinal_controller_node, vehicle_cmd_gate): update stopped c…
satoshi-ota Apr 21, 2022
6667f2b
docs(autoware_testing): fix link (#741)
esteve Apr 21, 2022
63033e9
fix: trajectory visualizer (#745)
tkimura4 Apr 21, 2022
632178e
fix(tier4_autoware_utils): modify build error in rolling (#720)
wep21 Apr 21, 2022
572410f
fix(behavior_velocity): handle the case when finding index failed (#746)
TomohitoAndo Apr 21, 2022
e5d93c4
chore: fix typos (#751)
kenji-miyake Apr 21, 2022
a96cbd0
ci(sync-files): sync github-release.yaml (#753)
kenji-miyake Apr 21, 2022
8312715
chore: sync files (#754)
awf-autoware-bot[bot] Apr 22, 2022
32502db
fix: ignore cross_line in turn signal judge (#748)
tkimura4 Apr 22, 2022
5653ae4
fix: add pure_pursuit as lateral controller into launch files (#750)
brkay54 Apr 22, 2022
c5c531c
fix: set correct frameid to transformed_cloud (#734)
storrrrrrrrm Apr 22, 2022
ae8422b
fix(occlusion_spot): fix spell check failure for interp (#766)
h-ohta Apr 23, 2022
55a1101
feat(tier4_planning_rviz_plugins): add vehicle_info to *FootprintDisp…
kenji-miyake Apr 23, 2022
3552060
fix(emergency_handler): add missing timestamp for emergency control c…
shmpwk Apr 23, 2022
9985aab
fix(dummy_diag_publisher): modify build error in rolling (#760)
wep21 Apr 24, 2022
091031d
fix(accel_brake_map_calibrator): modify build error in rolling (#755)
wep21 Apr 24, 2022
ca720a3
fix(behavior_path_planner): modify build error in rolling (#756)
wep21 Apr 24, 2022
ffb9b33
fix(control_performance_analysis): modify build error in rolling (#757)
wep21 Apr 24, 2022
7b26d77
fix(dummy_perception_publisher): modify build error in rolling (#761)
wep21 Apr 24, 2022
429bc07
fix(costmap_generator): modify build error in rolling (#758)
wep21 Apr 24, 2022
9ffe6ff
fix(freespace_planning_algorithms): modify build error in rolling (#774)
wep21 Apr 24, 2022
a13a214
fix(detected_object_validation): modify build error in rolling (#759)
wep21 Apr 24, 2022
84f0a06
fix(autoware_auto_tf2): modify build error in rolling (#718)
wep21 Apr 24, 2022
12c6492
fix(ad_service_state_monitor): modify build error in rolling (#716)
wep21 Apr 24, 2022
5e9ab8c
fix(image_projection_based_fusion): modify build error in rolling (#775)
wep21 Apr 24, 2022
a453c23
fix(fault_injection): modify build error in rolling (#762)
wep21 Apr 24, 2022
e35e31c
fix(map_loader): modify build error in rolling (#777)
wep21 Apr 24, 2022
3570765
fix(multi_object_tracker): modify build error in rolling (#785)
wep21 Apr 25, 2022
cf682f3
fix(map_based_prediction): modify build error in rolling (#784)
wep21 Apr 25, 2022
c871de4
fix(freespace_planner): modify build error in rolling (#781)
wep21 Apr 25, 2022
ced5c0d
fix(elevation_map_loader): modify build error in rolling (#780)
wep21 Apr 25, 2022
28fe2bb
fix(lidar_centerpoint): modify build error in rolling (#783)
wep21 Apr 25, 2022
86a3ef8
fix(map_tf_generator): modify build error in rolling (#778)
wep21 Apr 25, 2022
ad492f8
fix(osqp_interface): modify build error in rolling (#776)
wep21 Apr 25, 2022
fb1a588
fix(probabilistic_occupancy_grid_map): modify build error in rolling …
wep21 Apr 25, 2022
c242ff5
fix(obstacle_stop_planner): modify build error in rolling (#787)
wep21 Apr 25, 2022
299430a
fix(obstacle_collision_checker): modify build error in rolling (#786)
wep21 Apr 25, 2022
2af223e
fix(system_monitor): modify build error in rolling (#788)
wep21 Apr 25, 2022
30a0f2b
fix(pure_pursuit): modify build error in rolling (#790)
wep21 Apr 25, 2022
b91a7fa
fix(tier4_perception_rviz_plugin): modify build error in rolling (#791)
wep21 Apr 25, 2022
cf13680
fix(had_map_utils): modify build error in rolling (#782)
wep21 Apr 25, 2022
977ba71
fix: modify build error of ndt related packages in rolling (#793)
wep21 Apr 25, 2022
1ba025f
fix(tier4_pcl_extensions): modify build error in rolling (#795)
wep21 Apr 25, 2022
b03d565
feat(planning_error_monitor): read params from yaml (#792)
kazuki527 Apr 25, 2022
cb47f42
fix(gnss_poser): modify build error in rolling (#801)
wep21 Apr 25, 2022
d1e290e
fix(shape_estimaion): modify build error in rolling (#802)
wep21 Apr 25, 2022
7919b56
fix(trajectory_follower): modify build error in rolling (#803)
wep21 Apr 25, 2022
80007ed
fix(obstacle_collision_checker): fix bug with filterPointCloudByTraje…
maxime-clem Apr 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- source: .github/PULL_REQUEST_TEMPLATE/standard-change.md
- source: .github/dependabot.yaml
- source: .github/stale.yml
- source: .github/workflows/github-release.yaml
- source: .github/workflows/pre-commit.yaml
- source: .github/workflows/pre-commit-optional.yaml
- source: .github/workflows/semantic-pull-request.yaml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy-pr-comments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
cp /tmp/clang-tidy-result/fixes.yaml fixes.yaml

- name: Run clang-tidy-pr-comments action
uses: platisd/clang-tidy-pr-comments@1.1.6
uses: platisd/clang-tidy-pr-comments@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
clang_tidy_fixes: fixes.yaml
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/github-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
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: Release to GitHub
run: |
gh release create "${{ 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 }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ repos:
args: [--quiet]
exclude: .cu

exclude: .svg|control/trajectory_follower|control/trajectory_follower_nodes|common/autoware_auto_cmake|common/autoware_auto_common|common/autoware_auto_geometry|common/autoware_auto_tf2|common/autoware_testing|common/fake_test_node|common/had_map_utils|common/motion_common|common/motion_testing|common/time_utils|common/vehicle_constants_manager|common/autoware_auto_perception_rviz_plugin|common/osqp_interface|simulator/simple_planning_simulator|planning/freespace_planner|planning/astar_search|planning/costmap_generator
exclude: .svg
22 changes: 10 additions & 12 deletions common/autoware_auto_cmake/design/autoware_auto_cmake-design.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
autoware_auto_cmake {#autoware-auto-cmake-design}
===========
# autoware_auto_cmake {#autoware-auto-cmake-design}

This is the design document for the `autoware_auto_cmake` package.


# Purpose
## Purpose

Provide common CMake variables and functions to Autoware packages.

Expand All @@ -13,17 +11,17 @@ Those include:
- Setting the language standard
- Getting user-provided variables
- Providing functions to:
+ set compiler flags
+ turn off optimizations
- set compiler flags
- turn off optimizations

# Design
## Design

## Usage
### Usage

Add `autoware_auto_cmake` as a "build_depend" in the dependent packages.

### CMake variables {#cmake-config-variables}
#### CMake variables {#cmake-config-variables}

|Name|Type|Descritpion|Default|
|----|----|-----------|-------|
|`DOWNLOAD_ARTIFACTS`|*BOOL*|Allow downloading artifacts at build time.|`OFF`|
| Name | Type | Descritpion | Default |
| -------------------- | ------ | ------------------------------------------ | ------- |
| `DOWNLOAD_ARTIFACTS` | _BOOL_ | Allow downloading artifacts at build time. | `OFF` |
4 changes: 2 additions & 2 deletions common/autoware_auto_cmake/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

<build_depend>ros_environment</build_depend>

<buildtool_export_depend>ament_cmake_core</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_lint_cmake</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_copyright</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_core</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_cppcheck</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_cpplint</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_lint_cmake</buildtool_export_depend>
<buildtool_export_depend>ament_cmake_uncrustify</buildtool_export_depend>

<test_depend>ament_cmake_lint_cmake</test_depend>
Expand Down
32 changes: 16 additions & 16 deletions common/autoware_auto_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ if(BUILD_TESTING)
# Temporarily disable cpplint and uncrustify
list(APPEND AMENT_LINT_AUTO_EXCLUDE
ament_cmake_cpplint
ament_cmake_uncrustify
)

ament_lint_auto_find_test_dependencies()
Expand All @@ -46,27 +45,28 @@ if(BUILD_TESTING)
find_package(ament_cmake_cpplint)
ament_cpplint(${FILES_MINUS_SOME})

# Re-enable uncrustify
find_package(ament_cmake_uncrustify)
ament_uncrustify(${FILES_MINUS_SOME})

# Unit tests
set(TEST_COMMON test_common_gtest)
ament_add_gtest(${TEST_COMMON}
test/gtest_main.cpp
test/test_bool_comparisons.cpp
test/test_byte_reader.cpp
test/test_float_comparisons.cpp
test/test_mahalanobis_distance.cpp
test/test_message_field_adapters.cpp
test/test_template_utils.cpp
test/test_angle_utils.cpp
test/test_type_name.cpp
test/test_type_traits.cpp)
test/gtest_main.cpp
test/test_bool_comparisons.cpp
test/test_byte_reader.cpp
test/test_float_comparisons.cpp
test/test_mahalanobis_distance.cpp
test/test_message_field_adapters.cpp
test/test_template_utils.cpp
test/test_angle_utils.cpp
test/test_type_name.cpp
test/test_type_traits.cpp
)
autoware_set_compile_options(${TEST_COMMON})
target_compile_options(${TEST_COMMON} PRIVATE -Wno-sign-conversion)
target_include_directories(${TEST_COMMON} PRIVATE include)
ament_target_dependencies(${TEST_COMMON} builtin_interfaces Eigen3)
ament_target_dependencies(${TEST_COMMON}
builtin_interfaces
Eigen3
geometry_msgs
)
endif()

# Ament Exporting
Expand Down
17 changes: 8 additions & 9 deletions common/autoware_auto_common/design/comparisons.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Comparisons {#helper-comparisons}
===========
# Comparisons {#helper-comparisons}

The `float_comparisons.hpp` library is a simple set of functions for performing approximate numerical comparisons.
There are separate functions for performing comparisons using absolute bounds and relative bounds. Absolute comparison checks are prefixed with `abs_` and relative checks are prefixed with `rel_`.
Expand All @@ -8,19 +7,19 @@ The `bool_comparisons.hpp` library additionally contains an XOR operator.

The intent of the library is to improve readability of code and reduce likelihood of typographical errors when using numerical and boolean comparisons.

# Target use cases
## Target use cases

The approximate comparisons are intended to be used to check whether two numbers lie within some absolute or relative interval.
The `exclusive_or` function will test whether two values cast to different boolean values.

# Assumptions
## Assumptions

* The approximate comparisons all take an `epsilon` parameter.
The value of this parameter must be >= 0.
* The library is only intended to be used with floating point types.
A static assertion will be thrown if the library is used with a non-floating point type.
- The approximate comparisons all take an `epsilon` parameter.
The value of this parameter must be >= 0.
- The library is only intended to be used with floating point types.
A static assertion will be thrown if the library is used with a non-floating point type.

# Example Usage
## Example Usage

```c++
#include "common/bool_comparisons.hpp"
Expand Down
Loading