forked from eclipse-ecal/rosidl_typesupport_protobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
The design of the TypeAdaptor shouldn't need this line changed.
publisher_ = this->create_publisher<std_msgs::msg::typesupport_protobuf_cpp::StringTypeAdapter>("topic", 10);
You should be able to use the
publisher_ = this->create_publisher<std_msgs::msg::String>("topic", 10);
And the compiler template logic should be able to let you publish with either data type if you've included the right headers. So I think that we're slightly off on how we have the headers/templates setup to enable this.
Metadata
Metadata
Assignees
Labels
No labels