Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

rostopic echo only a msg of topic

I have a topic containing several messages. How can I use 'rostopic echo' to echo only one message.

For example this is my topic containing the following messages:

Header      hdr
int32       runlevel
int32       sublevel
int32       last_seq
int32[2]    type
int32[6]    pos
float32[18]   ori

and I am just interested to see only message pos on my terminal.