[ros-users] How to set the value in an array for a message

Huo, Zhiyu (MU-Student) zhiyuhuo at mail.mizzou.edu
Thu Jan 27 23:41:43 UTC 2011


I have a problem of setting the value of an array in a message. I write a node that used to talk to a LRF and publish the topic of the message type of LaserScan. However, I can not set the value of the array msg.ranges[] in this message. The node break when I trying to give a value to an element of that array.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110127/f6ca9666/attachment-0002.html>


More information about the ros-users mailing list