Skip to content

How is the native protobuf support implemented? #89

Description

@chizhangsysu

Hi, I was trying to understand which changes to the ROS source codes make it possible to directly publishing a protobuf object.

In vanilla ROS, gencpp will provide template specializations for the MD5Sum<T> struct and the Serializer<T> struct, when generating the header file for a .msg file, so that the message object can be serialized and published.

However, when the message class comes from a .proto file instead of the .msg file, what changes make the protobuf object serializable using the ROS publisher? Could you explain what has been done here if possible?

Thanks,
Chi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions