-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
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
Demos using composition #375
Conversation
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
bbaba0f
to
9cf59c6
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
c65efe4
to
4d1d93f
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
a4e68f2
to
ddcb5a7
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
5146e1f
to
2966783
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
1b1017d
to
938c5be
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
08ae08f
to
8384239
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
2761ed7
to
9c5d4ce
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
6bb8d61
to
2afc9b7
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
b67d32b
to
09d26f7
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
d4ae998
to
050647a
Compare
6b1ba5b
to
32eb315
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
5890e65
to
08d15ba
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
d8f49fb
to
15fb12d
Compare
Signed-off-by: Siddharth Kucheria <kucheria@usc.edu>
901bb7c
to
bfba9a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a partial review, just looking at demo_nodes_cpp
.
print_usage(); | ||
rclcpp::shutdown(); | ||
} else { | ||
std::string tmptopic = get_command_option(args, "-s"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the CLI args are only used to set the service name, which can be accomplished with a remap instead. Therefore, I think we can remove all the logic related to parsing CLI args.
But, if we still plan to backport these changes then I would leave it as-is and remove it in a follow-up.
print_usage(); | ||
rclcpp::shutdown(); | ||
} else { | ||
std::string tmptopic = get_command_option(args, "-s"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above. All of the CLI argument parsing logic can be removed now or in a follow-up if we want to backport this PR.
print_usage(); | ||
rclcpp::shutdown(); | ||
} else { | ||
std::string tmptopic = get_command_option(args, "-t"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment, we should prefer using CLI remaps than options.
bfba9a4
to
f4b8a7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with green CI
{ | ||
// Force flush of the stdout buffer. | ||
setvbuf(stdout, NULL, _IONBF, BUFSIZ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't recommend this within a node. Simply because what other nodes specify might collide. This should happen on the container level instead.
Addressing #325