[Bug 784] New: setting period using deployer xml fails

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=784

Summary: setting period using deployer xml fails
Product: Toolchain
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: OCL
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

When I try to set the period of an activity using the deployers xml:
<struct name="Activity" type="Activity">
<simple name="Priority" type="short"><value>0</value></simple>
<simple name="Period" type="short"><value>0.005</value></simple>
<simple name="Scheduler"
type="string"><value>ORO_SCHED_OTHER</value></simple>
</struct>

I get the following message:

0.754 [ ERROR ][DeploymentComponent::loadComponents] Can not initialize
Property from Period: incompatible type (int).

Ruben

Ruben Smits's picture

[Bug 784] setting period using deployer xml fails

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=784

--- Comment #2 from Ruben Smits <ruben [dot] smits [..] ...> 2010-10-11 13:11:33 ---
Thanks for showing me, it was a stupid copy-paste error.

Ruben

Ruben Smits's picture

[Bug 784] setting period using deployer xml fails

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=784

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution| |INVALID
Status|NEW |RESOLVED

--- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...> 2010-10-11 13:11:16 ---
Thanks for showing me, it was a stupid copy-paste error.

Ruben

[Bug 784] New: setting period using deployer xml fails

Sure, the period type should be a double:

<simple name="Period" type="double"><value>0.005</value></simple>

Charles.

On 11/10/2010 13:02, Ruben Smits wrote:
> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=784
>
> Summary: setting period using deployer xml fails
> Product: Toolchain
> Version: unspecified
> Platform: All
> OS/Version: All
> Status: NEW
> Severity: normal
> Priority: P3
> Component: OCL
> AssignedTo: orocos-dev [..] ...
> ReportedBy: ruben [dot] smits [..] ...
> CC: orocos-dev [..] ...
> Estimated Hours: 0.0
>
>
> When I try to set the period of an activity using the deployers xml:
> <struct name="Activity" type="Activity">
> <simple name="Priority" type="short"><value>0</value></simple>
> <simple name="Period" type="short"><value>0.005</value></simple>
> <simple name="Scheduler"
> type="string"><value>ORO_SCHED_OTHER</value></simple>
> </struct>
>
> I get the following message:
>
> 0.754 [ ERROR ][DeploymentComponent::loadComponents] Can not initialize
> Property from Period: incompatible type (int).
>
> Ruben
>
>