Skip to content

Commit

Permalink
refactor(shape_estimation): add package name prefix of autoware_ (#7999)
Browse files Browse the repository at this point in the history
* refactor(shape_estimation): add package name prefix of autoware_

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix: mising prefix

Signed-off-by: badai-nguyen <[email protected]>

* fix: cmake

Signed-off-by: badai-nguyen <[email protected]>

---------

Signed-off-by: badai-nguyen <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
badai-nguyen and pre-commit-ci[bot] authored Jul 23, 2024
1 parent 1ee7511 commit 7675b06
Show file tree
Hide file tree
Showing 54 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ perception/occupancy_grid_map_outlier_filter/** [email protected] yoshi.r
perception/probabilistic_occupancy_grid_map/** [email protected] [email protected] [email protected]
perception/radar_tracks_msgs_converter/** [email protected] [email protected] [email protected] [email protected]
perception/autoware_raindrop_cluster_filter/** [email protected] [email protected] [email protected]
perception/shape_estimation/** [email protected] [email protected]
perception/autoware_shape_estimation/** [email protected] [email protected]
perception/simple_object_merger/** [email protected] [email protected] [email protected]
perception/autoware_tensorrt_classifier/** [email protected] [email protected]
perception/tensorrt_yolox/** [email protected] [email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
</group>

<group>
<include file="$(find-pkg-share shape_estimation)/launch/shape_estimation.launch.xml">
<include file="$(find-pkg-share autoware_shape_estimation)/launch/shape_estimation.launch.xml">
<arg name="input/objects" value="clusters"/>
<arg name="output/objects" value="objects_with_feature"/>
</include>
Expand Down Expand Up @@ -222,7 +222,7 @@
<group>
<let name="shape_estimation/input" value="filtered/clusters" if="$(var use_low_intensity_cluster_filter)"/>
<let name="shape_estimation/input" value="clusters" unless="$(var use_low_intensity_cluster_filter)"/>
<include file="$(find-pkg-share shape_estimation)/launch/shape_estimation.launch.xml">
<include file="$(find-pkg-share autoware_shape_estimation)/launch/shape_estimation.launch.xml">
<arg name="input/objects" value="$(var shape_estimation/input)"/>
<arg name="output/objects" value="objects_with_feature"/>
</include>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</group>

<group>
<include file="$(find-pkg-share shape_estimation)/launch/shape_estimation.launch.xml">
<include file="$(find-pkg-share autoware_shape_estimation)/launch/shape_estimation.launch.xml">
<arg name="input/objects" value="labeled_clusters"/>
<arg name="output/objects" value="objects_with_feature"/>
<arg name="use_vehicle_reference_yaw" value="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</group>

<group>
<include file="$(find-pkg-share shape_estimation)/launch/shape_estimation.launch.xml">
<include file="$(find-pkg-share autoware_shape_estimation)/launch/shape_estimation.launch.xml">
<arg name="input/objects" value="clusters"/>
<arg name="output/objects" value="objects_with_feature"/>
</include>
Expand Down
2 changes: 1 addition & 1 deletion launch/tier4_perception_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<exec_depend>autoware_radar_object_clustering</exec_depend>
<exec_depend>autoware_radar_object_tracker</exec_depend>
<exec_depend>autoware_raindrop_cluster_filter</exec_depend>
<exec_depend>autoware_shape_estimation</exec_depend>
<exec_depend>autoware_tracking_object_merger</exec_depend>
<exec_depend>compare_map_segmentation</exec_depend>
<exec_depend>elevation_map_loader</exec_depend>
Expand All @@ -40,7 +41,6 @@
<exec_depend>occupancy_grid_map_outlier_filter</exec_depend>
<exec_depend>pointcloud_to_laserscan</exec_depend>
<exec_depend>probabilistic_occupancy_grid_map</exec_depend>
<exec_depend>shape_estimation</exec_depend>
<exec_depend>topic_tools</exec_depend>
<exec_depend>traffic_light_arbiter</exec_depend>
<exec_depend>traffic_light_classifier</exec_depend>
Expand Down
2 changes: 1 addition & 1 deletion perception/autoware_detection_by_tracker/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<buildtool_depend>eigen3_cmake_module</buildtool_depend>

<depend>autoware_euclidean_cluster</depend>
<depend>autoware_shape_estimation</depend>
<depend>autoware_universe_utils</depend>
<depend>eigen</depend>
<depend>object_recognition_utils</depend>
<depend>rclcpp</depend>
<depend>rclcpp_components</depend>
<depend>shape_estimation</depend>
<depend>tf2</depend>
<depend>tf2_geometry_msgs</depend>
<depend>tf2_ros</depend>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.14)
project(shape_estimation)
project(autoware_shape_estimation)

find_package(autoware_cmake REQUIRED)
autoware_package()
Expand Down Expand Up @@ -54,7 +54,7 @@ target_include_directories(${PROJECT_NAME}
ament_target_dependencies(${PROJECT_NAME} ${SHAPE_ESTIMATION_DEPENDENCIES})

target_link_libraries(${PROJECT_NAME}
shape_estimation_lib
${PROJECT_NAME}_lib
)

rclcpp_components_register_node(${PROJECT_NAME}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# shape_estimation
# autoware_shape_estimation

## Purpose

Expand Down Expand Up @@ -36,7 +36,7 @@ This node calculates a refined object shape (bounding box, cylinder, convex hull

## Parameters

{{ json_to_markdown("perception/autoware/shape_estimation/schema/shape_estimation.schema.json") }}
{{ json_to_markdown("perception/autoware_shape_estimation/schema/shape_estimation.schema.json") }}

## Assumptions / Known limits

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<arg name="output/objects" default="shape_estimated_objects"/>
<arg name="node_name" default="shape_estimation"/>
<!-- Parameter -->
<arg name="config_file" default="$(find-pkg-share shape_estimation)/config/shape_estimation.param.yaml"/>
<arg name="config_file" default="$(find-pkg-share autoware_shape_estimation)/config/shape_estimation.param.yaml"/>

<node pkg="shape_estimation" exec="shape_estimation_node" name="$(var node_name)" output="screen">
<node pkg="autoware_shape_estimation" exec="shape_estimation_node" name="$(var node_name)" output="screen">
<remap from="input" to="$(var input/objects)"/>
<remap from="objects" to="$(var output/objects)"/>
<param from="$(var config_file)"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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>shape_estimation</name>
<name>autoware_shape_estimation</name>
<version>0.1.0</version>
<description>This package implements a shape estimation algorithm as a ROS 2 node</description>
<maintainer email="[email protected]">Yukihiro Saito</maintainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<param name="publish_ground_truth" value="true"/>
<remap from="output/debug/ground_truth_objects" to="debug/ground_truth_objects"/>
</node>
<include file="$(find-pkg-share shape_estimation)/launch/shape_estimation.launch.xml">
<include file="$(find-pkg-share autoware_shape_estimation)/launch/shape_estimation.launch.xml">
<arg name="input/objects" value="/perception/object_recognition/detection/labeled_clusters"/>
<arg name="output/objects" value="/perception/object_recognition/detection/objects_with_feature"/>
</include>
Expand Down

0 comments on commit 7675b06

Please sign in to comment.