ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

publish array 3 dim

asked 2016-04-21 04:18:42 -0500

Emilien gravatar image

hi, i have 3 variables with type double and i want to publish them on array 3Dim. do you have any idea about this?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-04-21 04:51:31 -0500

You need to create a msg file with the following contents:

double[3] my_array

... or alternatively

double myvar1
double myvar2
double myvar3
edit flag offensive delete link more


please can you explain it more?

Emilien gravatar image Emilien  ( 2016-04-21 07:26:42 -0500 )edit

Please go through the linked tutorial. When you have specific questions, open another question here.

Martin Günther gravatar image Martin Günther  ( 2016-04-21 09:26:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-04-21 04:18:42 -0500

Seen: 73 times

Last updated: Apr 21 '16