Skip to content

Commit 8418ae9

Browse files
feat: apply autoware_ prefix for perception_online_evaluator (#9956)
* feat(perception_online_evaluator): apply `autoware_` prefix (see below): * In this commit, I did not organize a folder structure. The folder structure will be organized in the next some commits. * The changes will follow the Autoware's guideline as below: - https://autowarefoundation.github.io/autoware-documentation/main/contributing/coding-guidelines/ros-nodes/directory-structure/#package-folder Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * bug(perception_online_evaluator): remove duplicated properties * It seems the `motion_evaluator` is defined and used in the `autoware_planning_evaluator` Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * rename(perception_online_evaluator): move headers under `include/autoware`: * Fixes due to this changes for .hpp/.cpp files will be applied in the next commit Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * fix(perception_online_evaluator): fix include paths * To follow the previous commit Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * rename: `perception_online_evaluator` => `autoware_perception_online_evaluator` Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * style(pre-commit): autofix * bug(autoware_perception_online_evaluator): revert wrongly updated copyright Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * bug(autoware_perception_online_evaluator): `autoware_` prefix is not needed here Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * update: `CODEOWNERS` Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> * bug(autoware_perception_online_evaluator): fix a wrong package name Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> --------- Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d03152b commit 8418ae9

30 files changed

+121
-132
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ evaluator/autoware_control_evaluator/** daniel.sanchez@tier4.jp kosuke.takeuchi@
5151
evaluator/autoware_planning_evaluator/** kyoichi.sugahara@tier4.jp maxime.clement@tier4.jp temkei.kem@tier4.jp
5252
evaluator/kinematic_evaluator/** dominik.jargot@robotec.ai fumiya.watanabe@tier4.jp satoshi.ota@tier4.jp shumpei.wakabayashi@tier4.jp takamasa.horibe@tier4.jp takayuki.murooka@tier4.jp tomoya.kimura@tier4.jp
5353
evaluator/localization_evaluator/** anh.nguyen.2@tier4.jp dominik.jargot@robotec.ai koji.minoda@tier4.jp masahiro.sakamoto@tier4.jp shintaro.sakoda@tier4.jp taiki.yamada@tier4.jp yamato.ando@tier4.jp
54-
evaluator/perception_online_evaluator/** fumiya.watanabe@tier4.jp kosuke.takeuchi@tier4.jp kotaro.uetake@tier4.jp kyoichi.sugahara@tier4.jp shunsuke.miura@tier4.jp yoshi.ri@tier4.jp
54+
evaluator/autoware_perception_online_evaluator/** fumiya.watanabe@tier4.jp kosuke.takeuchi@tier4.jp kotaro.uetake@tier4.jp kyoichi.sugahara@tier4.jp shunsuke.miura@tier4.jp yoshi.ri@tier4.jp junya.sasaki@tier4.jp
5555
evaluator/scenario_simulator_v2_adapter/** kyoichi.sugahara@tier4.jp maxime.clement@tier4.jp takamasa.horibe@tier4.jp temkei.kem@tier4.jp
5656
launch/tier4_autoware_api_launch/** isamu.takagi@tier4.jp ryohsuke.mitsudome@tier4.jp
5757
launch/tier4_control_launch/** takamasa.horibe@tier4.jp takayuki.murooka@tier4.jp
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
cmake_minimum_required(VERSION 3.14)
2+
project(autoware_perception_online_evaluator)
3+
4+
find_package(autoware_cmake REQUIRED)
5+
autoware_package()
6+
7+
find_package(pluginlib REQUIRED)
8+
9+
ament_auto_add_library(${PROJECT_NAME} SHARED
10+
src/metrics_calculator.cpp
11+
src/perception_online_evaluator_node.cpp
12+
src/metrics/deviation_metrics.cpp
13+
src/metrics/detection_count.cpp
14+
src/utils/marker_utils.cpp
15+
src/utils/objects_filtering.cpp
16+
)
17+
18+
rclcpp_components_register_node(${PROJECT_NAME}
19+
PLUGIN "autoware::perception_diagnostics::PerceptionOnlineEvaluatorNode"
20+
EXECUTABLE ${PROJECT_NAME}_node
21+
)
22+
23+
target_link_libraries(${PROJECT_NAME} glog::glog)
24+
25+
if(BUILD_TESTING)
26+
ament_add_ros_isolated_gtest(test_perception_online_evaluator_node
27+
test/test_perception_online_evaluator_node.cpp
28+
TIMEOUT 300
29+
)
30+
target_link_libraries(test_perception_online_evaluator_node
31+
${PROJECT_NAME}
32+
)
33+
endif()
34+
35+
ament_auto_package(
36+
INSTALL_TO_SHARE
37+
param
38+
launch
39+
)

evaluator/perception_online_evaluator/include/perception_online_evaluator/metrics/detection_count.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/metrics/detection_count.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__METRICS__DETECTION_COUNT_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__METRICS__DETECTION_COUNT_HPP_
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__DETECTION_COUNT_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__DETECTION_COUNT_HPP_
1717

18-
#include "perception_online_evaluator/parameters.hpp"
18+
#include "autoware/perception_online_evaluator/parameters.hpp"
1919
#include "tf2_ros/buffer.h"
2020

2121
#include <rclcpp/rclcpp.hpp>
@@ -32,7 +32,7 @@
3232
#include <unordered_map>
3333
#include <vector>
3434

35-
namespace perception_diagnostics
35+
namespace autoware::perception_diagnostics
3636
{
3737
namespace metrics
3838
{
@@ -143,6 +143,6 @@ class DetectionCounter
143143
seen_uuids_;
144144
};
145145
} // namespace metrics
146-
} // namespace perception_diagnostics
146+
} // namespace autoware::perception_diagnostics
147147

148-
#endif // PERCEPTION_ONLINE_EVALUATOR__METRICS__DETECTION_COUNT_HPP_
148+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__DETECTION_COUNT_HPP_

evaluator/perception_online_evaluator/include/perception_online_evaluator/metrics/deviation_metrics.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/metrics/deviation_metrics.hpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__METRICS__DEVIATION_METRICS_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__METRICS__DEVIATION_METRICS_HPP_
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__DEVIATION_METRICS_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__DEVIATION_METRICS_HPP_
1717

1818
#include <autoware_perception_msgs/msg/predicted_path.hpp>
1919
#include <geometry_msgs/msg/pose.hpp>
2020

2121
#include <vector>
2222

23-
namespace perception_diagnostics
23+
namespace autoware::perception_diagnostics
2424
{
2525
namespace metrics
2626
{
@@ -44,6 +44,6 @@ double calcLateralDeviation(const std::vector<Pose> & ref_path, const Pose & tar
4444
double calcYawDeviation(const std::vector<Pose> & ref_path, const Pose & target_pose);
4545

4646
} // namespace metrics
47-
} // namespace perception_diagnostics
47+
} // namespace autoware::perception_diagnostics
4848

49-
#endif // PERCEPTION_ONLINE_EVALUATOR__METRICS__DEVIATION_METRICS_HPP_
49+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__DEVIATION_METRICS_HPP_

evaluator/perception_online_evaluator/include/perception_online_evaluator/metrics/metric.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/metrics/metric.hpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__METRICS__METRIC_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__METRICS__METRIC_HPP_
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__METRIC_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__METRIC_HPP_
1717

1818
#include "autoware/universe_utils/math/accumulator.hpp"
1919

@@ -23,7 +23,7 @@
2323
#include <variant>
2424
#include <vector>
2525

26-
namespace perception_diagnostics
26+
namespace autoware::perception_diagnostics
2727
{
2828
/**
2929
* @brief Enumeration of trajectory metrics
@@ -90,6 +90,6 @@ static struct CheckCorrectMaps
9090
} check;
9191

9292
} // namespace details
93-
} // namespace perception_diagnostics
93+
} // namespace autoware::perception_diagnostics
9494

95-
#endif // PERCEPTION_ONLINE_EVALUATOR__METRICS__METRIC_HPP_
95+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS__METRIC_HPP_

evaluator/perception_online_evaluator/include/perception_online_evaluator/metrics_calculator.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/metrics_calculator.hpp

+11-11
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__METRICS_CALCULATOR_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__METRICS_CALCULATOR_HPP_
17-
18-
#include "perception_online_evaluator/metrics/detection_count.hpp"
19-
#include "perception_online_evaluator/metrics/deviation_metrics.hpp"
20-
#include "perception_online_evaluator/metrics/metric.hpp"
21-
#include "perception_online_evaluator/parameters.hpp"
22-
#include "perception_online_evaluator/utils/objects_filtering.hpp"
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS_CALCULATOR_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS_CALCULATOR_HPP_
17+
18+
#include "autoware/perception_online_evaluator/metrics/detection_count.hpp"
19+
#include "autoware/perception_online_evaluator/metrics/deviation_metrics.hpp"
20+
#include "autoware/perception_online_evaluator/metrics/metric.hpp"
21+
#include "autoware/perception_online_evaluator/parameters.hpp"
22+
#include "autoware/perception_online_evaluator/utils/objects_filtering.hpp"
2323
#include "tf2_ros/buffer.h"
2424

2525
#include <rclcpp/time.hpp>
@@ -38,7 +38,7 @@
3838
#include <utility>
3939
#include <vector>
4040

41-
namespace perception_diagnostics
41+
namespace autoware::perception_diagnostics
4242
{
4343
using autoware_perception_msgs::msg::PredictedObject;
4444
using autoware_perception_msgs::msg::PredictedObjects;
@@ -160,6 +160,6 @@ class MetricsCalculator
160160

161161
}; // class MetricsCalculator
162162

163-
} // namespace perception_diagnostics
163+
} // namespace autoware::perception_diagnostics
164164

165-
#endif // PERCEPTION_ONLINE_EVALUATOR__METRICS_CALCULATOR_HPP_
165+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__METRICS_CALCULATOR_HPP_

evaluator/perception_online_evaluator/include/perception_online_evaluator/parameters.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/parameters.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__PARAMETERS_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__PARAMETERS_HPP_
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__PARAMETERS_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__PARAMETERS_HPP_
1717

18-
#include "perception_online_evaluator/metrics/metric.hpp"
18+
#include "autoware/perception_online_evaluator/metrics/metric.hpp"
1919

2020
#include <unordered_map>
2121
#include <vector>
2222

23-
namespace perception_diagnostics
23+
namespace autoware::perception_diagnostics
2424
{
2525
/**
2626
* @brief Enumeration of perception metrics
@@ -64,6 +64,6 @@ struct Parameters
6464
std::unordered_map<uint8_t, ObjectParameter> object_parameters;
6565
};
6666

67-
} // namespace perception_diagnostics
67+
} // namespace autoware::perception_diagnostics
6868

69-
#endif // PERCEPTION_ONLINE_EVALUATOR__PARAMETERS_HPP_
69+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__PARAMETERS_HPP_

evaluator/perception_online_evaluator/include/perception_online_evaluator/perception_online_evaluator_node.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/perception_online_evaluator_node.hpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__PERCEPTION_ONLINE_EVALUATOR_NODE_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__PERCEPTION_ONLINE_EVALUATOR_NODE_HPP_
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__PERCEPTION_ONLINE_EVALUATOR_NODE_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__PERCEPTION_ONLINE_EVALUATOR_NODE_HPP_
1717

18+
#include "autoware/perception_online_evaluator/metrics_calculator.hpp"
19+
#include "autoware/perception_online_evaluator/parameters.hpp"
1820
#include "autoware/universe_utils/math/accumulator.hpp"
19-
#include "perception_online_evaluator/metrics_calculator.hpp"
20-
#include "perception_online_evaluator/parameters.hpp"
2121
#include "rclcpp/rclcpp.hpp"
2222
#include "tf2_ros/buffer.h"
2323
#include "tf2_ros/transform_listener.h"
@@ -34,7 +34,7 @@
3434
#include <string>
3535
#include <vector>
3636

37-
namespace perception_diagnostics
37+
namespace autoware::perception_diagnostics
3838
{
3939
using autoware::universe_utils::Accumulator;
4040
using autoware_perception_msgs::msg::ObjectClassification;
@@ -108,6 +108,6 @@ class PerceptionOnlineEvaluatorNode : public rclcpp::Node
108108
// Debug
109109
void publishDebugMarker();
110110
};
111-
} // namespace perception_diagnostics
111+
} // namespace autoware::perception_diagnostics
112112

113-
#endif // PERCEPTION_ONLINE_EVALUATOR__PERCEPTION_ONLINE_EVALUATOR_NODE_HPP_
113+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__PERCEPTION_ONLINE_EVALUATOR_NODE_HPP_

evaluator/perception_online_evaluator/include/perception_online_evaluator/utils/marker_utils.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/utils/marker_utils.hpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__UTILS__MARKER_UTILS_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__UTILS__MARKER_UTILS_HPP_
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__UTILS__MARKER_UTILS_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__UTILS__MARKER_UTILS_HPP_
1717

1818
#include <autoware_vehicle_info_utils/vehicle_info.hpp>
1919

@@ -27,7 +27,7 @@
2727
#include <string>
2828
#include <vector>
2929

30-
namespace marker_utils
30+
namespace autoware::perception_diagnostics::marker_utils
3131
{
3232

3333
using autoware::universe_utils::Polygon2d;
@@ -77,6 +77,6 @@ MarkerArray createDeviationLines(
7777
const std::vector<Pose> & poses1, const std::vector<Pose> & poses2, const std::string & ns,
7878
const int32_t & first_id, const float r, const float g, const float b);
7979

80-
} // namespace marker_utils
80+
} // namespace autoware::perception_diagnostics::marker_utils
8181

82-
#endif // PERCEPTION_ONLINE_EVALUATOR__UTILS__MARKER_UTILS_HPP_
82+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__UTILS__MARKER_UTILS_HPP_

evaluator/perception_online_evaluator/include/perception_online_evaluator/utils/objects_filtering.hpp evaluator/autoware_perception_online_evaluator/include/autoware/perception_online_evaluator/utils/objects_filtering.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#ifndef PERCEPTION_ONLINE_EVALUATOR__UTILS__OBJECTS_FILTERING_HPP_
16-
#define PERCEPTION_ONLINE_EVALUATOR__UTILS__OBJECTS_FILTERING_HPP_
15+
#ifndef AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__UTILS__OBJECTS_FILTERING_HPP_
16+
#define AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__UTILS__OBJECTS_FILTERING_HPP_
1717

18-
#include "perception_online_evaluator/parameters.hpp"
18+
#include "autoware/perception_online_evaluator/parameters.hpp"
1919

2020
#include <autoware_perception_msgs/msg/object_classification.hpp>
2121
#include <autoware_perception_msgs/msg/predicted_object.hpp>
@@ -31,7 +31,7 @@
3131
* most of this file is copied from objects_filtering.hpp in safety_check of behavior_path_planner
3232
*/
3333

34-
namespace perception_diagnostics
34+
namespace autoware::perception_diagnostics
3535
{
3636

3737
using autoware_perception_msgs::msg::ObjectClassification;
@@ -170,6 +170,6 @@ PredictedObjects filterObjectsByVelocity(
170170
PredictedObjects filterObjectsByVelocity(
171171
const PredictedObjects & objects, double velocity_threshold, double max_velocity);
172172

173-
} // namespace perception_diagnostics
173+
} // namespace autoware::perception_diagnostics
174174

175-
#endif // PERCEPTION_ONLINE_EVALUATOR__UTILS__OBJECTS_FILTERING_HPP_
175+
#endif // AUTOWARE__PERCEPTION_ONLINE_EVALUATOR__UTILS__OBJECTS_FILTERING_HPP_

evaluator/perception_online_evaluator/launch/perception_online_evaluator.launch.xml evaluator/autoware_perception_online_evaluator/launch/perception_online_evaluator.launch.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
<!-- perception evaluator -->
55
<group>
6-
<node name="perception_online_evaluator" exec="perception_online_evaluator" pkg="perception_online_evaluator">
7-
<param from="$(find-pkg-share perception_online_evaluator)/param/perception_online_evaluator.defaults.yaml"/>
6+
<node pkg="autoware_perception_online_evaluator" exec="autoware_perception_online_evaluator_node">
7+
<param from="$(find-pkg-share autoware_perception_online_evaluator)/param/perception_online_evaluator.defaults.yaml"/>
88
<remap from="~/input/objects" to="$(var input/objects)"/>
99
<remap from="~/metrics" to="/perception/perception_online_evaluator/metrics"/>
1010
<remap from="~/markers" to="/perception/perception_online_evaluator/markers"/>

evaluator/perception_online_evaluator/package.xml evaluator/autoware_perception_online_evaluator/package.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
4-
<name>perception_online_evaluator</name>
4+
<name>autoware_perception_online_evaluator</name>
55
<version>0.40.0</version>
66
<description>ROS 2 node for evaluating perception</description>
77
<maintainer email="fumiya.watanabe@tier4.jp">Fumiya Watanabe</maintainer>
@@ -10,6 +10,7 @@
1010
<maintainer email="kyoichi.sugahara@tier4.jp">Kyoichi Sugahara</maintainer>
1111
<maintainer email="shunsuke.miura@tier4.jp">Shunsuke Miura</maintainer>
1212
<maintainer email="yoshi.ri@tier4.jp">Yoshi Ri</maintainer>
13+
<maintainer email="junya.sasaki@tier4.jp">Junya Sasaki</maintainer>
1314
<license>Apache License 2.0</license>
1415

1516
<author email="kosuke.takeuchi@tier4.jp">Kosuke Takeuchi</author>

evaluator/perception_online_evaluator/src/metrics/detection_count.cpp evaluator/autoware_perception_online_evaluator/src/metrics/detection_count.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "perception_online_evaluator/metrics/detection_count.hpp"
15+
#include "autoware/perception_online_evaluator/metrics/detection_count.hpp"
1616

1717
#include "autoware/object_recognition_utils/object_recognition_utils.hpp"
18+
#include "autoware/perception_online_evaluator/utils/objects_filtering.hpp"
1819
#include "autoware/universe_utils/geometry/geometry.hpp"
19-
#include "perception_online_evaluator/utils/objects_filtering.hpp"
2020

2121
#include <autoware/universe_utils/ros/uuid_helper.hpp>
2222

@@ -25,7 +25,7 @@
2525
#include <unordered_map>
2626
#include <vector>
2727

28-
namespace perception_diagnostics
28+
namespace autoware::perception_diagnostics
2929
{
3030
namespace metrics
3131
{
@@ -236,4 +236,4 @@ void DetectionCounter::purgeOldRecords(rclcpp::Time current_time)
236236
}
237237
}
238238
} // namespace metrics
239-
} // namespace perception_diagnostics
239+
} // namespace autoware::perception_diagnostics

evaluator/perception_online_evaluator/src/metrics/deviation_metrics.cpp evaluator/autoware_perception_online_evaluator/src/metrics/deviation_metrics.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "perception_online_evaluator/metrics/deviation_metrics.hpp"
15+
#include "autoware/perception_online_evaluator/metrics/deviation_metrics.hpp"
1616

1717
#include "autoware/universe_utils/geometry/geometry.hpp"
1818
#include "autoware/universe_utils/geometry/pose_deviation.hpp"
@@ -21,7 +21,7 @@
2121

2222
#include <vector>
2323

24-
namespace perception_diagnostics
24+
namespace autoware::perception_diagnostics
2525
{
2626
namespace metrics
2727
{
@@ -50,4 +50,4 @@ double calcYawDeviation(const std::vector<Pose> & ref_path, const Pose & target_
5050
}
5151

5252
} // namespace metrics
53-
} // namespace perception_diagnostics
53+
} // namespace autoware::perception_diagnostics

0 commit comments

Comments
 (0)