Re: [ros-users] Question about message types

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: Josh Faust
Dato:  
Til: ros-users
Emne: Re: [ros-users] Question about message types
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 <>

> 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]<http://pr.mail.yahoo.co.jp/gyao/>
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>