Skip to content

Commit

Permalink
Added node startup log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokaz committed Nov 11, 2023
1 parent b4a029a commit 95120c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion motion/thruster_interface/src/thruster_interface_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ void ThrusterInterfaceROS::thrust_callback(

int main(int argc, char *argv[]) {
rclcpp::init(argc, argv);
rclcpp::spin(std::make_shared<ThrusterInterfaceROS>());
auto thruster_interface_node = std::make_shared<ThrusterInterfaceROS>();
RCLCPP_INFO(thruster_interface_node->get_logger(), "Starting thruster_interface_node");
rclcpp::spin(thruster_interface_node);
rclcpp::shutdown();
return 0;
}

0 comments on commit 95120c6

Please sign in to comment.