Skip to content

Conversation

@wayneparrott
Copy link
Collaborator

Revises the message_generation process as follows:

  1. recursively delete the generated/ folder before generating new message files
  2. process the AMENT_PREFIX_PATH in reverse order such that interfaces defined earlier on the AMENT_PREFIX_PATH will overwrite older versions of the interface. Thus interfaces defined in a ROS overlay workspace take precedent over a version of the interface defined in an underlay.

Additional mods were made to help address a stability issue involving content-filters in CI:

  • updated mocha to version 10.2
  • added native clearContentFilter() to rcl_bindings.cpp
  • reimplemented subscription#clearContentFilter() to use new native implementation
  • edited test-subscription-content-filter.js

Fix #902

Revises the message_generation process as follows:
1. recursively delete the generated/ folder before generating new
message files
2. process the AMENT_PREFIX_PATH in reverse order such that interfaces
defined earlier on the AMENT_PREFIX_PATH will overwrite older versions
of the interface. Thus interfaces defined in a ROS overlay workspace
take precedent over a version of the interface defined in an underlay.

Additional mods were made to help address a stability issue involving
content-filters.
- updated mocha to version 10.2
- added native clearContentFilter() to rcl_bindings.cpp
- reimplemented subscription#clearContentFilter() to use new native
implementation
- edited test-subscription-content-filter.js
Copy link
Member

@minggangw minggangw left a comment

Choose a reason for hiding this comment

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

Thanks for the patch, LGTM!

@wayneparrott
Copy link
Collaborator Author

wayneparrott commented Mar 16, 2023

@minggangw Thx for the review.

@minggangw
Copy link
Member

Thanks @wayneparrott , I'm going to merge this PR!

@minggangw minggangw merged commit 402949c into RobotWebTools:develop Mar 20, 2023
minggangw pushed a commit that referenced this pull request Apr 3, 2023
* Adds msg generation support for workspace overlays

Revises the message_generation process as follows:
1. recursively delete the generated/ folder before generating new
message files
2. process the AMENT_PREFIX_PATH in reverse order such that interfaces
defined earlier on the AMENT_PREFIX_PATH will overwrite older versions
of the interface. Thus interfaces defined in a ROS overlay workspace
take precedent over a version of the interface defined in an underlay.

Additional mods were made to help address a stability issue involving
content-filters.
- updated mocha to version 10.2
- added native clearContentFilter() to rcl_bindings.cpp
- reimplemented subscription#clearContentFilter() to use new native
implementation
- edited test-subscription-content-filter.js

* Removed unused commented code per PR reviewer feedback
@wayneparrott wayneparrott deleted the msg_gen_support_overlay_902 branch April 10, 2023 23:57
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.

Message generation ignores overlays

2 participants