tfoote / rosidl_typesupport_protobuf

Middleware agnostic ros2 static typesupport which uses Protobuf for serialization/deserialization.
Apache License 2.0
0 stars 0 forks source link

Extend protobuf type adapter generator to support Services and Actions #20

Open tfoote opened 8 months ago

tfoote commented 8 months ago

There's a way to adapt services and actions as well documented in https://ros.org/reps/rep-2007.html#type-adaptation-in-services

Since all that is necessary is to generate a struct with the right fields, that should be able to be generated as well.

package_name::action::pb::ActionName would be the adapter struct to replace package_name::action::ActionName

This will bring it in line with how topics are done reducing complexity for the users.