Robotics StackExchange | Archived questions

How can I subscribe and publish a vector message?

Hi

I want to subscribe and publish a vector messages. Each element of the vector should involve 3 entities: X. Y and theta (all float32). I create a custom message for X,Y, theta in my message.msg file but I can define callBack function can take a vector in one time ?

thanks

Asked by Developer on 2018-06-02 15:54:59 UTC

Comments

Duplicate. See: #q60614, #q269908, #q56318, #q273480

Asked by jayess on 2018-06-02 16:23:26 UTC

Answers