Skip to content

Commit

Permalink
feat: replace tier4_debug_msgs to autoware_internal_debug_msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
vish0012 committed Dec 24, 2024
1 parent b9fd9ce commit 8681871
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include <rclcpp/publisher.hpp>

#include <std_msgs/msg/string.hpp>
#include <tier4_debug_msgs/msg/processing_time_node.hpp>
#include <tier4_debug_msgs/msg/processing_time_tree.hpp>
#include <autoware_internal_debug_msgs/msg/processing_time_node.hpp>
#include <autoware_internal_debug_msgs/msg/processing_time_tree.hpp>

#include <memory>
#include <ostream>
Expand Down Expand Up @@ -61,9 +61,9 @@ class ProcessingTimeNode : public std::enable_shared_from_this<ProcessingTimeNod
/**
* @brief Construct a ProcessingTimeTree message from the node and its children
*
* @return tier4_debug_msgs::msg::ProcessingTimeTree Constructed ProcessingTimeTree message
* @return autoware_internal_debug_msgs::msg::ProcessingTimeTree Constructed ProcessingTimeTree message
*/
tier4_debug_msgs::msg::ProcessingTimeTree to_msg() const;
autoware_internal_debug_msgs::msg::ProcessingTimeTree to_msg() const;

/**
* @brief Get the parent node
Expand Down Expand Up @@ -111,7 +111,7 @@ class ProcessingTimeNode : public std::enable_shared_from_this<ProcessingTimeNod
};

using ProcessingTimeDetail =
tier4_debug_msgs::msg::ProcessingTimeTree; //!< Alias for the ProcessingTimeTree message
autoware_internal_debug_msgs::msg::ProcessingTimeTree; //!< Alias for the ProcessingTimeTree message

/**
* @brief Class for tracking and reporting the processing time of various functions
Expand Down
10 changes: 5 additions & 5 deletions common/autoware_universe_utils/src/system/time_keeper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ std::string ProcessingTimeNode::to_string() const
return oss.str();
}

tier4_debug_msgs::msg::ProcessingTimeTree ProcessingTimeNode::to_msg() const
autoware_internal_debug_msgs::msg::ProcessingTimeTree ProcessingTimeNode::to_msg() const
{
tier4_debug_msgs::msg::ProcessingTimeTree time_tree_msg;
autoware_debug_msgs::msg::ProcessingTimeTree time_tree_msg;

std::function<void(const ProcessingTimeNode &, tier4_debug_msgs::msg::ProcessingTimeTree &, int)>
std::function<void(const ProcessingTimeNode &, autoware_internal_debug_msgs::msg::ProcessingTimeTree &, int)>
construct_msg = [&](
const ProcessingTimeNode & node,
tier4_debug_msgs::msg::ProcessingTimeTree & tree_msg, int parent_id) {
tier4_debug_msgs::msg::ProcessingTimeNode time_node_msg;
autoware_internal_debug_msgs::msg::ProcessingTimeTree & tree_msg, int parent_id) {
autoware_internal_debug_msgs::msg::ProcessingTimeNode time_node_msg;
time_node_msg.name = node.name_;
time_node_msg.processing_time = node.processing_time_;
time_node_msg.id = static_cast<int>(tree_msg.nodes.size() + 1);
Expand Down
2 changes: 1 addition & 1 deletion control/autoware_autonomous_emergency_braking/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<depend>tf2_eigen</depend>
<depend>tf2_geometry_msgs</depend>
<depend>tf2_ros</depend>
<depend>tier4_debug_msgs</depend>
<depend>autoware_internal_debug_msgs</depend>
<depend>tier4_metric_msgs</depend>
<depend>visualization_msgs</depend>

Expand Down

0 comments on commit 8681871

Please sign in to comment.