blob: e81d58cbd1ddcc989f2b570bc3c1e89b9376f428 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<am:Amalthea xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:am="http://app4mc.eclipse.org/amalthea/2.1.0">
<commonElements>
<tags xmi:id="Ping?type=Tag" name="Ping" tagType="ROS">
<customProperties key="executor_type">
<value xsi:type="am:StringObject" value="single_thread"/>
</customProperties>
</tags>
<tags xmi:id="Pong?type=Tag" name="Pong" tagType="MicroROS"/>
</commonElements>
<swModel>
<tasks xmi:id="initalPing?type=Task" name="initalPing" tags="Ping?type=Tag" stimuli="timer_50_ms?type=PeriodicStimulus" multipleTaskActivationLimit="0">
<activityGraph>
<items xsi:type="am:RunnableCall" runnable="initialPing?type=Runnable">
<context label="initialPing/localContextA?type=LocalModeLabel">
<valueSource xsi:type="am:ModeLiteralConst" value="Variants/cuda?type=ModeLiteral"/>
</context>
</items>
</activityGraph>
</tasks>
<tasks xmi:id="pingCallback?type=Task" name="pingCallback" tags="Pong?type=Tag" stimuli="ping?type=EventStimulus" multipleTaskActivationLimit="0">
<activityGraph>
<items xsi:type="am:RunnableCall" runnable="pingCallback?type=Runnable">
<context label="initialPing/localContextA?type=LocalModeLabel">
<valueSource xsi:type="am:ModeLiteralConst" value="Variants/cuda?type=ModeLiteral"/>
</context>
</items>
</activityGraph>
</tasks>
<tasks xmi:id="pongCallback?type=Task" name="pongCallback" tags="Ping?type=Tag" stimuli="pong?type=EventStimulus" multipleTaskActivationLimit="0">
<activityGraph>
<items xsi:type="am:RunnableCall" runnable="pongCallback?type=Runnable">
<context label="initialPing/localContextA?type=LocalModeLabel">
<valueSource xsi:type="am:ModeLiteralConst" value="Variants/cuda?type=ModeLiteral"/>
</context>
</items>
</activityGraph>
</tasks>
<runnables xmi:id="initialPing?type=Runnable" name="initialPing" callback="false" service="false">
<localLabels xmi:id="initialPing/localContextA?type=LocalModeLabel" name="localContextA" mode="Variants?type=EnumMode" defaultValue="cpu"/>
<activityGraph>
<items xsi:type="am:Switch">
<entries name="">
<items xsi:type="am:ChannelSend" data="ping?type=Channel" elements="1"/>
<condition>
<entries xsi:type="am:LocalModeCondition" label="initialPing/localContextA?type=LocalModeLabel" relation="EQUAL">
<valueSource xsi:type="am:ModeLiteralConst" value="Variants/cuda?type=ModeLiteral"/>
</entries>
</condition>
</entries>
</items>
</activityGraph>
</runnables>
<runnables xmi:id="pingCallback?type=Runnable" name="pingCallback" callback="false" service="false">
<localLabels xmi:id="pingCallback/localContextA?type=LocalModeLabel" name="localContextA" mode="Variants?type=EnumMode" defaultValue="cpu"/>
<activityGraph>
<items xsi:type="am:Ticks">
<default xsi:type="am:DiscreteValueConstant" value="80000000"/>
</items>
<items xsi:type="am:ChannelSend" data="pong?type=Channel" elements="1"/>
<items xsi:type="am:ChannelReceive" data="ping?type=Channel" elements="0" dataMustBeNew="false" elementIndex="0" lowerBound="0"/>
</activityGraph>
</runnables>
<runnables xmi:id="pongCallback?type=Runnable" name="pongCallback" callback="false" service="false">
<localLabels xmi:id="pongCallback/localContextA?type=LocalModeLabel" name="localContextA" mode="Variants?type=EnumMode" defaultValue="cpu"/>
<activityGraph>
<items xsi:type="am:Ticks">
<default xsi:type="am:DiscreteValueConstant" value="80000000"/>
</items>
<items xsi:type="am:LabelAccess" data="label?type=Label" access="read"/>
<items xsi:type="am:ChannelReceive" data="pong?type=Channel" elements="0" dataMustBeNew="false" elementIndex="0" lowerBound="0"/>
</activityGraph>
</runnables>
<runnables xmi:id="serviceCallback?type=Runnable" name="serviceCallback" callback="false" service="false">
<localLabels xmi:id="serviceCallback/localContextA?type=LocalModeLabel" name="localContextA" mode="Variants?type=EnumMode" defaultValue="cpu"/>
<activityGraph>
<items xsi:type="am:Ticks">
<default xsi:type="am:DiscreteValueConstant" value="800000"/>
</items>
</activityGraph>
</runnables>
<labels xmi:id="label?type=Label" name="label" constant="false" bVolatile="false">
<size value="8" unit="bit"/>
</labels>
<channels xmi:id="ping?type=Channel" name="ping" defaultElements="0" maxElements="0">
<size value="90" unit="B"/>
</channels>
<channels xmi:id="pong?type=Channel" name="pong" defaultElements="0" maxElements="0">
<size value="100" unit="B"/>
</channels>
<typeDefinitions xsi:type="am:DataTypeDefinition" xmi:id="int64?type=DataTypeDefinition" name="int64">
<size value="64" unit="bit"/>
</typeDefinitions>
<modes xsi:type="am:EnumMode" xmi:id="Variants?type=EnumMode" name="Variants">
<literals xmi:id="Variants/cuda?type=ModeLiteral" name="cuda"/>
<literals xmi:id="Variants/openmp?type=ModeLiteral" name="openmp"/>
<literals xmi:id="Variants/cpu?type=ModeLiteral" name="cpu"/>
</modes>
</swModel>
<stimuliModel>
<stimuli xsi:type="am:PeriodicStimulus" xmi:id="timer_50_ms?type=PeriodicStimulus" name="timer_50_ms">
<recurrence value="50" unit="ms"/>
</stimuli>
<stimuli xsi:type="am:EventStimulus" xmi:id="ping?type=EventStimulus" name="ping" triggeringEvents="Ping_Event?type=ChannelEvent"/>
<stimuli xsi:type="am:EventStimulus" xmi:id="pong?type=EventStimulus" name="pong" triggeringEvents="Pong_Event?type=ChannelEvent"/>
<stimuli xsi:type="am:InterProcessStimulus" xmi:id="ips?type=InterProcessStimulus" name="ips"/>
</stimuliModel>
<eventModel>
<events xsi:type="am:ChannelEvent" xmi:id="Ping_Event?type=ChannelEvent" name="Ping_Event" entity="ping?type=Channel"/>
<events xsi:type="am:ChannelEvent" xmi:id="Pong_Event?type=ChannelEvent" name="Pong_Event" entity="pong?type=Channel"/>
</eventModel>
</am:Amalthea>