Skip to content

Commit 848b7f8

Browse files
committed
build(tier4_perception_rviz_plugin): fix namespace for downstream dependencies of autoware_dummy_perception_publisher
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent 47d4a95 commit 848b7f8

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

common/tier4_perception_rviz_plugin/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ The DeleteAllObjectsTool deletes the dummy cars, pedestrians, and obstacles disp
1515

1616
### Output
1717

18-
| Name | Type | Description |
19-
| ---------------------------------------------------- | ----------------------------------------- | ----------------------------------------------- |
20-
| `/simulation/dummy_perception_publisher/object_info` | `dummy_perception_publisher::msg::Object` | The topic on which to publish dummy object info |
18+
| Name | Type | Description |
19+
| ---------------------------------------------------- | -------------------------------------------------- | ----------------------------------------------- |
20+
| `/simulation/dummy_perception_publisher/object_info` | `autoware_dummy_perception_publisher::msg::Object` | The topic on which to publish dummy object info |
2121

2222
## Parameter
2323

common/tier4_perception_rviz_plugin/src/tools/car_pose.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ namespace rviz_plugins
5555

5656
using autoware_auto_perception_msgs::msg::ObjectClassification;
5757
using autoware_auto_perception_msgs::msg::Shape;
58-
using dummy_perception_publisher::msg::Object;
58+
using autoware_dummy_perception_publisher::msg::Object;
5959

6060
class CarInitialPoseTool : public InteractiveObjectTool
6161
{

common/tier4_perception_rviz_plugin/src/tools/delete_all_objects.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,23 @@ void DeleteAllObjectsTool::onInitialize()
7373
void DeleteAllObjectsTool::updateTopic()
7474
{
7575
rclcpp::Node::SharedPtr raw_node = context_->getRosNodeAbstraction().lock()->get_raw_node();
76-
dummy_object_info_pub_ = raw_node->create_publisher<dummy_perception_publisher::msg::Object>(
76+
dummy_object_info_pub_ = raw_node->create_publisher<autoware_dummy_perception_publisher::msg::Object>(
7777
topic_property_->getStdString(), 1);
7878
clock_ = raw_node->get_clock();
7979
}
8080

8181
void DeleteAllObjectsTool::onPoseSet(
8282
[[maybe_unused]] double x, [[maybe_unused]] double y, [[maybe_unused]] double theta)
8383
{
84-
dummy_perception_publisher::msg::Object output_msg;
84+
autoware_dummy_perception_publisher::msg::Object output_msg;
8585
std::string fixed_frame = context_->getFixedFrame().toStdString();
8686

8787
// header
8888
output_msg.header.frame_id = fixed_frame;
8989
output_msg.header.stamp = clock_->now();
9090

9191
// action
92-
output_msg.action = dummy_perception_publisher::msg::Object::DELETEALL;
92+
output_msg.action = autoware_dummy_perception_publisher::msg::Object::DELETEALL;
9393

9494
dummy_object_info_pub_->publish(output_msg);
9595
}

common/tier4_perception_rviz_plugin/src/tools/delete_all_objects.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private Q_SLOTS:
7777

7878
private: // NOLINT for Qt
7979
rclcpp::Clock::SharedPtr clock_;
80-
rclcpp::Publisher<dummy_perception_publisher::msg::Object>::SharedPtr dummy_object_info_pub_;
80+
rclcpp::Publisher<autoware_dummy_perception_publisher::msg::Object>::SharedPtr dummy_object_info_pub_;
8181

8282
rviz_common::properties::StringProperty * topic_property_;
8383
};

common/tier4_perception_rviz_plugin/src/tools/interactive_object.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ namespace rviz_plugins
8484

8585
using autoware_auto_perception_msgs::msg::ObjectClassification;
8686
using autoware_auto_perception_msgs::msg::Shape;
87-
using dummy_perception_publisher::msg::Object;
87+
using autoware_dummy_perception_publisher::msg::Object;
8888

8989
class InteractiveObject
9090
{

common/tier4_perception_rviz_plugin/src/tools/pedestrian_pose.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ namespace rviz_plugins
5555

5656
using autoware_auto_perception_msgs::msg::ObjectClassification;
5757
using autoware_auto_perception_msgs::msg::Shape;
58-
using dummy_perception_publisher::msg::Object;
58+
using autoware_dummy_perception_publisher::msg::Object;
5959

6060
class PedestrianInitialPoseTool : public InteractiveObjectTool
6161
{

common/tier4_perception_rviz_plugin/src/tools/unknown_pose.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace rviz_plugins
5050

5151
using autoware_auto_perception_msgs::msg::ObjectClassification;
5252
using autoware_auto_perception_msgs::msg::Shape;
53-
using dummy_perception_publisher::msg::Object;
53+
using autoware_dummy_perception_publisher::msg::Object;
5454

5555
class UnknownInitialPoseTool : public InteractiveObjectTool
5656
{

0 commit comments

Comments
 (0)