-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement logger service #3
Implement logger service #3
Conversation
Signed-off-by: Barry Xu <barry.xu@sony.com>
@iuhilnehc-ynos |
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.
the first review is finished
rclcpp/include/rclcpp/node_interfaces/node_builtin_executor.hpp
Outdated
Show resolved
Hide resolved
rclcpp/include/rclcpp/node_interfaces/node_builtin_executor.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Barry Xu <barry.xu@sony.com>
@iuhilnehc-ynos Please check again |
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.
2nd review
private: | ||
RCLCPP_DISABLE_COPY(NodeBuiltinExecutor) | ||
class NodeBuiltinExecutorImpl; | ||
std::shared_ptr<NodeBuiltinExecutorImpl> impl_; |
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.
Please use std::unique_ptr
instead of std::shared_ptr
.
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.
Okay
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.
It seems you haven't updated it.
{ | ||
int ret = 0; | ||
auto result = rcl_interfaces::msg::SetLoggerLevelsResult(); | ||
for (auto & l : request->levels) { |
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.
for (auto & l : request->levels) { | |
for (auto & level : request->levels) { |
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.
Okay
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.
IMO, the meaning of levels
in ros2/rcl_interfaces#154 is vague.
Because it seems like a level array, the level might be treated as the uint8 level
in the LoggerLevel.
I don't know which way |
Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Barry Xu <barry.xu@sony.com>
node_base_, | ||
node_topics_, | ||
node_services_, | ||
node_logging_, |
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.
Please remove node_logging_
.
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.
Yes. I have removed it before pushing to github rclcpp
@@ -1087,6 +1088,8 @@ class LifecycleNode : public node_interfaces::LifecycleNodeInterface, | |||
rclcpp::node_interfaces::NodeTimeSourceInterface::SharedPtr node_time_source_; | |||
rclcpp::node_interfaces::NodeWaitablesInterface::SharedPtr node_waitables_; | |||
|
|||
rclcpp::NodeBuiltinExecutor::SharedPtr node_builtin_executor_; |
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.
It should be updated as well.
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.
Yes. Updated before pushing to github rclcpp
No description provided.