Skip to content

Conversation

@InvincibleRMC
Copy link
Contributor

Description

Uses new abstract base classes to allow automatic type inference lowering burden to start using pub/sub/server/client/actionserver/actionclient. This can be seen in how the test cases do not require the manual specification of their generic types and that can now be inferred from the msg/srv/action type automatically.

Fixes one task from this main list
ros2/ros2#1735

Is this user-facing behavior change?

The classes inside type_support.py are no longer protocols but, actual generic classes. Users shouldn't need to change anything for this but, a user could in theory now decide to actual instantiate this class at runtime even if that doesn't really serve a point.

Did you use Generative AI?

Additional Information

@christophebedard christophebedard self-requested a review October 2, 2025 17:03
@christophebedard christophebedard self-assigned this Oct 2, 2025
@InvincibleRMC InvincibleRMC marked this pull request as draft October 7, 2025 04:55
@InvincibleRMC
Copy link
Contributor Author

Converted to draft for the moment since ros2/rosidl_python#241 should come first and might require some changes here.

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.

2 participants