Commit 6ee56dd1 authored by Valérie Maquil's avatar Valérie Maquil
Browse files

updates gearing scenario

parent 455083ca
......@@ -50,18 +50,18 @@
<modifyValueOnRotation>False</modifyValueOnRotation>
<type>ValueWidget</type>
<handles>
<handle>2</handle>
<handle>22</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>2</handle>
<handle>22</handle>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>TextBox</type>
<handle>2</handle>
<handle>22</handle>
<drawPriority>1</drawPriority>
<lineWidth>100</lineWidth>
<font>Arial-20</font>
......@@ -77,6 +77,160 @@
</corona>
</coronas>
</object>
<!-- ##### Instructions (tasks) #########################################################-->
<object>
<name>Task</name>
<lowerBound>0</lowerBound>
<upperBound>6</upperBound>
<lowerStopAngle>0.5</lowerStopAngle>
<upperStopAngle>5.7</upperStopAngle>
<stepSize>1</stepSize>
<modifyValueOnRotation>True</modifyValueOnRotation>
<variable>
<name>Task</name>
<unit>task</unit>
<value>0</value>
</variable>
<type>ValueWidget</type>
<handles>
<handle>3</handle>
</handles>
<coronas>
<corona>
<type>Shadow</type>
<handle>3</handle>
<shape>Circle</shape>
<drawPriority>0</drawPriority>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>2</drawPriority>
<image>assets/task0.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 0</triggerCondition>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>3</drawPriority>
<image>assets/task1.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 1</triggerCondition>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>4</drawPriority>
<image>assets/task2.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 2</triggerCondition>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>5</drawPriority>
<image>assets/task3.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 3</triggerCondition>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>6</drawPriority>
<image>assets/task4.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 4</triggerCondition>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>7</drawPriority>
<image>assets/task5.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 5</triggerCondition>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>8</drawPriority>
<image>assets/taskend.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 6</triggerCondition>
</corona>
<corona>
<type>Image</type>
<handle>3</handle>
<initialTranslation>
<x>0</x>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>9</drawPriority>
<image>assets/pointer.png</image>
<rotateWithHandle>true</rotateWithHandle>
<spinOnCoronaCentre>true</spinOnCoronaCentre>
</corona>
<corona>
<type>ConditionalCorona</type>
<handle>3</handle>
<initialTranslation>
<x>25</x>
<y>-50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
<drawPriority>10</drawPriority>
<image>assets/feedback_correct.png</image>
<rotateWithHandle>false</rotateWithHandle>
<triggerCondition>Task == 5</triggerCondition>
<!-- <triggerCondition>((Task == 1) && (ForceOnPedal > 5000))</triggerCondition> -->
</corona>
</coronas>
</object>
<!-- ##### Wheel Gear #########################################################-->
<object>
<name>WheelGear</name>
......@@ -346,7 +500,7 @@
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>100</y>
<y>60</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -444,7 +598,7 @@
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>100</y>
<y>60</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -482,7 +636,7 @@
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>100</y>
<y>60</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -517,7 +671,7 @@
<handle>7</handle>
<initialTranslation>
<x>-100</x>
<y>90</y>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -533,7 +687,7 @@
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>100</y>
<y>60</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -546,7 +700,7 @@
<handle>7</handle>
<initialTranslation>
<x>-100</x>
<y>90</y>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -582,7 +736,7 @@
<handle>8</handle>
<initialTranslation>
<x>-100</x>
<y>90</y>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -598,7 +752,7 @@
<font>Arial-20</font>
<initialTranslation>
<x>0</x>
<y>100</y>
<y>60</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -611,7 +765,7 @@
<handle>8</handle>
<initialTranslation>
<x>-100</x>
<y>90</y>
<y>50</y>
<z>0</z>
<state>ScreenCoordinates</state>
</initialTranslation>
......@@ -656,6 +810,10 @@
<name>Feedback</name>
<unit>feedback</unit>
</parameter>
<parameter>
<name>Task</name>
<unit>task</unit>
</parameter>
</parameters>
<invoke>-(WheelGear) / PedalGear ;</invoke>
<results>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment