Skip to content
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

feat: add caret record CLI #38

Merged
merged 3 commits into from Oct 20, 2022
Merged

Conversation

hsgwa
Copy link
Contributor

@hsgwa hsgwa commented Sep 30, 2022

Signed-off-by: hsgwa 19860128+hsgwa@users.noreply.github.com

This PR add new CLI:

ros2 caret record

This is just a wrapper of following:

ros2 trace -k -u "ros*"

I'm planning to add some features to ros2 caret record

Signed-off-by: hsgwa <19860128+hsgwa@users.noreply.github.com>
Signed-off-by: hsgwa <19860128+hsgwa@users.noreply.github.com>
Copy link
Contributor

@keita1523 keita1523 left a comment

Choose a reason for hiding this comment

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

@hsgwa
I have one question.

ros2caret/verb/record.py Show resolved Hide resolved
@keita1523
Copy link
Contributor

I checked this PR ran correctly.

@hsgwa hsgwa requested a review from keita1523 October 10, 2022 22:57
keita1523
keita1523 previously approved these changes Oct 10, 2022
Copy link
Contributor

@keita1523 keita1523 left a comment

Choose a reason for hiding this comment

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

LGTM! (Sorry to forget)

Copy link
Contributor

@takeshi-iwanari takeshi-iwanari left a comment

Choose a reason for hiding this comment

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

There seems a problem in Galactic.
We may need a new branch for galactic in ros2caret repository, but it makes us to maintain two branches...

base_path=args.path,
ros_events=events_ust,
kernel_events=events_kernel,
context_fields=context_fields,
Copy link
Contributor

Choose a reason for hiding this comment

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

Runtime error occurs in Galactic (Ubuntu 20.04), because ros2_tracing in Galactic uses context_names instead of context_fields

Copy link
Contributor Author

@hsgwa hsgwa Oct 18, 2022

Choose a reason for hiding this comment

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

@takeshi-iwanari
Thank you for pointing out!
fixed in: c3c3e98

Signed-off-by: hsgwa <19860128+hsgwa@users.noreply.github.com>
Copy link
Contributor

@takeshi-iwanari takeshi-iwanari left a comment

Choose a reason for hiding this comment

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

LGTM

@takeshi-iwanari takeshi-iwanari merged commit 05ab9fc into tier4:main Oct 20, 2022
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.

None yet

3 participants