ConnPolicy fields usage [which fields are used most?]

Hi

I am trying to see which fields are used most.

It seems that from the available documentation, the ones that matter are:

id, type, lock_policy, size (if buffered)

the rest seem not to be mentioned much in the docs or the forums. I
notice that that rttlib.lua also has transport type so I wonder if
people actually set the transport type.

For reference from the API docs:

ConnPolicy
Public Attributes

int type
DATA, BUFFER or CIRCULAR_BUFFER.
bool init
If true, one should initialize the connection's value with the last
value written on the writer port.
int lock_policy
This is the locking policy on the connection.
bool pull
If true, then the sink will have to pull data.
int size
If the connection is a buffered connection, the size of the buffer.
int transport
The prefered transport used.
int data_size
Suggest the payload size of the data sent over this channel.
std::string name_id
The name of this connection.

ConnPolicy fields usage [which fields are used most?]

On 08/06/2013 02:59 PM, Hugo A Garcia wrote:
> Hi
>
> I am trying to see which fields are used most.
>
> It seems that from the available documentation, the ones that matter are:
>
> id, type, lock_policy, size (if buffered)
rttlib.lua covers a pretty limited use case of RTT (mostly in-process
stuff). transport, data_size and pull are important for inter-process
communication. data_size important for some transports (so far, MQueue
as far as I know)

In addition, init is not widely used but when it is, it is critical

name_id I don't know

ConnPolicy fields usage [which fields are used most?]

On Tue, Aug 6, 2013 at 6:06 AM, Sylvain Joyeux <sylvain [dot] joyeux [..] ...> wrote:
> On 08/06/2013 02:59 PM, Hugo A Garcia wrote:
>> Hi
>>
>> I am trying to see which fields are used most.
>>
>> It seems that from the available documentation, the ones that matter are:
>>
>> id, type, lock_policy, size (if buffered)
> rttlib.lua covers a pretty limited use case of RTT (mostly in-process
> stuff). transport, data_size and pull are important for inter-process
> communication. data_size important for some transports (so far, MQueue
> as far as I know)
>
> In addition, init is not widely used but when it is, it is critical
>
> name_id I don't know

We're using name_id to specify a topic for the ROS transport (which is
important for those using RTT-ROS integration).

Johnathan Van Why
Dynamic Robotics Laboratory
Oregon State University

> --
> Sylvain Joyeux (Dr.Ing.)
> Senior Researcher
>
> Space & Security Robotics
> Underwater Robotics
>
> !!! Achtung, neue Telefonnummer!!!
>
> Standort Bremen:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Phone: +49 (0)421 178-454136
> Fax: +49 (0)421 218-454150
> E-Mail: robotik [..] ...
>
> Weitere Informationen: http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.: DE 148646973
> Steuernummer: 19/673/0060/3
> -----------------------------------------------------------------------
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

ConnPolicy fields usage [which fields are used most?]

On 08/07/2013 07:14 PM, Johnathan Van Why wrote:
> We're using name_id to specify a topic for the ROS transport (which is
> important for those using RTT-ROS integration).
Ah. Yes. Right. So do we ;-)

ConnPolicy fields usage [which fields are used most?]

Thank you both for your comments and examples. Much appreciated.

On Wed, Aug 7, 2013 at 7:14 PM, Johnathan Van Why <jrvanwhy [..] ...> wrote:
> On Tue, Aug 6, 2013 at 6:06 AM, Sylvain Joyeux <sylvain [dot] joyeux [..] ...> wrote:
>> On 08/06/2013 02:59 PM, Hugo A Garcia wrote:
>>> Hi
>>>
>>> I am trying to see which fields are used most.
>>>
>>> It seems that from the available documentation, the ones that matter are:
>>>
>>> id, type, lock_policy, size (if buffered)
>> rttlib.lua covers a pretty limited use case of RTT (mostly in-process
>> stuff). transport, data_size and pull are important for inter-process
>> communication. data_size important for some transports (so far, MQueue
>> as far as I know)
>>
>> In addition, init is not widely used but when it is, it is critical
>>
>> name_id I don't know
>
> We're using name_id to specify a topic for the ROS transport (which is
> important for those using RTT-ROS integration).
>
> Johnathan Van Why
> Dynamic Robotics Laboratory
> Oregon State University
>
>> --
>> Sylvain Joyeux (Dr.Ing.)
>> Senior Researcher
>>
>> Space & Security Robotics
>> Underwater Robotics
>>
>> !!! Achtung, neue Telefonnummer!!!
>>
>> Standort Bremen:
>> DFKI GmbH
>> Robotics Innovation Center
>> Robert-Hooke-Straße 5
>> 28359 Bremen, Germany
>>
>> Phone: +49 (0)421 178-454136
>> Fax: +49 (0)421 218-454150
>> E-Mail: robotik [..] ...
>>
>> Weitere Informationen: http://www.dfki.de/robotik
>> -----------------------------------------------------------------------
>> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
>> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
>> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
>> (Vorsitzender) Dr. Walter Olthoff
>> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
>> Amtsgericht Kaiserslautern, HRB 2313
>> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
>> USt-Id.Nr.: DE 148646973
>> Steuernummer: 19/673/0060/3
>> -----------------------------------------------------------------------
>>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users