Hi,
I'm trying to use the setMasterSlaveActivity function in one of my startup
scripts as follows:
loadComponent("SuperVisor","TaskContext")
setActivity("SuperVisor",0.001,HighestPriority,ORO_SCHED_RT)
loadComponent("EtherCatMaster","soem_master::SoemMasterComponent")
addPeer("SuperVisor","EtherCatMaster")
setMasterSlaveActivity("SuperVisor","EtherCatMaster")
This fails with the following error output:
0.262 [ ERROR ][ScriptingService] Can't create SlaveActivity: Master
component SuperVisor has no activity set.
Did I do something wrong or did I bump onto a bug?
-- Ruben
DeploymentComponent::setMasterSlaveActivity fails!
On Thu, Apr 21, 2011 at 3:59 PM, Ruben Smits
<ruben [dot] smits [..] ...> wrote:
> Hi,
>
> I'm trying to use the setMasterSlaveActivity function in one of my startup
> scripts as follows:
>
> loadComponent("SuperVisor","TaskContext")
> setActivity("SuperVisor",0.001,HighestPriority,ORO_SCHED_RT)
> loadComponent("EtherCatMaster","soem_master::SoemMasterComponent")
> addPeer("SuperVisor","EtherCatMaster")
> setMasterSlaveActivity("SuperVisor","EtherCatMaster")
>
> This fails with the following error output:
>
> 0.262 [ ERROR ][ScriptingService] Can't create SlaveActivity: Master
> component SuperVisor has no activity set.
>
>
> Did I do something wrong or did I bump onto a bug?
It assumed you set before an activity through the XML configuration.
I've pushed a fix on toolchain-2.3.
Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users