Robotics StackExchange | Archived questions

How to create a graph data structure using rosmsgs?

Hi

I want to create an adjacency graph using std_msgs for a service which returns that graph data structure. How can I do that?

Thanks in advance. Kushal

Asked by kushalsahare on 2017-01-17 11:55:33 UTC

Comments

How is your graph defined? If you have IDs for your nodes, you could use an http://docs.ros.org/jade/api/std_msgs/html/msg/UInt16MultiArray.html as adjacency matrix.

Asked by NEngelhard on 2017-01-17 14:50:32 UTC

Answers