Commit 2e90a261 authored by levi's avatar levi
Browse files

removed todo

parent 8277059c
...@@ -250,7 +250,6 @@ namespace mm ...@@ -250,7 +250,6 @@ namespace mm
return; return;
} }
} }
//TODO: Implement this
void MMNode::RestartDeviceCallback(const std::shared_ptr<mm_controller_interfaces::srv::NodeExecution::Request> request, std::shared_ptr<mm_controller_interfaces::srv::NodeExecution::Response> response) void MMNode::RestartDeviceCallback(const std::shared_ptr<mm_controller_interfaces::srv::NodeExecution::Request> request, std::shared_ptr<mm_controller_interfaces::srv::NodeExecution::Response> response)
{ {
std::string msg; std::string msg;
...@@ -263,7 +262,7 @@ namespace mm ...@@ -263,7 +262,7 @@ namespace mm
} }
else else
{ {
msg = "Device with id " + std::to_string(request->id) + "successfully rebooted."; msg = "Device with id: " + std::to_string(request->id) + " successfully rebooted.";
RCLCPP_INFO(this->get_logger(), msg); RCLCPP_INFO(this->get_logger(), msg);
response->is_success = true; response->is_success = true;
response->message = msg; response->message = msg;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment