Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

Hello,

on a previous e-mail, I asked if anyone has already developed a toolkit for
Eigen types. I had two answers about that.

On on hand, Sylvain Joyeux told me that it was hard with RTT dataflow to
guarantee the alignment required by Eigen types. So, we have to create
intermediate types which are able to translate from Eigen types and so forth
(e.g. [1]).

On the other hand, Tinne De Laet just implemented a toolkit (see [2]) and,
as far I can see, without using intermediate types.

At this time, I just want to clarify the difference between both
alternatives. Could we just push Matrix elements in a property bags when
coding the Corba transport and XML marshalling, or the alignment problem
also arises when just using an Eigen type in a Property, Attribute or Ports
(without corba transport) ?

Sorry for these questions. I'm not very familiar with this alignment problem
and even with RTT dataflow internals. My only goal is to implemented as best
as possible an Eigen toolkit with Corba transport that could be usable by
everyone.

Thank you,

Philippe Hamelin

[1] http://github.com/doudou/base/blob/imoby/base/linear_algebra.h
[2]
http://svn.mech.kuleuven.be/repos/orocos/trunk/kul-ros-pkg/iTaSC/src/eig...

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?

Plugin/Toolkit for Eigen2 or Eigen3 types [revisited]

>
> On 10/18/2010 03:29 PM, Simon Pelletier-Thibault wrote:
>
>
> Property<string> myprop("name", "description",
> AssignableDataSource<string>::shared_ptr(new DataObjectLocked<string>("name")
> ) ) ;
>
> Sorry for that newbie question, but does someone can give me a brief
explanation of how this line can make the Property thread-safe?