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 #195

Merged
merged 24 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
08f5eaf
fix(default_ad_api): fix adapi web server creates two nodes (#2404)
isamu-takagi Nov 30, 2022
1b77bba
fix(behavior_path_planner): use SUCCESS instead of IDLE when onExit …
kosuke55 Nov 30, 2022
8e13ced
fix(behavior_path): remove refineGoal which is never executed from th…
kosuke55 Nov 30, 2022
a85643f
refactor(ekf_localizer): remove the prediction function to improve re…
IshitaTakeshi Nov 30, 2022
03de605
feat: add tensorrt_yolox package (#2370)
manato Nov 30, 2022
96c9b48
fix: skip building tensorrt yolox packages if cuda is not found (#2412)
wep21 Dec 1, 2022
19a0039
feat(radar_static_pointcloud_filter): add radar_static_pointcloud_fil…
scepter914 Dec 1, 2022
d4e7418
chore(tier4_map_launch): add maintainers (#2416)
kminoda Dec 1, 2022
11ffb5c
fix(ekf_localizer): lowpass filter initialization (#2402)
kminoda Dec 1, 2022
99f7920
chore: update CODEOWNERS (#2415)
awf-autoware-bot[bot] Dec 1, 2022
8bbc505
feat(map_loader): add partial map loading interface in pointcloud_map…
kminoda Dec 1, 2022
a02830a
chore(tensorrt_yolox): add ignorefile (#2419)
satoshi-ota Dec 1, 2022
a7270a8
fix(behavior_path_planner): apply resampling with spline around a goa…
mkuri Dec 1, 2022
17f1b95
chore(system_monitor): add maintainer (#2420)
ito-san Dec 1, 2022
7aa9314
fix(obstacle_avoidance_planner): add guard for failed optimized traje…
takayuki5168 Dec 1, 2022
35b0dfb
fix(behavior_path_planner): fix lane change path validation (#2421)
rej55 Dec 1, 2022
00fdc47
feat(tier4_planning_rviz_plugin): add offset from baselink param (#2384)
TakaHoribe Dec 1, 2022
96652f9
feat(tier4_localization_rviz_plugin): add pose history footprint (#2387)
TakaHoribe Dec 1, 2022
e8ee044
ci: remove Galactic CI workflows (#2408)
kenji-miyake Dec 1, 2022
3aca1ea
revert: revert "ci(build-and-test-differential): disable no-cuda test…
kenji-miyake Dec 1, 2022
baa5a95
ci(build_depends.repos): remove grid_map (#2429)
kenji-miyake Dec 1, 2022
4623388
feat(radar_scan_to_pointcloud2): add radar_scan_to_pointcloud2 packag…
scepter914 Dec 1, 2022
c2f47b2
feat(tier4_perception_launch): add centerpoint_vs_centerpoint-tiny la…
YueChuCheng Dec 1, 2022
40aa7e3
feat(behavior_path_planner): update path when object is gone (#2314)
ismetatabay Dec 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ common/autoware_testing/** adam.dabrowski@robotec.ai @autowarefoundation/autowar
common/bag_time_manager_rviz_plugin/** taiki.tanaka@tier4.jp @autowarefoundation/autoware-global-codeowners
common/component_interface_specs/** isamu.takagi@tier4.jp kahhooi.tan@tier4.jp kenji.miyake@tier4.jp makoto.yabuta@tier4.jp @autowarefoundation/autoware-global-codeowners
common/component_interface_utils/** isamu.takagi@tier4.jp kahhooi.tan@tier4.jp kenji.miyake@tier4.jp makoto.yabuta@tier4.jp @autowarefoundation/autoware-global-codeowners
common/cuda_utils/** daisuke.nishimatsu@tier4.jp manato.hirabayashi@tier4.jp @autowarefoundation/autoware-global-codeowners
common/fake_test_node/** opensource@apex.ai @autowarefoundation/autoware-global-codeowners
common/global_parameter_loader/** kenji.miyake@tier4.jp @autowarefoundation/autoware-global-codeowners
common/goal_distance_calculator/** taiki.tanaka@tier4.jp @autowarefoundation/autoware-global-codeowners
Expand All @@ -24,6 +25,7 @@ common/perception_utils/** satoshi.tanaka@tier4.jp shunsuke.miura@tier4.jp takay
common/polar_grid/** yukihiro.saito@tier4.jp @autowarefoundation/autoware-global-codeowners
common/rtc_manager_rviz_plugin/** taiki.tanaka@tier4.jp @autowarefoundation/autoware-global-codeowners
common/signal_processing/** ali.boyali@tier4.jp takayuki.murooka@tier4.jp @autowarefoundation/autoware-global-codeowners
common/tensorrt_common/** daisuke.nishimatsu@tier4.jp manato.hirabayashi@tier4.jp @autowarefoundation/autoware-global-codeowners
common/tier4_api_utils/** isamu.takagi@tier4.jp kahhooi.tan@tier4.jp kenji.miyake@tier4.jp makoto.yabuta@tier4.jp @autowarefoundation/autoware-global-codeowners
common/tier4_autoware_utils/** kenji.miyake@tier4.jp takamasa.horibe@tier4.jp @autowarefoundation/autoware-global-codeowners
common/tier4_calibration_rviz_plugin/** tomoya.kimura@tier4.jp @autowarefoundation/autoware-global-codeowners
Expand Down Expand Up @@ -59,7 +61,7 @@ evaluator/localization_evaluator/** dominik.jargot@robotec.ai @autowarefoundatio
launch/tier4_autoware_api_launch/** isamu.takagi@tier4.jp kahhooi.tan@tier4.jp kenji.miyake@tier4.jp makoto.yabuta@tier4.jp ryohsuke.mitsudome@tier4.jp @autowarefoundation/autoware-global-codeowners
launch/tier4_control_launch/** takamasa.horibe@tier4.jp @autowarefoundation/autoware-global-codeowners
launch/tier4_localization_launch/** yamato.ando@tier4.jp @autowarefoundation/autoware-global-codeowners
launch/tier4_map_launch/** ryohsuke.mitsudome@tier4.jp @autowarefoundation/autoware-global-codeowners
launch/tier4_map_launch/** koji.minoda@tier4.jp ryohsuke.mitsudome@tier4.jp ryu.yamamoto@tier4.jp @autowarefoundation/autoware-global-codeowners
launch/tier4_perception_launch/** shunsuke.miura@tier4.jp yukihiro.saito@tier4.jp @autowarefoundation/autoware-global-codeowners
launch/tier4_planning_launch/** fumiya.watanabe@tier4.jp kosuke.takeuchi@tier4.jp kyoichi.sugahara@tier4.jp makoto.kurihara@tier4.jp mamoru.sobue@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp taiki.tanaka@tier4.jp takamasa.horibe@tier4.jp takayuki.murooka@tier4.jp tomohito.ando@tier4.jp tomoya.kimura@tier4.jp yutaka.shimizu@tier4.jp zulfaqar.azmi@tier4.jp @autowarefoundation/autoware-global-codeowners
launch/tier4_sensing_launch/** yukihiro.saito@tier4.jp @autowarefoundation/autoware-global-codeowners
Expand Down Expand Up @@ -104,6 +106,7 @@ perception/radar_fusion_to_detected_object/** satoshi.tanaka@tier4.jp shunsuke.m
perception/radar_tracks_msgs_converter/** satoshi.tanaka@tier4.jp shunsuke.miura@tier4.jp @autowarefoundation/autoware-global-codeowners
perception/shape_estimation/** yukihiro.saito@tier4.jp @autowarefoundation/autoware-global-codeowners
perception/tensorrt_yolo/** daisuke.nishimatsu@tier4.jp @autowarefoundation/autoware-global-codeowners
perception/tensorrt_yolox/** daisuke.nishimatsu@tier4.jp manato.hirabayashi@tier4.jp @autowarefoundation/autoware-global-codeowners
perception/traffic_light_classifier/** yukihiro.saito@tier4.jp @autowarefoundation/autoware-global-codeowners
perception/traffic_light_map_based_detector/** yukihiro.saito@tier4.jp @autowarefoundation/autoware-global-codeowners
perception/traffic_light_ssd_fine_detector/** daisuke.nishimatsu@tier4.jp @autowarefoundation/autoware-global-codeowners
Expand Down Expand Up @@ -137,6 +140,7 @@ sensing/image_transport_decompressor/** yukihiro.saito@tier4.jp @autowarefoundat
sensing/imu_corrector/** yamato.ando@tier4.jp @autowarefoundation/autoware-global-codeowners
sensing/livox/livox_tag_filter/** kenji.miyake@tier4.jp @autowarefoundation/autoware-global-codeowners
sensing/pointcloud_preprocessor/** abrahammonrroy@yahoo.com shunsuke.miura@tier4.jp yukihiro.saito@tier4.jp @autowarefoundation/autoware-global-codeowners
sensing/radar_static_pointcloud_filter/** satoshi.tanaka@tier4.jp shunsuke.miura@tier4.jp @autowarefoundation/autoware-global-codeowners
sensing/radar_threshold_filter/** satoshi.tanaka@tier4.jp shunsuke.miura@tier4.jp @autowarefoundation/autoware-global-codeowners
sensing/tier4_pcl_extensions/** ryu.yamamoto@tier4.jp @autowarefoundation/autoware-global-codeowners
sensing/vehicle_velocity_converter/** ryu.yamamoto@tier4.jp @autowarefoundation/autoware-global-codeowners
Expand Down
8 changes: 2 additions & 6 deletions .github/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
- source: .github/workflows/build-and-test.yaml
pre-commands: |
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
sd -f ms '(rosdistro: humble.*?build-depends-repos): build_depends.repos' '$1: build_depends.humble.repos' {source}

sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
sd -- \
Expand All @@ -46,12 +45,12 @@
- source: .github/workflows/build-and-test-differential.yaml
pre-commands: |
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
sd -f ms '(rosdistro: humble.*?build-depends-repos): build_depends.repos' '$1: build_depends.humble.repos' {source}

sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
sd -- \
" include:" \
" container-suffix:
- \"\"
- -cuda
include:" {source}

Expand All @@ -60,18 +59,17 @@
- source: .github/workflows/build-and-test-differential-self-hosted.yaml
pre-commands: |
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
sd -f ms '(rosdistro: humble.*?build-depends-repos): build_depends.repos' '$1: build_depends.humble.repos' {source}

sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
sd -- \
" include:" \
" container-suffix:
- \"\"
- -cuda
include:" {source}
- source: .github/workflows/build-and-test-self-hosted.yaml
pre-commands: |
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
sd -f ms '(rosdistro: humble.*?build-depends-repos): build_depends.repos' '$1: build_depends.humble.repos' {source}

sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
sd -- \
Expand All @@ -81,8 +79,6 @@
- -cuda
include:" {source}
- source: .github/workflows/check-build-depends.yaml
pre-commands: |
sd -f ms '(rosdistro: humble.*?build-depends-repos): build_depends.repos' '$1: build_depends.humble.repos' {source}
- source: .github/workflows/clang-tidy-pr-comments.yaml
- source: .github/workflows/clang-tidy-pr-comments-manually.yaml
- source: .github/workflows/update-codeowners-from-packages.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,14 @@ jobs:
fail-fast: false
matrix:
rosdistro:
- galactic
- humble
container-suffix:
- ""
- -cuda
include:
- rosdistro: galactic
container: ghcr.io/autowarefoundation/autoware-universe:galactic-latest
build-depends-repos: build_depends.repos
- rosdistro: humble
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
build-depends-repos: build_depends.humble.repos
build-depends-repos: build_depends.repos
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@ jobs:
fail-fast: false
matrix:
rosdistro:
- galactic
- humble
container-suffix:
- ""
- -cuda
include:
- rosdistro: galactic
container: ghcr.io/autowarefoundation/autoware-universe:galactic-latest
build-depends-repos: build_depends.repos
- rosdistro: humble
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
build-depends-repos: build_depends.humble.repos
build-depends-repos: build_depends.repos
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -94,4 +91,4 @@ jobs:
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
build-depends-repos: build_depends.humble.repos
build-depends-repos: build_depends.repos
6 changes: 1 addition & 5 deletions .github/workflows/build-and-test-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,14 @@ jobs:
fail-fast: false
matrix:
rosdistro:
- galactic
- humble
container-suffix:
- ""
- -cuda
include:
- rosdistro: galactic
container: ghcr.io/autowarefoundation/autoware-universe:galactic-latest
build-depends-repos: build_depends.repos
- rosdistro: humble
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
build-depends-repos: build_depends.humble.repos
build-depends-repos: build_depends.repos
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,14 @@ jobs:
fail-fast: false
matrix:
rosdistro:
- galactic
- humble
container-suffix:
- ""
- -cuda
include:
- rosdistro: galactic
container: ghcr.io/autowarefoundation/autoware-universe:galactic-latest
build-depends-repos: build_depends.repos
- rosdistro: humble
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
build-depends-repos: build_depends.humble.repos
build-depends-repos: build_depends.repos
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/check-build-depends.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ jobs:
fail-fast: false
matrix:
rosdistro:
- galactic
- humble
include:
- rosdistro: galactic
container: ros:galactic
build-depends-repos: build_depends.repos
- rosdistro: humble
container: ros:humble
build-depends-repos: build_depends.humble.repos
build-depends-repos: build_depends.repos
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
43 changes: 0 additions & 43 deletions build_depends.humble.repos

This file was deleted.

4 changes: 0 additions & 4 deletions build_depends.repos
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ repositories:
type: git
url: https://github.com/tier4/tier4_autoware_msgs.git
version: tier4/universe
universe/external/grid_map:
type: git
url: https://github.com/ANYbotics/grid_map.git
version: ba2f9cb6e62f7ee9c5bac7401391a211e442e459
universe/external/mussp:
type: git
url: https://github.com/tier4/muSSP.git
Expand Down
27 changes: 27 additions & 0 deletions common/cuda_utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
cmake_minimum_required(VERSION 3.5)
project(cuda_utils)

find_package(autoware_cmake REQUIRED)
autoware_package()

find_package(CUDA)

if(NOT ${CUDA_FOUND})
message(WARNING "cuda is not found, so the cuda_utils package won't be built.")
return()
endif()

install(
DIRECTORY include/${PROJECT_NAME}/
DESTINATION include/${PROJECT_NAME}
)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

ament_export_include_directories(include)
ament_export_dependencies(CUDA)

ament_auto_package()
44 changes: 44 additions & 0 deletions common/cuda_utils/include/cuda_utils/cuda_check_error.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
// Copyright 2022 Tier IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This code is licensed under CC0 1.0 Universal (Public Domain).
// You can use this without any limitation.
// https://creativecommons.org/publicdomain/zero/1.0/deed.en
// borrowed from https://proc-cpuinfo.fixstars.com/2019/02/cuda_smart_pointer/

#ifndef CUDA_UTILS__CUDA_CHECK_ERROR_HPP_
#define CUDA_UTILS__CUDA_CHECK_ERROR_HPP_

#include <cuda_runtime_api.h>

#include <sstream>
#include <stdexcept>

namespace cuda_utils
{
template <typename F, typename N>
void cuda_check_error(const ::cudaError_t e, F && f, N && n)
{
if (e != ::cudaSuccess) {
std::stringstream s;
s << ::cudaGetErrorName(e) << " (" << e << ")@" << f << "#L" << n << ": "
<< ::cudaGetErrorString(e);
throw std::runtime_error{s.str()};
}
}
} // namespace cuda_utils

#define CHECK_CUDA_ERROR(e) (cuda_utils::cuda_check_error(e, __FILE__, __LINE__))

#endif // CUDA_UTILS__CUDA_CHECK_ERROR_HPP_
Loading