corlab / rst-rt

Real-time Robot Control Types
GNU General Public License v3.0
0 stars 2 forks source link

Command data type #4

Open sinamr88 opened 8 years ago

sinamr88 commented 8 years ago

An integer :D

xwavex commented 8 years ago

Can you please explain a bit more? :)

sinamr88 commented 8 years ago

It could be nice to have a integer data type to publish commands . The dimension of the data type is 1. It is enough, but it would be more appropriated to be timestamped and have a string with it.

xwavex commented 8 years ago

Quick draft? Is this how you imagine the type? Can you make an example, for what application would you use this type? :)

data-type-name: {
    - int cmd
    - string description?
    - time timestamp
}
sinamr88 commented 8 years ago

The data-type-name is perfect.

ndehio commented 7 years ago

Why don't you sent an integer or float directly? I don't think we need a specific type for that. Which advantage do you expect from creating such a type?

xwavex commented 7 years ago

As far as I understood, the timestamp is needed, which is not persisted by the Orocos transport itself.

sinamr88 commented 7 years ago

@ndehio You are right....but It makes the code more readable for others..:)

xwavex commented 7 years ago

@sinamr66 How soon to you need this data type?

sinamr88 commented 7 years ago

Not soon..:D

xwavex commented 7 years ago

Ok good to know :)