We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
int main(int argc, char * argv[]) { rclcpp::init(argc, argv); auto options = rclcpp::InitOptions().auto_initialize_logging(false); if (options.auto_initialize_logging()) { std::cout << "options.auto_initialize_logging() is true\n"; return EXIT_FAILURE; } else { std::cout << "options.auto_initialize_logging() is false\n"; return EXIT_SUCCESS; } }
# ros2 run ros2_test_prover tmp options.auto_initialize_logging() is true
# ros2 run ros2_test_prover tmp options.auto_initialize_logging() is false
initialize_logging_ should be copied via constructor and assignment operator =. also it would be better to add test.
=
The text was updated successfully, but these errors were encountered:
InitOptions::auto_initialize_logging(true) does not work with assignm…
26f5517
…ent operator. ros2/rclcpp#1258 Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
i will be working on this after #1165.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug report
Steps to reproduce issue
Expected behavior
Actual behavior
Additional information
initialize_logging_ should be copied via constructor and assignment operator
=
. also it would be better to add test.The text was updated successfully, but these errors were encountered: