How can I subscribe and publish a vector message? [closed]

asked 2018-06-02 15:54:59 -0500

Developer gravatar image


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 ?


edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by jayess
close date 2018-06-02 16:23:34.891907



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

jayess gravatar image jayess  ( 2018-06-02 16:23:26 -0500 )edit