[ros-users] Question about message types

ros_user at yahoo.co.jp ros_user at yahoo.co.jp
Thu Aug 19 04:40:52 UTC 2010


Hi, Josh.

Thank you very much for the immediate responce.
Your advice helps me a lot.

Keisuke


Josh Faust <jfaust at willowgarage.com> wrote: The message IDL does not currently support map/dict types, no.  The closest you can get right now is something like:

 == MyKeyVal.msg:
string key
float32 val


   == MyMap.msg:
MyKeyVal[] vals


Josh

2010/8/18  <ros_user at yahoo.co.jp>
  Hi, all.
 
 Is there a way to publish/subscribe following message types in ROS?
 
 "std::map"
 more than double vector like "std::vector<std::vector<float>>"
 
 More precisely, I would like to send 
 std::map<string, std::vector<float>>
 type message.
 Is it possible?
 
 Any information is welcome.
 
 Thanks in advance.
 
 Keisuke
   
    

---------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
 

_______________________________________________
 ros-users mailing list
 ros-users at code.ros.org
 https://code.ros.org/mailman/listinfo/ros-users
 



 _______________________________________________
ros-users mailing list
ros-users at code.ros.org
https://code.ros.org/mailman/listinfo/ros-users

 

 
---------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100819/f53aea99/attachment-0003.html>


More information about the ros-users mailing list