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

Simplify parsing of AMENT_PREFIX_PATH #489

Merged
merged 9 commits into from
May 1, 2024
Merged

Conversation

haixuanTao
Copy link
Collaborator

This PR simplify how ROS2 messages are parsed using dora.

It will parse all messages included in the AMENT_PREFIX_PATH folder that has a path in the following format: <package>/msg/<message>.msg.

Similarly for services it will be parsed as: <package>/srv/<service>.srv.

It does not requires .idl anymore nor does it needs to be in the ament_index.

Fixes: #481

This PR simplify how ROS2 messages are parsed using dora.

It will parse all messages included in the `AMENT_PREFIX_PATH` folder
that has a path in the following format: `<package>/msg/<message>.msg`.

Similarly for services it will be parsed as: `<package>/srv/<service>.srv`.

It does not requires `.idl` anymore nor does it needs to be in the `ament_index`.
…e (package, message)

Fix CI by ficing widestring proc_macro, fixing clippy, adding CI flag

fix CI with minor changes
@haixuanTao haixuanTao force-pushed the fix-ament-prefix-path branch 2 times, most recently from bb9fabb to 9891517 Compare April 29, 2024 18:17
@phil-opp
Copy link
Collaborator

Looks like something went wrong during rebasing. Commit 0676366 contains lots of unrelated changes....

apis/python/node/test/test_dora.py Outdated Show resolved Hide resolved
apis/python/node/generate_stubs.py Outdated Show resolved Hide resolved
apis/python/node/dora/dora.pyi Outdated Show resolved Hide resolved
.github/install.sh Outdated Show resolved Hide resolved
Copy link
Collaborator

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Thanks!

@haixuanTao
Copy link
Collaborator Author

Thanks for catching the unwanted commit 🙏

@haixuanTao haixuanTao merged commit 24f8828 into main May 1, 2024
17 checks passed
@haixuanTao haixuanTao deleted the fix-ament-prefix-path branch May 1, 2024 08:42
@haixuanTao haixuanTao mentioned this pull request May 17, 2024
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.

self-defined messages not able to included in header file
2 participants