Skip to content

Create sublogger for action server and action client - #982

Merged
ivanpauno merged 4 commits into
ros2:rollingfrom
pixel-robotics:master
Jul 28, 2022
Merged

ivanpauno merged 4 commits into
ros2:rollingfrom
pixel-robotics:master

Conversation

@tonynajjar

@tonynajjar tonynajjar commented Jul 27, 2022 •

Copy link
Copy Markdown
Contributor

Addresses #969

Signed-off-by: Tony Najjar <[email protected]>

@fujitatomoya fujitatomoya left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with DCO fix.

@tonynajjar tonynajjar changed the title Add global loggers Add rclpy_action loggers Jul 27, 2022
@fujitatomoya

Copy link
Copy Markdown
Collaborator

@sloretz @ivanpauno either of you could do another review on this?

@tonynajjar

Copy link
Copy Markdown
Contributor Author

@sloretz @ivanpauno either of you could do another review on this?

Please do, it was a quick fix for us, I did not test this extensively or gave it much more thought

Comment thread rclpy/rclpy/action/client.py Resolved
Comment thread rclpy/rclpy/action/server.py Resolved
Signed-off-by: Tony Najjar <[email protected]>
@tonynajjar
tonynajjar requested review from ivanpauno and sloretz July 27, 2022 19:48
Signed-off-by: Tony Najjar <[email protected]>

@ivanpauno ivanpauno left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread rclpy/rclpy/action/client.py Resolved
Comment thread rclpy/rclpy/action/server.py Resolved
Signed-off-by: Tony Najjar <[email protected]>

@ivanpauno ivanpauno left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ivanpauno

Copy link
Copy Markdown
Member

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@ivanpauno ivanpauno changed the title Add rclpy_action loggers Create sublogger for action server and action client Jul 28, 2022
@ivanpauno
ivanpauno merged commit 1d0cc63 into ros2:rolling Jul 28, 2022
tonynajjar added a commit to pixel-robotics/rclpy that referenced this pull request Oct 26, 2022
@hello-amal

hello-amal commented Jun 3, 2024 •

Copy link
Copy Markdown

Could we get a Humble backport of this?

Humble has a bug where in certain error cases, it tries to access self._logger, but self._logger doesn't exist (e.g., here). This PR would address that, since it creates a self._logger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants