No marshalling

I would like to use some kind of real time data plotting in orocos.

Currently I wrote two components, but I don't know how to initialize logging component.

When I'm trying to use marshalling.loadProperties("logger.xml") I'm getting this error: script.ops :Parse error at line 24: Service or Task "Deployer" has no Peer or Service marshalling (or Deployer was not found at all).

What should I do with that? Is there any other way to plot signals during execution time?

No marshalling

2013/8/24 <robertkmiec1989 [..] ...>

> I would like to use some kind of real time data plotting in orocos.
>
> Currently I wrote two components, but I don't know how to initialize
> logging
> component.
>
> When I'm trying to use marshalling.loadProperties("logger.xml") I'm getting
> this error:
> script.ops :Parse error at line 24: Service or Task "Deployer" has no Peer
> or
> Service marshalling
> (or Deployer was not found at all).
>
> What should I do with that? Is there any other way to plot signals during
> execution time?
>
Check this:
http://people.mech.kuleuven.be/~orocos/pub/documentation/ocl/v2.6.x/doc-...
http://people.mech.kuleuven.be/~orocos/pub/documentation/ocl/v2.6.x/api/...
http://people.mech.kuleuven.be/~orocos/pub/documentation/ocl/v2.6.x/api/...

Hope this helps,
- Enea

Ruben Smits's picture

No marshalling

On Sun, Aug 25, 2013 at 6:52 PM, <robertkmiec1989 [..] ...> wrote:

> So I should create my own Hooks and use a kst libraries to open program and
> update plot?
>

> Or can I simply write values to file in a specified format, run a normal
> gui
> program and open the file for automatic updates?
>

Both the FileReporter, which produces a space separated value text file
including headers labeling each column as the NetcdfReporter which produces
binary netcdf files can directly be opened using KST, KST will use the
headers to interprete the data. All that is left is creating plots in
which you need to choose what needs to be on the X-axis and what needs to
be on the Y-axis. You can save the plot-layout for later use so you do not
have to redo the variable selection later on. For live plotting I would
recommend the NetcdfReporter due to lower CPU usage.

Both reporters need to be configured to indicate which Component Port data
needs to be recorded. In case of non-primitive data types you will need to
generate or create a typekit for the serialization of the data into the
report-files.
In most use-cases there is little to no c++ code involved in the entire
setup.

Ruben

First option is a bit more complicated from a developer side, but second one
> is more complicated for user. Since the second option is easier to
> implement,
> I would start with this.
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

No marshalling

About the plotting part, you can use KST: http://kst-plot.kde.org/.
I didn't test it myself but I would be interested in getting some feedback
on how to plug the marshaller into KST.

2013/8/25 Enea Scioni <scnnee [..] ...>

> 2013/8/24 <robertkmiec1989 [..] ...>
>
>> I would like to use some kind of real time data plotting in orocos.
>>
>> Currently I wrote two components, but I don't know how to initialize
>> logging
>> component.
>>
>> When I'm trying to use marshalling.loadProperties("logger.xml") I'm
>> getting
>> this error:
>> script.ops :Parse error at line 24: Service or Task "Deployer" has no
>> Peer or
>> Service marshalling
>> (or Deployer was not found at all).
>>
>> What should I do with that? Is there any other way to plot signals during
>> execution time?
>>
> Check this:
> http://people.mech.kuleuven.be/~orocos/pub/documentation/ocl/v2.6.x/doc-...
>
> http://people.mech.kuleuven.be/~orocos/pub/documentation/ocl/v2.6.x/api/...
>
> http://people.mech.kuleuven.be/~orocos/pub/documentation/ocl/v2.6.x/api/...
>
> Hope this helps,
> - Enea
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>

No marshalling

So I should create my own Hooks and use a kst libraries to open program and update plot? Or can I simply write values to file in a specified format, run a normal gui program and open the file for automatic updates? First option is a bit more complicated from a developer side, but second one is more complicated for user. Since the second option is easier to implement, I would start with this.