Getting msg fields

asked 2019-10-22 09:35:35 -0500

Turtle_driver gravatar image

I have a question regarding a ROSbridge connection to a web interface. I would like for the server to dynamically discover the fields that a message contains. Is there any command like this in roslib? So if I have a message like so:

Headers :

int id: #number

String name: #name

double: position: #position

I would like to receive out either [int, String, double] or [id, name, position], or better yet, both.

Any ideas how I can do this?

edit retag flag offensive close merge delete