Skip to content

Instantly share code, notes, and snippets.

@mikepurvis
Created March 3, 2014 20:47
Show Gist options
  • Save mikepurvis/9334306 to your computer and use it in GitHub Desktop.
Save mikepurvis/9334306 to your computer and use it in GitHub Desktop.
rosserial_msgs/TopicInfo
$ cat src/rosserial/rosserial_msgs/msg/TopicInfo.msg
# special topic_ids
uint16 ID_PUBLISHER=0
uint16 ID_SUBSCRIBER=1
uint16 ID_SERVICE_SERVER=2
uint16 ID_SERVICE_CLIENT=4
uint16 ID_PARAMETER_REQUEST=6
uint16 ID_LOG=7
uint16 ID_TIME=10
# uint16 ID_TX_STOP=11
# The endpoint ID for this topic
uint16 topic_id
string topic_name
string message_type
# MD5 checksum for this message type
string md5sum
# size of the buffer message must fit in
int32 buffer_size
$ rosmsg show rosserial_msgs/TopicInfo
uint16 ID_PUBLISHER=0
uint16 ID_SUBSCRIBER=1
uint16 ID_SERVICE_SERVER=2
uint16 ID_SERVICE_CLIENT=4
uint16 ID_PARAMETER_REQUEST=6
uint16 ID_LOG=7
uint16 ID_TIME=10
uint16 topic_id
string topic_name
string message_type
string md5sum
int32 buffer_size
$ rosmsg md5 rosserial_msgs/TopicInfo
63aa5e8f1bdd6f35c69fe1a1b9d28e9f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment