Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Commits
8f5b451b
Commit
8f5b451b
authored
5 years ago
by
Abbe AHMED-KHALIFA
Browse files
Options
Downloads
Patches
Plain Diff
Model 13/01
parent
abf70e8b
Branches
debugZ3
Branches containing commit
No related tags found
1 merge request
!297
Ahmeda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modeling/AVATAR/ev3/Bot_EV3.xml
+16
-18
16 additions, 18 deletions
modeling/AVATAR/ev3/Bot_EV3.xml
with
16 additions
and
18 deletions
modeling/AVATAR/ev3/Bot_EV3.xml
+
16
−
18
View file @
8f5b451b
...
@@ -6657,8 +6657,6 @@
...
@@ -6657,8 +6657,6 @@
<MainCode value=""/>
<MainCode value=""/>
<MainCode value="int checkContact(){"/>
<MainCode value="int checkContact(){"/>
<MainCode value=" if ( ev3_search_sensor( LEGO_EV3_TOUCH, &sn_touch, 0 )) {"/>
<MainCode value=" if ( ev3_search_sensor( LEGO_EV3_TOUCH, &sn_touch, 0 )) {"/>
<MainCode value=" printf("Press:\n");"/>
<MainCode value=" sleep(5);"/>
<MainCode value=" if ( _check_pressed( sn_touch )) {"/>
<MainCode value=" if ( _check_pressed( sn_touch )) {"/>
<MainCode value=" return 1;"/>
<MainCode value=" return 1;"/>
<MainCode value=" }"/>
<MainCode value=" }"/>
...
@@ -6766,7 +6764,7 @@
...
@@ -6766,7 +6764,7 @@
<MainCode value=" printf( "*** ( EV3 ) Hello! ***\n" );"/>
<MainCode value=" printf( "*** ( EV3 ) Hello! ***\n" );"/>
<MainCode value="}"/>
<MainCode value="}"/>
<Optimized value="false" />
<Optimized value="false" />
<Validated value="" />
<Validated value="
Color;Contact;Sonar;Controller;Motor2;Motor1;
" />
<Ignored value="" />
<Ignored value="" />
<CONNECTOR type="5002" id="2445" >
<CONNECTOR type="5002" id="2445" >
...
@@ -6827,7 +6825,7 @@
...
@@ -6827,7 +6825,7 @@
<infoparam name="connector" value="" />
<infoparam name="connector" value="" />
<TGConnectingPoint num="0" id="2450" />
<TGConnectingPoint num="0" id="2450" />
<P1 x="520" y="559" id="2535" />
<P1 x="520" y="559" id="2535" />
<P2 x="51
8
" y="5
86
" id="2480" />
<P2 x="5
2
1" y="5
92
" id="2480" />
<AutomaticDrawing data="true" />
<AutomaticDrawing data="true" />
<extraparam>
<extraparam>
<iso value="in receiveContact(int contact, int hasBeenPushed)" />
<iso value="in receiveContact(int contact, int hasBeenPushed)" />
...
@@ -6902,7 +6900,7 @@
...
@@ -6902,7 +6900,7 @@
</COMPONENT>
</COMPONENT>
<COMPONENT type="5000" id="2503" >
<COMPONENT type="5000" id="2503" >
<cdparam x="45
0
" y="5
86
" />
<cdparam x="45
3
" y="5
92
" />
<sizeparam width="137" height="172" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<sizeparam width="137" height="172" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<hidden value="false" />
<hidden value="false" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
...
@@ -7074,7 +7072,7 @@
...
@@ -7074,7 +7072,7 @@
<TGConnectingPoint num="7" id="2561" />
<TGConnectingPoint num="7" id="2561" />
<extraparam>
<extraparam>
<Attribute access="0" id="MOTOR_OFF_DELAY" value="1" type="8" typeOther="" />
<Attribute access="0" id="MOTOR_OFF_DELAY" value="1" type="8" typeOther="" />
<Attribute access="0" id="MOTOR_ON_DELAY" value="
1
" type="8" typeOther="" />
<Attribute access="0" id="MOTOR_ON_DELAY" value="
2
" type="8" typeOther="" />
<Attribute access="0" id="FACTOR_ACC" value="6" type="8" typeOther="" />
<Attribute access="0" id="FACTOR_ACC" value="6" type="8" typeOther="" />
<Attribute access="0" id="FACTOR_DEC" value="5" type="8" typeOther="" />
<Attribute access="0" id="FACTOR_DEC" value="5" type="8" typeOther="" />
<Attribute access="0" id="MOTOR_SPEED" value="500" type="8" typeOther="" />
<Attribute access="0" id="MOTOR_SPEED" value="500" type="8" typeOther="" />
...
@@ -7770,7 +7768,7 @@
...
@@ -7770,7 +7768,7 @@
<SUBCOMPONENT type="-1" id="2774" >
<SUBCOMPONENT type="-1" id="2774" >
<father id="2780" num="4" />
<father id="2780" num="4" />
<cdparam x="225" y="431" />
<cdparam x="225" y="431" />
<sizeparam width="120" height="
15
" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<sizeparam width="120" height="
30
" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<hidden value="false" />
<hidden value="false" />
<enabled value="true" />
<enabled value="true" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
...
@@ -7781,7 +7779,7 @@
...
@@ -7781,7 +7779,7 @@
<TGConnectingPoint num="3" id="2773" />
<TGConnectingPoint num="3" id="2773" />
<extraparam>
<extraparam>
<guard value="[ ]" enabled="true"/>
<guard value="[ ]" enabled="true"/>
<afterMin value="" enabled="true"/>
<afterMin value="
1
" enabled="true"/>
<afterMax value="" enabled="true"/>
<afterMax value="" enabled="true"/>
<computeMin value="" enabled="true"/>
<computeMin value="" enabled="true"/>
<computeMax value="" enabled="true"/>
<computeMax value="" enabled="true"/>
...
@@ -8281,8 +8279,8 @@
...
@@ -8281,8 +8279,8 @@
</SUBCOMPONENT>
</SUBCOMPONENT>
<SUBCOMPONENT type="-1" id="5031" >
<SUBCOMPONENT type="-1" id="5031" >
<father id="5027" num="1" />
<father id="5027" num="1" />
<cdparam x="
294
" y="6
95
" />
<cdparam x="
97
" y="6
38
" />
<sizeparam width="
10
" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<sizeparam width="
248
" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<hidden value="false" />
<hidden value="false" />
<enabled value="true" />
<enabled value="true" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
...
@@ -8292,7 +8290,7 @@
...
@@ -8292,7 +8290,7 @@
<TGConnectingPoint num="2" id="5034" />
<TGConnectingPoint num="2" id="5034" />
<TGConnectingPoint num="3" id="5035" />
<TGConnectingPoint num="3" id="5035" />
<extraparam>
<extraparam>
<guard value="[ ]" enabled="true"/>
<guard value="[
(hasBeenPushed==1)||(contact==1)
]" enabled="true"/>
<afterMin value="" enabled="true"/>
<afterMin value="" enabled="true"/>
<afterMax value="" enabled="true"/>
<afterMax value="" enabled="true"/>
<computeMin value="" enabled="true"/>
<computeMin value="" enabled="true"/>
...
@@ -8329,7 +8327,7 @@
...
@@ -8329,7 +8327,7 @@
<computeMax value="" enabled="true"/>
<computeMax value="" enabled="true"/>
<probability value="" enabled="true"/>
<probability value="" enabled="true"/>
<actions value="speed=myGlob.MOTOR_SPEED" enabled="true"/>
<actions value="speed=myGlob.MOTOR_SPEED" enabled="true"/>
<actions value="flag=1" enabled="true"/>
<actions value="flag
A
=1" enabled="true"/>
</extraparam>
</extraparam>
</SUBCOMPONENT>
</SUBCOMPONENT>
...
@@ -8454,7 +8452,7 @@
...
@@ -8454,7 +8452,7 @@
<AutomaticDrawing data="true" />
<AutomaticDrawing data="true" />
</CONNECTOR><SUBCOMPONENT type="-1" id="3070" >
</CONNECTOR><SUBCOMPONENT type="-1" id="3070" >
<father id="3072" num="0" />
<father id="3072" num="0" />
<cdparam x="47
6
" y="48
6
" />
<cdparam x="47
4
" y="48
2
" />
<sizeparam width="200" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<sizeparam width="200" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<hidden value="false" />
<hidden value="false" />
<enabled value="true" />
<enabled value="true" />
...
@@ -8562,7 +8560,7 @@
...
@@ -8562,7 +8560,7 @@
<computeMax value="" enabled="true"/>
<computeMax value="" enabled="true"/>
<probability value="" enabled="true"/>
<probability value="" enabled="true"/>
<actions value="flag=0" enabled="true"/>
<actions value="flag=0" enabled="true"/>
<actions value="deg=
20
0" enabled="true"/>
<actions value="deg=
18
0" enabled="true"/>
</extraparam>
</extraparam>
</SUBCOMPONENT>
</SUBCOMPONENT>
...
@@ -8606,8 +8604,8 @@
...
@@ -8606,8 +8604,8 @@
<AutomaticDrawing data="true" />
<AutomaticDrawing data="true" />
</CONNECTOR><SUBCOMPONENT type="-1" id="3105" >
</CONNECTOR><SUBCOMPONENT type="-1" id="3105" >
<father id="3107" num="0" />
<father id="3107" num="0" />
<cdparam x="
61
" y="
670
" />
<cdparam x="
223
" y="
853
" />
<sizeparam width="248" height="
30
" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<sizeparam width="248" height="
15
" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
<hidden value="false" />
<hidden value="false" />
<enabled value="true" />
<enabled value="true" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
...
@@ -8617,8 +8615,8 @@
...
@@ -8617,8 +8615,8 @@
<TGConnectingPoint num="2" id="3103" />
<TGConnectingPoint num="2" id="3103" />
<TGConnectingPoint num="3" id="3104" />
<TGConnectingPoint num="3" id="3104" />
<extraparam>
<extraparam>
<guard value="[
(hasBeenPushed==1)||(contact==1)
]" enabled="true"/>
<guard value="[ ]" enabled="true"/>
<afterMin value="
2
" enabled="true"/>
<afterMin value="
1
" enabled="true"/>
<afterMax value="" enabled="true"/>
<afterMax value="" enabled="true"/>
<computeMin value="" enabled="true"/>
<computeMin value="" enabled="true"/>
<computeMax value="" enabled="true"/>
<computeMax value="" enabled="true"/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment