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

Merged
merged 87 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from 85 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
fe650db
feat(intersection): check path margin for overshoot vehicles on red l…
soblin Oct 25, 2023
cb02799
fix(goal_planner): change debug polygons to contain the nominal margi…
yuki-takagi-66 Oct 25, 2023
92f78a4
fix(goal_planner): revert "refactor(goal_planner): rebuild state tran…
kosuke55 Oct 25, 2023
ce3db68
fix(lane_change): fix terminal stop distance (#5392)
kosuke55 Oct 25, 2023
aabbe10
refactor(behavior_path_planner): change start planner's variable name…
kyoichi-sugahara Oct 25, 2023
ae5035f
fix(motion_utils): fix build error (#5404)
rej55 Oct 25, 2023
7184808
feat(map_loader): display curbstone as marker array (#4958)
saka1-s Oct 25, 2023
6e60536
refactor(behavior_path_planner): refactor planWithPriority in start_p…
kyoichi-sugahara Oct 25, 2023
d6be0d2
feat(avoidance): add use_conservative_buffer_longitudinal (#5405)
takayuki5168 Oct 25, 2023
5a76057
fix(behavior_path_planner): add guard to extend lane (#5406)
kosuke55 Oct 25, 2023
4eb0d45
feat(map_loader): show intersection areas (#5401)
satoshi-ota Oct 25, 2023
82a6c0c
fix(intersection): yield stuck stop (#5403)
takayuki5168 Oct 25, 2023
801fd0d
fix(goal_planner): fix hasEnoughDistance (#5411)
kosuke55 Oct 26, 2023
98fe02b
feat(radar_tracks_msgs_converter): add an error message and prevent t…
miursh Oct 26, 2023
fdd671f
fix(behavior_path_planner): fix lane extension in getCurrentLanesFrom…
kosuke55 Oct 26, 2023
45792df
feat(AEB): implement parameterized prediction time horizon and interv…
1222-takeshi Oct 26, 2023
64c8ac8
refactor(landmark_based_localizer): refactored landmark_tf_caster (#5…
SakodaShintaro Oct 26, 2023
b4d5d90
refactor(goal_planner): use updateData (#5416)
kosuke55 Oct 26, 2023
f41abb3
feat(goal_planner): calculate stop pose from closest goal candidate (…
kosuke55 Oct 26, 2023
dfc83a0
feat(goal_planner): do not decelerate before path candidates generati…
kosuke55 Oct 26, 2023
a1cbdcb
fix(lane_change): filter objects for skip parking objects (#5419)
rej55 Oct 26, 2023
a995f98
fix(avoidance): calculate road shoulder distance for prev and next la…
satoshi-ota Oct 26, 2023
27f28d6
chore(radar_static_pointcloud_filter): fix copyright (#5316)
scepter914 Oct 26, 2023
e16ebd8
build(tvm_utility): remove download logic from CMake and update docum…
lexavtanke Oct 26, 2023
bfabbca
fix(ekf_localizer): remove unnecessary publishers (#5423)
kminoda Oct 27, 2023
025f2cd
refactor(ekf_localizer): remove current_ekf_pose and so on (#5422)
kminoda Oct 27, 2023
06d27aa
chore: update CODEOWNERS (#5350)
awf-autoware-bot[bot] Oct 27, 2023
4e58c9a
refactor(ekf_localizer): use struct for diag info (#5421)
kminoda Oct 27, 2023
0af019e
fix(goal_planner): visualize stop wall (#5408)
kosuke55 Oct 27, 2023
b97ea6e
build(tracking_object_merger): remove no longer needed nlohmann_json …
esteve Oct 27, 2023
29d34df
fix(system_monitor): output command line (#5430)
takeshi-iwanari Oct 27, 2023
25e8b3f
refactor(goal_planner): rebuild state transition (#5371)" (#5399)" (…
kosuke55 Oct 27, 2023
124dcf4
fix(goal_planner): do not generate path candidates before execution (…
kosuke55 Oct 28, 2023
02b2be9
fix(lane_change): separate backward buffer for blocking object (#5434)
rej55 Oct 29, 2023
0c5abbd
refactor(ar_tag_based_localizer): add test (#5425)
SakodaShintaro Oct 29, 2023
65f0a71
feat(behavior_path_planner): subscribe traffic light recognition resu…
satoshi-ota Oct 30, 2023
6632d79
feat(radar_object_tracker): tune radar object tracker node for untrus…
YoshiRi Oct 30, 2023
2ee44a3
feat(avoidance): improve force avoidance judge logic in order to supp…
satoshi-ota Oct 30, 2023
49af265
fix(behavior_path_planner): fix turn signal endless loop (#5444)
kosuke55 Oct 31, 2023
a194589
chore(intersection): add debug plotter (#5432)
soblin Oct 31, 2023
9628276
fix(avoidance): discard envelope polygon if the objects move long dis…
satoshi-ota Oct 31, 2023
1998880
feat(avoidance): use traffic light signal info (#5395)
satoshi-ota Oct 31, 2023
a2b114d
feat(map_based_prediciton): use orientation reliability in prediction…
YoshiRi Oct 31, 2023
17b02d3
feat(vehicle_cmd_gate): improve debug marker activation (#5426)
1222-takeshi Nov 1, 2023
75f7357
fix(pid_longitudinal_control): not check steering convergence when mo…
TakaHoribe Nov 1, 2023
64e2ab3
feat(system_diagnostic_graph): unify units and add file path substitu…
isamu-takagi Nov 1, 2023
9beb798
fix(simple_planning_simulator): initialize variables (#5460)
TakaHoribe Nov 2, 2023
012de21
fix(planning_validator): not publish diag before data is ready (#5461)
TakaHoribe Nov 2, 2023
4e00bf2
fix(lane_change): stop point activated too early (#5402)
zulfaqar-azmi-t4 Nov 2, 2023
70e3c79
fix(raw_vehicle_cmd_converter): return false if table is empty (#5463)
xmfcx Nov 2, 2023
5fc1bd8
refactor(tier4_planning_launch): use xml style launch (#5448)
satoshi-ota Nov 2, 2023
3caaa34
docs(logger_level_reconfigure): update readme (#5471)
TakaHoribe Nov 2, 2023
477030b
chore(map_loader): update readme (#5468)
kminoda Nov 2, 2023
fc5e41f
ci(sync-files): add mkdocs_macros module (#5475)
xmfcx Nov 2, 2023
b56c721
ci(sync-files): change stale label to type:stale (#5474)
xmfcx Nov 2, 2023
6787bb2
ci(sync-files): change stale label to status:stale (#5474) (#5478)
xmfcx Nov 3, 2023
9f3f89b
chore: sync files (#5216)
awf-autoware-bot[bot] Nov 3, 2023
34ce9a9
ci(pr-labeler): update the labeler.yaml to include "component:" (#5476)
xmfcx Nov 3, 2023
b43178b
ci(pr-labeler): update the labeler.yaml to mark ci and documentation …
xmfcx Nov 3, 2023
7c7bce8
chore: sync files (#5480)
awf-autoware-bot[bot] Nov 3, 2023
726fbd6
ci(openai-pr-reviewer): update the bot label (#5481)
xmfcx Nov 3, 2023
d37f6b3
ci(build-and-test-differential): update the required tag (#5482)
xmfcx Nov 3, 2023
d351ae0
chore: sync files (#5483)
awf-autoware-bot[bot] Nov 3, 2023
e1e9f57
feat(simple_planning_simulator): add steer dead band (#5477)
kosuke55 Nov 4, 2023
ee20545
refactor(mpc_lateral_controller): add debug info of qp solver (#5459)
kyoichi-sugahara Nov 4, 2023
e628971
feat(planning_topic_converter): add new package (#5484)
satoshi-ota Nov 6, 2023
6b0a81f
feat(camera_view_plugin): add camera view plugin package (#5472)
Owen-Liuyuxuan Nov 6, 2023
f952b6e
refactor(tier4_planning_launch): use xml style launch (#5470)
satoshi-ota Nov 6, 2023
c7aa19e
feat(localization): enable logging_level_configure (#5487)
kminoda Nov 6, 2023
b73330b
refactor(ekf_localizer): isolate ekf into independent module (#5424)
kminoda Nov 6, 2023
6b0bbde
feat(ndt_scan_matcher): use glog (#5465)
kminoda Nov 6, 2023
7789be4
Logger level update (#5494)
TakaHoribe Nov 6, 2023
72e96fc
feat(ekf_localizer, system_error_monitor): system_error_monitor handl…
kminoda Nov 7, 2023
f662ac7
chore(planning modules): remove maintainer... (#5458)
kyoichi-sugahara Nov 7, 2023
c9e0b91
refactor(behavior_path_planner): traffic light utils (#5503)
zulfaqar-azmi-t4 Nov 7, 2023
a29c7da
refactor(behavior_path_planner): add const to interface methods (#5497)
kosuke55 Nov 7, 2023
3a70c88
fix(intersection): reduce path lanelet points (#5507)
soblin Nov 7, 2023
55c615c
feat(ndt_scan_matcher): estimate NDT covariance in real-time with lim…
KOKIAOKI Nov 7, 2023
f357bd3
refactor(tier4_planning_launch): use xml style launch (#5502)
satoshi-ota Nov 7, 2023
338e1e4
fix(avoidance): fix avoidance return dead point calculation logic for…
satoshi-ota Nov 7, 2023
60a5d55
feat(eagleye): split fix2pose (#5506)
kminoda Nov 7, 2023
0d929d4
fix(avoidance): fix oncoming vehicle check logic (#5492)
satoshi-ota Nov 7, 2023
eb08ad1
refactor(lane_change): update state log (#5514)
zulfaqar-azmi-t4 Nov 7, 2023
05396ea
fix(lane_change): do not cut abort path (#5509)
rej55 Nov 7, 2023
df0b857
feat(behavior_path_planner): change execution requested condition (#5…
kyoichi-sugahara Nov 7, 2023
d665fcd
Merge remote-tracking branch 'origin/beta/v0.16.0' into sync-upstream
masaharuTakano Nov 8, 2023
eddf914
checkout to awf/main
masaharuTakano Nov 8, 2023
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
2 changes: 1 addition & 1 deletion .cspell-partial.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"perception/bytetrack/lib/**"
],
"ignoreRegExpList": [],
"words": []
"words": ["dltype", "tvmgen", "quantizer", "imageio", "mimsave"]
}
11 changes: 6 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ launch/tier4_system_launch/** [email protected] [email protected]
launch/tier4_vehicle_launch/** [email protected]
localization/ekf_localizer/** [email protected] [email protected] [email protected] [email protected] [email protected]
localization/gyro_odometer/** [email protected] [email protected]
localization/landmark_based_localizer/ar_tag_based_localizer/** [email protected] [email protected]
localization/landmark_based_localizer/landmark_tf_caster/** [email protected] [email protected]
localization/landmark_based_localizer/ar_tag_based_localizer/** [email protected] [email protected] shintaro.sakoda@tier4.jp yamato.ando@tier4.jp
localization/landmark_based_localizer/landmark_parser/** [email protected] [email protected] shintaro.sakoda@tier4.jp yamato.ando@tier4.jp
localization/localization_error_monitor/** [email protected] [email protected] [email protected]
localization/localization_util/** [email protected] [email protected] [email protected] [email protected]
localization/ndt_scan_matcher/** [email protected] [email protected] [email protected] [email protected]
localization/pose2twist/** [email protected] [email protected]
localization/pose_initializer/** [email protected] [email protected] [email protected]
localization/stop_filter/** [email protected] [email protected] [email protected]
localization/tree_structured_parzen_estimator/** [email protected] [email protected] [email protected] [email protected]
localization/twist2accel/** [email protected] [email protected] [email protected]
localization/yabloc/yabloc_common/** [email protected] [email protected]
localization/yabloc/yabloc_image_processing/** [email protected] [email protected]
Expand Down Expand Up @@ -152,7 +154,7 @@ perception/traffic_light_ssd_fine_detector/** [email protected]
perception/traffic_light_visualization/** [email protected]
planning/behavior_path_planner/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
planning/behavior_velocity_blind_spot_module/** [email protected] [email protected] [email protected]
planning/behavior_velocity_crosswalk_module/** [email protected] [email protected] [email protected] [email protected]
planning/behavior_velocity_crosswalk_module/** [email protected] [email protected] [email protected] [email protected] [email protected]
planning/behavior_velocity_detection_area_module/** [email protected] [email protected] [email protected]
planning/behavior_velocity_intersection_module/** [email protected] [email protected] [email protected] [email protected] [email protected]
planning/behavior_velocity_no_drivable_lane_module/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Expand All @@ -179,7 +181,7 @@ planning/obstacle_cruise_planner/** [email protected] [email protected]
planning/obstacle_stop_planner/** [email protected] [email protected] [email protected] [email protected] [email protected]
planning/obstacle_velocity_limiter/** [email protected]
planning/path_smoother/** [email protected] [email protected]
planning/planning_debug_tools/** [email protected] [email protected]
planning/planning_debug_tools/** [email protected] [email protected] [email protected]
planning/planning_test_utils/** [email protected] [email protected]
planning/planning_validator/** [email protected] [email protected]
planning/route_handler/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Expand Down Expand Up @@ -221,7 +223,6 @@ system/emergency_handler/** [email protected]
system/mrm_comfortable_stop_operator/** [email protected]
system/mrm_emergency_stop_operator/** [email protected]
system/system_diagnostic_graph/** [email protected]
system/system_diagnostic_monitor/** [email protected]
system/system_error_monitor/** [email protected]
system/system_monitor/** [email protected] [email protected]
system/topic_state_monitor/** [email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ updates:
interval: daily
open-pull-requests-limit: 1
labels:
- bot
- github-actions
- tag:bot
- type:github-actions
30 changes: 15 additions & 15 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
ci:
"type:ci":
- .github/**/*
- "*.json"
- "*.yaml"
- "*.cfg"
- .clang-format
- .gitignore
- .prettierignore
documentation:
"type:documentation":
- docs/**/*
- "**/*.md"
- "**/*.rst"
- "**/*.jpg"
- "**/*.png"
- "**/*.svg"
common:
"component:common":
- common/**/*
control:
"component:control":
- control/**/*
evaluator:
"component:evaluator":
- evaluator/**/*
launch:
"component:launch":
- launch/**/*
localization:
"component:localization":
- localization/**/*
map:
"component:map":
- map/**/*
perception:
"component:perception":
- perception/**/*
planning:
"component:planning":
- planning/**/*
sensing:
"component:sensing":
- sensing/**/*
simulator:
"component:simulator":
- simulator/**/*
system:
"component:system":
- system/**/*
tools:
"component:tools":
- tools/**/*
vehicle:
"component:vehicle":
- vehicle/**/*
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
daysUntilClose: false

# Label to use when marking as stale
staleLabel: stale
staleLabel: status:stale

# Comment to post when marking as stale
markComment: >
Expand Down
6 changes: 6 additions & 0 deletions .github/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
- source: .github/PULL_REQUEST_TEMPLATE/standard-change.md
- source: .github/dependabot.yaml
- source: .github/stale.yml
pre-commands: |
sd "staleLabel: stale" "staleLabel: status:stale" {source}
- source: .github/workflows/cancel-previous-workflows.yaml
- source: .github/workflows/github-release.yaml
- source: .github/workflows/pre-commit.yaml
Expand Down Expand Up @@ -84,4 +86,8 @@
sd "/edit/main/docs/" "/edit/main/" {source}
sd "docs_dir: .*" "docs_dir: ." {source}
sd "assets/(\w+)" "docs/assets/\$1" {source}
sd -- \
" - macros" \
" - macros:
module_name: mkdocs_macros" {source}
- source: docs/assets/js/mathjax.js
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
prevent-no-label-execution:
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
with:
label: run-build-and-test-differential
label: tag:run-build-and-test-differential

build-and-test-differential:
needs: prevent-no-label-execution
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
prevent-no-label-execution:
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
with:
label: deploy-docs
label: tag:deploy-docs

deploy-docs:
needs: prevent-no-label-execution
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openai-pr-reviewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
prevent-no-label-execution:
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
with:
label: openai-pr-reviewer
label: tag:openai-pr-reviewer
review:
needs: prevent-no-label-execution
if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
with:
token: ${{ steps.generate-token.outputs.token }}
pr-labels: |
bot
sync-files
tag:bot
tag:sync-files
auto-merge-method: squash
4 changes: 2 additions & 2 deletions .github/workflows/update-codeowners-from-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
with:
token: ${{ steps.generate-token.outputs.token }}
pr-labels: |
bot
update-codeowners-from-packages
tag:bot
tag:update-codeowners-from-packages
auto-merge-method: squash
1 change: 0 additions & 1 deletion common/interpolation/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<description>The spline interpolation package</description>
<maintainer email="[email protected]">Fumiya Watanabe</maintainer>
<maintainer email="[email protected]">Takayuki Murooka</maintainer>
<maintainer email="[email protected]">Yutaka Shimizu</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,20 @@ class KalmanFilter
* @brief get current kalman filter state
* @param x kalman filter state
*/
void getX(Eigen::MatrixXd & x);
void getX(Eigen::MatrixXd & x) const;

/**
* @brief get current kalman filter covariance
* @param P kalman filter covariance
*/
void getP(Eigen::MatrixXd & P);
void getP(Eigen::MatrixXd & P) const;

/**
* @brief get component of current kalman filter state
* @param i index of kalman filter state
* @return value of i's component of the kalman filter state x[i]
*/
double getXelement(unsigned int i);
double getXelement(unsigned int i) const;

/**
* @brief calculate kalman filter state and covariance by prediction model with A, B, Q matrix.
Expand Down
6 changes: 3 additions & 3 deletions common/kalman_filter/src/kalman_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ void KalmanFilter::setR(const Eigen::MatrixXd & R)
{
R_ = R;
}
void KalmanFilter::getX(Eigen::MatrixXd & x)
void KalmanFilter::getX(Eigen::MatrixXd & x) const
{
x = x_;
}
void KalmanFilter::getP(Eigen::MatrixXd & P)
void KalmanFilter::getP(Eigen::MatrixXd & P) const
{
P = P_;
}
double KalmanFilter::getXelement(unsigned int i)
double KalmanFilter::getXelement(unsigned int i) const
{
return x_(i);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ class VehicleStopChecker : public VehicleStopCheckerBase

protected:
rclcpp::Subscription<Odometry>::SharedPtr sub_odom_;
Odometry::SharedPtr odometry_ptr_;
Odometry::ConstSharedPtr odometry_ptr_;

private:
static constexpr double velocity_buffer_time_sec = 10.0;
void onOdom(const Odometry::SharedPtr msg);
void onOdom(const Odometry::ConstSharedPtr msg);
};

class VehicleArrivalChecker : public VehicleStopChecker
Expand All @@ -74,9 +74,9 @@ class VehicleArrivalChecker : public VehicleStopChecker

rclcpp::Subscription<Trajectory>::SharedPtr sub_trajectory_;

Trajectory::SharedPtr trajectory_ptr_;
Trajectory::ConstSharedPtr trajectory_ptr_;

void onTrajectory(const Trajectory::SharedPtr msg);
void onTrajectory(const Trajectory::ConstSharedPtr msg);
};
} // namespace motion_utils

Expand Down
2 changes: 0 additions & 2 deletions common/motion_utils/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<name>motion_utils</name>
<version>0.1.0</version>
<description>The motion_utils package</description>
<maintainer email="[email protected]">Yutaka Shimizu</maintainer>
<maintainer email="[email protected]">Satoshi Ota</maintainer>
<maintainer email="[email protected]">Takayuki Murooka</maintainer>
<!-- reviewer-->
Expand All @@ -16,7 +15,6 @@
<maintainer email="[email protected]">Mamoru Sobue</maintainer>
<license>Apache License 2.0</license>

<author email="[email protected]">Yutaka Shimizu</author>
<author email="[email protected]">Takayuki Murooka</author>
<author email="[email protected]">Satoshi Ota</author>

Expand Down
4 changes: 2 additions & 2 deletions common/motion_utils/src/vehicle/vehicle_state_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ VehicleStopChecker::VehicleStopChecker(rclcpp::Node * node)
std::bind(&VehicleStopChecker::onOdom, this, _1));
}

void VehicleStopChecker::onOdom(const Odometry::SharedPtr msg)
void VehicleStopChecker::onOdom(const Odometry::ConstSharedPtr msg)
{
odometry_ptr_ = msg;

Expand Down Expand Up @@ -128,7 +128,7 @@ bool VehicleArrivalChecker::isVehicleStoppedAtStopPoint(const double stop_durati
th_arrived_distance_m;
}

void VehicleArrivalChecker::onTrajectory(const Trajectory::SharedPtr msg)
void VehicleArrivalChecker::onTrajectory(const Trajectory::ConstSharedPtr msg)
{
trajectory_ptr_ = msg;
}
Expand Down
1 change: 0 additions & 1 deletion common/tier4_autoware_utils/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<description>The tier4_autoware_utils package</description>
<maintainer email="[email protected]">Takamasa Horibe</maintainer>
<maintainer email="[email protected]">Takayuki Murooka</maintainer>
<maintainer email="[email protected]">Yutaka Shimizu</maintainer>
<maintainer email="[email protected]">Mamoru Sobue</maintainer>
<license>Apache License 2.0</license>

Expand Down
30 changes: 30 additions & 0 deletions common/tier4_camera_view_rviz_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
cmake_minimum_required(VERSION 3.14)
project(tier4_camera_view_rviz_plugin)

find_package(autoware_cmake REQUIRED)
autoware_package()

find_package(Qt5 REQUIRED Core Widgets)
set(QT_LIBRARIES Qt5::Widgets)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
add_compile_options(-Wno-unused-parameter)
endif()

ament_auto_add_library(${PROJECT_NAME} SHARED
src/third_person_view_controller.cpp
src/third_person_view_tool.cpp
src/bird_eye_view_tool.cpp
src/bird_eye_view_controller.cpp
)

target_link_libraries(${PROJECT_NAME}
${QT_LIBRARIES}
)

pluginlib_export_plugin_description_file(rviz_common plugins/plugin_description.xml)

ament_auto_package(INSTALL_TO_SHARE icons)
9 changes: 9 additions & 0 deletions common/tier4_camera_view_rviz_plugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# tier4_camera_view_rviz_plugin

## ThirdPersonView Tool

Add the `tier4_camera_view_rviz_plugin/ThirdPersonViewTool` tool to the RViz. Push the button, the camera will focus on the vehicle and set the target frame to `base_link`. Short cut key 'o'.

## BirdEyeView Tool

Add the `tier4_camera_view_rviz_plugin/BirdEyeViewTool` tool to the RViz. Push the button, the camera will turn to the BEV view, the target frame is consistent with the latest frame. Short cut key 'r'.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions common/tier4_camera_view_rviz_plugin/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>tier4_camera_view_rviz_plugin</name>
<version>0.0.0</version>
<description>The autoware camera view rviz plugin package</description>
<maintainer email="[email protected]">Yuxuan Liu</maintainer>
<maintainer email="[email protected]">Makoto Yabuta</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>

<depend>autoware_ad_api_specs</depend>
<depend>component_interface_utils</depend>
<depend>geometry_msgs</depend>
<depend>libqt5-core</depend>
<depend>libqt5-gui</depend>
<depend>libqt5-widgets</depend>
<depend>rclcpp</depend>
<depend>rviz_common</depend>
<depend>rviz_default_plugins</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>

<export>
<build_type>ament_cmake</build_type>
<rviz plugin="${prefix}/plugins/plugin_description.xml"/>
</export>
</package>
Loading