Skip to content

Commit

Permalink
modify: delete const
Browse files Browse the repository at this point in the history
Signed-off-by: TetsuKawa <[email protected]>
  • Loading branch information
TetsuKawa committed Jan 14, 2025
1 parent 93f3ac6 commit 574b080
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ RedundancyRelayManager::RedundancyRelayManager(const rclcpp::NodeOptions & optio
}

void RedundancyRelayManager::onOperationModeState(
const autoware_adapi_v1_msgs::msg::OperationModeState::ConstSharedPtr msg)
const autoware_adapi_v1_msgs::msg::OperationModeState::SharedPtr msg)
{
RCLCPP_INFO(get_logger(), "Received operation mode state: %d", msg->mode);
}

void RedundancyRelayManager::onMainElectionStatus(
const tier4_system_msgs::msg::ElectionStatus::ConstSharedPtr msg)
const tier4_system_msgs::msg::ElectionStatus::SharedPtr msg)
{
RCLCPP_INFO(get_logger(), "Received main election state: %d", msg->path_info);
}

void RedundancyRelayManager::onSubElectionStatus(
const tier4_system_msgs::msg::ElectionStatus::ConstSharedPtr msg)
const tier4_system_msgs::msg::ElectionStatus::SharedPtr msg)
{
RCLCPP_INFO(get_logger(), "Received sub election state: %d", msg->path_info);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ class RedundancyRelayManager : public rclcpp::Node

// Callbacks
void onOperationModeState(
const autoware_adapi_v1_msgs::msg::OperationModeState::ConstSharedPtr msg);
void onMainElectionStatus(const tier4_system_msgs::msg::ElectionStatus::ConstSharedPtr msg);
void onSubElectionStatus(const tier4_system_msgs::msg::ElectionStatus::ConstSharedPtr msg);
const autoware_adapi_v1_msgs::msg::OperationModeState::SharedPtr msg);
void onMainElectionStatus(const tier4_system_msgs::msg::ElectionStatus::SharedPtr msg);
void onSubElectionStatus(const tier4_system_msgs::msg::ElectionStatus::SharedPtr msg);
};
} // namespace autoware::redundancy_relay_manager

Expand Down

0 comments on commit 574b080

Please sign in to comment.