Skip to content

Commit

Permalink
fix: remove unused subscriber
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Nov 21, 2024
1 parent 87a87a4 commit 6bb88e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ class AutowareIvAdapter : public rclcpp::Node
const autoware_system_msgs::msg::HazardStatusStamped::ConstSharedPtr msg_ptr);
void callbackVelocityFactor(
const autoware_adapi_v1_msgs::msg::VelocityFactorArray::ConstSharedPtr msg_ptr);
void callbackStopReason(const tier4_planning_msgs::msg::StopReasonArray::ConstSharedPtr msg_ptr);
void callbackV2XCommand(
const tier4_v2x_msgs::msg::InfrastructureCommandArray::ConstSharedPtr msg_ptr);
void callbackV2XState(
Expand Down
8 changes: 0 additions & 8 deletions awapi_awiv_adapter/src/awapi_awiv_adapter_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ AutowareIvAdapter::AutowareIvAdapter()
this->create_subscription<autoware_adapi_v1_msgs::msg::VelocityFactorArray>(
"input/velocity_factors", 100,
std::bind(&AutowareIvAdapter::callbackVelocityFactor, this, _1));
sub_stop_reason_ = this->create_subscription<tier4_planning_msgs::msg::StopReasonArray>(
"input/stop_reason", 100, std::bind(&AutowareIvAdapter::callbackStopReason, this, _1));
sub_v2x_command_ = this->create_subscription<tier4_v2x_msgs::msg::InfrastructureCommandArray>(
"input/v2x_command", 100, std::bind(&AutowareIvAdapter::callbackV2XCommand, this, _1));
sub_v2x_state_ = this->create_subscription<tier4_v2x_msgs::msg::VirtualTrafficLightStateArray>(
Expand Down Expand Up @@ -269,12 +267,6 @@ void AutowareIvAdapter::callbackVelocityFactor(
aw_info_.stop_reason_ptr = velocity_factor_converter_->updateStopReasonArray(msg_ptr);
}

void AutowareIvAdapter::callbackStopReason(
const tier4_planning_msgs::msg::StopReasonArray::ConstSharedPtr msg_ptr)
{
aw_info_.stop_reason_ptr = stop_reason_aggregator_->updateStopReasonArray(msg_ptr, aw_info_);
}

void AutowareIvAdapter::callbackV2XCommand(
const tier4_v2x_msgs::msg::InfrastructureCommandArray::ConstSharedPtr msg_ptr)
{
Expand Down

0 comments on commit 6bb88e7

Please sign in to comment.