You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int main(int argc, char* argv[]) {
// force flush of the stdout buffer.
// this ensures a correct sync of all prints
// even when executed simultaneously within the launch file.
setvbuf(stdout, NULL, _IONBF, BUFSIZ);
rclcpp::init(argc, argv);
rclcpp::executors::SingleThreadedExecutor exe;
std::shared_ptr<myLyfeCycleNode> lc_node =
std::make_shared<myLyfeCycleNode>("myNode", "myNamespace");
exe.add_node(lc_node->get_node_base_interface());
exe.spin();
rclcpp::shutdown();
return 0;
}
Expected behavior
Running the command $ ros2 topic list
I expect to see: /myNamespace/myNode/transition_event
Actual behavior
Running the command $ ros2 topic list
I see: /myNode/transition_event
The text was updated successfully, but these errors were encountered:
Bug report
Required Info:
Steps to reproduce issue
I created a Lyfecyclenode and I set this kind of default constructor:
I run the node using the following
main
function:Expected behavior
Running the command
$ ros2 topic list
I expect to see:
/myNamespace/myNode/transition_event
Actual behavior
Running the command
$ ros2 topic list
I see:
/myNode/transition_event
The text was updated successfully, but these errors were encountered: