From: clement r. <kl...@us...> - 2005-09-12 22:49:10
|
Update of /cvsroot/robotflow/RobotFlow/MARIE/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7478 Added Files: CommandBehavior.n CommandCamera.n CommandJoystick.n CommandMotor.n DataBumper.n DataCamera.n DataIR.n DataLaser.n DataMap.n DataNull.n DataOdometry.n DataRaw.n DataSonar.n RequestSystem.n Log Message: add tests networks for "new" and "extract" nodes for each type from marie --- NEW FILE: DataMap.n --- #!/usr/bin/env batchflow <?xml version="1.0"?> <Document> <Network type="subnet" name="MAIN"> <Node name="node_Catch_1" type="Catch" x="944.000000" y="228.000000"/> <Node name="node_Constant_3" type="Constant" x="224.000000" y="448.000000"> <Parameter name="VALUE" type="string" value="failure of Bool comparison while testing DataMap" description="The value"/> </Node> <Node name="node_NOP_2" type="NOP" x="1115.000000" y="220.000000"/> <Node name="node_MakeComposite_1" type="MakeComposite" x="-680.000000" y="-63.000000"/> <Node name="node_Constant_4" type="Constant" x="-899.000000" y="-85.000000"> <Parameter name="VALUE" type="string" value="412" description="The value"/> </Node> <Node name="node_newMarieDataMap_1" type="newMarieDataMap" x="-524.000000" y="-62.000000"/> <Node name="node_Constant_5" type="Constant" x="-899.000000" y="-58.000000"> <Parameter name="VALUE" type="int" value="413" description="The value"/> </Node> <Node name="node_extractMarieDataMap_1" type="extractMarieDataMap" x="-356.000000" y="-62.000000"/> <Node name="node_GetComposite_1" type="GetComposite" x="-198.000000" y="-62.000000"/> <Node name="node_Equal_1" type="Equal" x="147.000000" y="51.000000"/> <Node name="node_AND_1" type="AND" x="685.000000" y="185.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_Equal_2" type="Equal" x="148.000000" y="127.000000"/> <Node name="node_ToInt_1" type="ToInt" x="16.000000" y="113.000000"/> <Node name="node_Constant_6" type="Constant" x="-899.000000" y="-30.000000"> <Parameter name="VALUE" type="float" value="413.123" description="The value"/> </Node> <Node name="node_Constant_7" type="Constant" x="-900.000000" y="-2.000000"> <Parameter name="VALUE" type="bool" value="false" description="The value"/> </Node> <Node name="node_ToFloat_1" type="ToFloat" x="19.000000" y="258.000000"/> <Node name="node_ToBool_1" type="ToBool" x="-3.000000" y="370.000000"/> <Node name="node_AND_2" type="AND" x="815.000000" y="220.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_3" type="AND" x="684.000000" y="253.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_Equal_3" type="Equal" x="145.000000" y="247.000000"/> <Node name="node_OR_1" type="OR" x="296.000000" y="384.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is true"/> </Node> <Node name="node_AND_4" type="AND" x="153.000000" y="344.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_NOP_3" type="NOP" x="-1.000000" y="336.000000"/> <Node name="node_OR_2" type="OR" x="137.000000" y="411.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is true"/> </Node> <Node name="node_NOT_1" type="NOT" x="188.000000" y="409.000000"/> <Node name="node_IF_1" type="IF" x="423.000000" y="384.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_2" type="Throw" x="304.000000" y="447.000000"/> <Node name="node_Constant_1" type="Constant" x="221.000000" y="163.000000"> <Parameter name="VALUE" type="string" value="failure of Int comparison while testing DataMap" description="The value"/> </Node> <Node name="node_IF_2" type="IF" x="420.000000" y="128.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_1" type="Throw" x="301.000000" y="162.000000"/> <Node name="node_Constant_2" type="Constant" x="228.000000" y="277.000000"> <Parameter name="VALUE" type="string" value="failure of Float comparison while testing DataMap" description="The value"/> </Node> <Node name="node_IF_3" type="IF" x="420.000000" y="247.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_3" type="Throw" x="308.000000" y="276.000000"/> <Node name="node_Constant_8" type="Constant" x="227.000000" y="81.000000"> <Parameter name="VALUE" type="string" value="failure of String comparison while testing DataMap" description="The value"/> </Node> <Node name="node_IF_4" type="IF" x="413.000000" y="50.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_4" type="Throw" x="307.000000" y="80.000000"/> <Node name="node_NOP_1" type="NOP" x="-728.000000" y="78.000000"/> <Node name="node_NOP_4" type="NOP" x="-729.000000" y="106.000000"/> <Node name="node_NOP_5" type="NOP" x="-728.000000" y="134.000000"/> <Node name="node_NOP_6" type="NOP" x="-727.000000" y="161.000000"/> <Link from="node_Constant_4" output="VALUE" to="node_MakeComposite_1" input="aString"/> <Link from="node_Constant_5" output="VALUE" to="node_MakeComposite_1" input="anInt"/> <Link from="node_Constant_6" output="VALUE" to="node_MakeComposite_1" input="aFloat"/> <Link from="node_Constant_7" output="VALUE" to="node_MakeComposite_1" input="aBool"/> <Link from="node_MakeComposite_1" output="OUTPUT" to="node_newMarieDataMap_1" input="COMPOSITE"/> <Link from="node_newMarieDataMap_1" output="DATA_MAP" to="node_extractMarieDataMap_1" input="DATA_MAP"/> <Link from="node_extractMarieDataMap_1" output="COMPOSITE" to="node_GetComposite_1" input="INPUT"/> <Link from="node_ToInt_1" output="OUTPUT" to="node_Equal_2" input="INPUT1"/> <Link from="node_GetComposite_1" output="aString" to="node_Equal_1" input="INPUT1"/> <Link from="node_GetComposite_1" output="anInt" to="node_ToInt_1" input="INPUT"/> <Link from="node_AND_1" output="OUTPUT" to="node_AND_2" input="INPUT1"/> <Link from="node_AND_3" output="OUTPUT" to="node_AND_2" input="INPUT2"/> <Link from="node_GetComposite_1" output="aFloat" to="node_ToFloat_1" input="INPUT"/> <Link from="node_ToFloat_1" output="OUTPUT" to="node_Equal_3" input="INPUT2"/> <Link from="node_AND_4" output="OUTPUT" to="node_OR_1" input="INPUT1"/> <Link from="node_NOP_3" output="OUTPUT" to="node_AND_4" input="INPUT1"/> <Link from="node_NOT_1" output="OUTPUT" to="node_OR_1" input="INPUT2"/> <Link from="node_OR_2" output="OUTPUT" to="node_NOT_1" input="INPUT"/> <Link from="node_IF_1" output="OUTPUT" to="node_AND_3" input="INPUT2"/> <Link from="node_OR_1" output="OUTPUT" to="node_IF_1" input="COND"/> <Link from="node_OR_1" output="OUTPUT" to="node_IF_1" input="THEN"/> <Link from="node_ToBool_1" output="OUTPUT" to="node_AND_4" input="INPUT2"/> <Link from="node_Constant_3" output="VALUE" to="node_Throw_2" input="INPUT"/> <Link from="node_AND_2" output="OUTPUT" to="node_Catch_1" input="INPUT"/> <Link from="node_Catch_1" output="OUTPUT" to="node_NOP_2" input="INPUT"/> <Link from="node_Throw_2" output="OUTPUT" to="node_IF_1" input="ELSE"/> <Link from="node_Catch_1" output="EXCEPTION" to="node_Catch_1" input="CATCH"/> <Link from="node_GetComposite_1" output="aBool" to="node_ToBool_1" input="INPUT"/> <Link from="node_ToBool_1" output="OUTPUT" to="node_OR_2" input="INPUT2"/> <Link from="node_NOP_3" output="OUTPUT" to="node_OR_2" input="INPUT1"/> <Link from="node_Throw_1" output="OUTPUT" to="node_IF_2" input="ELSE"/> <Link from="node_Constant_1" output="VALUE" to="node_Throw_1" input="INPUT"/> <Link from="node_Throw_3" output="OUTPUT" to="node_IF_3" input="ELSE"/> <Link from="node_Constant_2" output="VALUE" to="node_Throw_3" input="INPUT"/> <Link from="node_Throw_4" output="OUTPUT" to="node_IF_4" input="ELSE"/> <Link from="node_Constant_8" output="VALUE" to="node_Throw_4" input="INPUT"/> <Link from="node_IF_4" output="OUTPUT" to="node_AND_1" input="INPUT1"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_4" input="THEN"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_4" input="COND"/> <Link from="node_NOP_1" output="OUTPUT" to="node_Equal_1" input="INPUT2"/> <Link from="node_Constant_4" output="VALUE" to="node_NOP_1" input="INPUT"/> <Link from="node_NOP_4" output="OUTPUT" to="node_Equal_2" input="INPUT2"/> <Link from="node_Constant_5" output="VALUE" to="node_NOP_4" input="INPUT"/> <Link from="node_NOP_5" output="OUTPUT" to="node_Equal_3" input="INPUT1"/> <Link from="node_Constant_6" output="VALUE" to="node_NOP_5" input="INPUT"/> <Link from="node_NOP_6" output="OUTPUT" to="node_NOP_3" input="INPUT"/> <Link from="node_Constant_7" output="VALUE" to="node_NOP_6" input="INPUT"/> <Link from="node_IF_3" output="OUTPUT" to="node_AND_3" input="INPUT1"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="COND"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="THEN"/> <Link from="node_IF_2" output="OUTPUT" to="node_AND_1" input="INPUT2"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="COND"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="THEN"/> <NetOutput name="OUTPUT" node="node_NOP_2" terminal="OUTPUT" object_type="any" description="The output = The input"/> <Note x="0" y="0" visible="0" text="Created with FlowDesigner 0.9.0"/> </Network> </Document> --- NEW FILE: CommandCamera.n --- #!/usr/bin/env batchflow <?xml version="1.0"?> <Document> <Network type="subnet" name="MAIN"> <Node name="node_newMarieCommandCamera_1" type="newMarieCommandCamera" x="-420.000000" y="-84.000000"/> <Node name="node_extractMarieCommandCamera_1" type="extractMarieCommandCamera" x="-181.000000" y="-85.000000"/> <Node name="node_Constant_1" type="Constant" x="-919.000000" y="-150.000000"> <Parameter name="VALUE" type="int" value="0" description="The value"/> </Node> <Node name="node_Constant_2" type="Constant" x="-918.000000" y="-125.000000"> <Parameter name="VALUE" type="int" value="-1" description="The value"/> </Node> <Node name="node_Constant_3" type="Constant" x="-919.000000" y="-74.000000"> <Parameter name="VALUE" type="int" value="2" description="The value"/> </Node> <Node name="node_Constant_4" type="Constant" x="-919.000000" y="-99.000000"> <Parameter name="VALUE" type="int" value="1" description="The value"/> </Node> <Node name="node_Constant_5" type="Constant" x="-919.000000" y="-48.000000"> <Parameter name="VALUE" type="int" value="3" description="The value"/> </Node> <Node name="node_NOP_1" type="NOP" x="-498.000000" y="283.000000"/> <Node name="node_NOP_2" type="NOP" x="-498.000000" y="308.000000"/> <Node name="node_NOP_3" type="NOP" x="-498.000000" y="334.000000"/> <Node name="node_NOP_4" type="NOP" x="-497.000000" y="357.000000"/> <Node name="node_NOP_10" type="NOP" x="-498.000000" y="258.000000"/> <Node name="node_Equal_1" type="Equal" x="423.000000" y="104.000000"/> <Node name="node_Constant_11" type="Constant" x="464.000000" y="144.000000"> <Parameter name="VALUE" type="string" value="failure of relative brightness comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_1" type="IF" x="651.000000" y="119.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_1" type="Throw" x="544.000000" y="143.000000"/> <Node name="node_Constant_6" type="Constant" x="-919.000000" y="-24.000000"> <Parameter name="VALUE" type="int" value="4" description="The value"/> </Node> <Node name="node_Constant_7" type="Constant" x="-919.000000" y="1.000000"> <Parameter name="VALUE" type="int" value="5" description="The value"/> </Node> <Node name="node_Constant_8" type="Constant" x="-919.000000" y="52.000000"> <Parameter name="VALUE" type="int" value="-10" description="The value"/> </Node> <Node name="node_Constant_9" type="Constant" x="-919.000000" y="27.000000"> <Parameter name="VALUE" type="int" value="32458" description="The value"/> </Node> <Node name="node_Constant_10" type="Constant" x="-919.000000" y="78.000000"> <Parameter name="VALUE" type="int" value="26" description="The value"/> </Node> <Node name="node_NOP_5" type="NOP" x="-498.000000" y="409.000000"/> <Node name="node_NOP_6" type="NOP" x="-498.000000" y="434.000000"/> <Node name="node_NOP_7" type="NOP" x="-498.000000" y="460.000000"/> <Node name="node_NOP_8" type="NOP" x="-497.000000" y="483.000000"/> <Node name="node_NOP_9" type="NOP" x="-497.000000" y="384.000000"/> <Node name="node_Equal_2" type="Equal" x="428.000000" y="181.000000"/> <Node name="node_Constant_12" type="Constant" x="469.000000" y="221.000000"> <Parameter name="VALUE" type="string" value="failure of relative contrast comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_2" type="IF" x="656.000000" y="196.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_2" type="Throw" x="549.000000" y="220.000000"/> <Node name="node_Equal_3" type="Equal" x="428.000000" y="257.000000"/> <Node name="node_Constant_13" type="Constant" x="469.000000" y="297.000000"> <Parameter name="VALUE" type="string" value="failure of relative pan comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_3" type="IF" x="656.000000" y="272.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_3" type="Throw" x="549.000000" y="296.000000"/> <Node name="node_Equal_4" type="Equal" x="433.000000" y="334.000000"/> <Node name="node_Constant_14" type="Constant" x="474.000000" y="374.000000"> <Parameter name="VALUE" type="string" value="failure of relative tilt comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_4" type="IF" x="661.000000" y="349.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_4" type="Throw" x="554.000000" y="373.000000"/> <Node name="node_Equal_5" type="Equal" x="434.000000" y="411.000000"/> <Node name="node_Constant_15" type="Constant" x="475.000000" y="451.000000"> <Parameter name="VALUE" type="string" value="failure of relative zoom comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_5" type="IF" x="662.000000" y="426.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_5" type="Throw" x="555.000000" y="450.000000"/> <Node name="node_Equal_6" type="Equal" x="435.000000" y="492.000000"/> <Node name="node_Constant_16" type="Constant" x="476.000000" y="532.000000"> <Parameter name="VALUE" type="string" value="failure of absolute brightness comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_6" type="IF" x="663.000000" y="507.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_6" type="Throw" x="556.000000" y="531.000000"/> <Node name="node_Equal_7" type="Equal" x="440.000000" y="569.000000"/> <Node name="node_Constant_17" type="Constant" x="481.000000" y="609.000000"> <Parameter name="VALUE" type="string" value="failure of absolute contrast comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_7" type="IF" x="668.000000" y="584.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_7" type="Throw" x="561.000000" y="608.000000"/> <Node name="node_Equal_8" type="Equal" x="440.000000" y="645.000000"/> <Node name="node_Constant_18" type="Constant" x="481.000000" y="685.000000"> <Parameter name="VALUE" type="string" value="failure of absolute pan comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_8" type="IF" x="668.000000" y="660.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_8" type="Throw" x="561.000000" y="684.000000"/> <Node name="node_Equal_9" type="Equal" x="445.000000" y="722.000000"/> <Node name="node_Constant_19" type="Constant" x="486.000000" y="762.000000"> <Parameter name="VALUE" type="string" value="failure of absolute tilt comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_9" type="IF" x="673.000000" y="737.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_9" type="Throw" x="566.000000" y="761.000000"/> <Node name="node_Equal_10" type="Equal" x="446.000000" y="799.000000"/> <Node name="node_Constant_20" type="Constant" x="487.000000" y="839.000000"> <Parameter name="VALUE" type="string" value="failure of absolute zoom comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_10" type="IF" x="674.000000" y="814.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_10" type="Throw" x="567.000000" y="838.000000"/> <Node name="node_AND_1" type="AND" x="795.000000" y="155.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_2" type="AND" x="925.000000" y="190.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_3" type="AND" x="791.000000" y="314.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_4" type="AND" x="791.000000" y="463.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_5" type="AND" x="793.000000" y="624.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_6" type="AND" x="1056.000000" y="370.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_7" type="AND" x="915.000000" y="543.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_8" type="AND" x="810.000000" y="769.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_9" type="AND" x="1267.000000" y="376.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_NOP_11" type="NOP" x="1380.000000" y="376.000000"/> <Link from="node_newMarieCommandCamera_1" output="COMMAND_CAMERA" to="node_extractMarieCommandCamera_1" input="COMMAND_CAMERA"/> <Link from="node_Constant_2" output="VALUE" to="node_NOP_1" input="INPUT"/> <Link from="node_Constant_4" output="VALUE" to="node_NOP_2" input="INPUT"/> <Link from="node_Constant_3" output="VALUE" to="node_NOP_3" input="INPUT"/> <Link from="node_Constant_5" output="VALUE" to="node_NOP_4" input="INPUT"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="COND"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="THEN"/> <Link from="node_Throw_1" output="OUTPUT" to="node_IF_1" input="ELSE"/> <Link from="node_Constant_11" output="VALUE" to="node_Throw_1" input="INPUT"/> <Link from="node_Constant_1" output="VALUE" to="node_NOP_10" input="INPUT"/> <Link from="node_Constant_7" output="VALUE" to="node_NOP_5" input="INPUT"/> <Link from="node_Constant_9" output="VALUE" to="node_NOP_6" input="INPUT"/> <Link from="node_Constant_8" output="VALUE" to="node_NOP_7" input="INPUT"/> <Link from="node_Constant_10" output="VALUE" to="node_NOP_8" input="INPUT"/> <Link from="node_Constant_6" output="VALUE" to="node_NOP_9" input="INPUT"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="COND"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="THEN"/> <Link from="node_Throw_2" output="OUTPUT" to="node_IF_2" input="ELSE"/> <Link from="node_Constant_12" output="VALUE" to="node_Throw_2" input="INPUT"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="COND"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="THEN"/> <Link from="node_Throw_3" output="OUTPUT" to="node_IF_3" input="ELSE"/> <Link from="node_Constant_13" output="VALUE" to="node_Throw_3" input="INPUT"/> <Link from="node_Equal_4" output="OUTPUT" to="node_IF_4" input="COND"/> <Link from="node_Equal_4" output="OUTPUT" to="node_IF_4" input="THEN"/> <Link from="node_Throw_4" output="OUTPUT" to="node_IF_4" input="ELSE"/> <Link from="node_Constant_14" output="VALUE" to="node_Throw_4" input="INPUT"/> <Link from="node_Equal_5" output="OUTPUT" to="node_IF_5" input="COND"/> <Link from="node_Equal_5" output="OUTPUT" to="node_IF_5" input="THEN"/> <Link from="node_Throw_5" output="OUTPUT" to="node_IF_5" input="ELSE"/> <Link from="node_Constant_15" output="VALUE" to="node_Throw_5" input="INPUT"/> <Link from="node_Equal_6" output="OUTPUT" to="node_IF_6" input="COND"/> <Link from="node_Equal_6" output="OUTPUT" to="node_IF_6" input="THEN"/> <Link from="node_Throw_6" output="OUTPUT" to="node_IF_6" input="ELSE"/> <Link from="node_Constant_16" output="VALUE" to="node_Throw_6" input="INPUT"/> <Link from="node_Equal_7" output="OUTPUT" to="node_IF_7" input="COND"/> <Link from="node_Equal_7" output="OUTPUT" to="node_IF_7" input="THEN"/> <Link from="node_Throw_7" output="OUTPUT" to="node_IF_7" input="ELSE"/> <Link from="node_Constant_17" output="VALUE" to="node_Throw_7" input="INPUT"/> <Link from="node_Equal_8" output="OUTPUT" to="node_IF_8" input="COND"/> <Link from="node_Equal_8" output="OUTPUT" to="node_IF_8" input="THEN"/> <Link from="node_Throw_8" output="OUTPUT" to="node_IF_8" input="ELSE"/> <Link from="node_Constant_18" output="VALUE" to="node_Throw_8" input="INPUT"/> <Link from="node_Equal_9" output="OUTPUT" to="node_IF_9" input="COND"/> <Link from="node_Equal_9" output="OUTPUT" to="node_IF_9" input="THEN"/> <Link from="node_Throw_9" output="OUTPUT" to="node_IF_9" input="ELSE"/> <Link from="node_Constant_19" output="VALUE" to="node_Throw_9" input="INPUT"/> <Link from="node_Equal_10" output="OUTPUT" to="node_IF_10" input="COND"/> <Link from="node_Equal_10" output="OUTPUT" to="node_IF_10" input="THEN"/> <Link from="node_Throw_10" output="OUTPUT" to="node_IF_10" input="ELSE"/> <Link from="node_Constant_20" output="VALUE" to="node_Throw_10" input="INPUT"/> <Link from="node_NOP_10" output="OUTPUT" to="node_Equal_1" input="INPUT1"/> <Link from="node_NOP_1" output="OUTPUT" to="node_Equal_2" input="INPUT1"/> <Link from="node_NOP_2" output="OUTPUT" to="node_Equal_3" input="INPUT1"/> <Link from="node_NOP_3" output="OUTPUT" to="node_Equal_4" input="INPUT1"/> <Link from="node_NOP_4" output="OUTPUT" to="node_Equal_5" input="INPUT1"/> <Link from="node_NOP_9" output="OUTPUT" to="node_Equal_6" input="INPUT1"/> <Link from="node_NOP_5" output="OUTPUT" to="node_Equal_7" input="INPUT1"/> <Link from="node_NOP_6" output="OUTPUT" to="node_Equal_8" input="INPUT1"/> <Link from="node_NOP_7" output="OUTPUT" to="node_Equal_9" input="INPUT1"/> <Link from="node_NOP_8" output="OUTPUT" to="node_Equal_10" input="INPUT1"/> <Link from="node_extractMarieCommandCamera_1" output="REL_BRIGHTNESS" to="node_Equal_1" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="REL_CONTRAST" to="node_Equal_2" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="REL_PAN" to="node_Equal_3" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="REL_TILT" to="node_Equal_4" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="REL_ZOOM" to="node_Equal_5" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="ABS_BRIGHTNESS" to="node_Equal_6" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="ABS_CONTRAST" to="node_Equal_7" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="ABS_PAN" to="node_Equal_8" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="ABS_TILT" to="node_Equal_9" input="INPUT2"/> <Link from="node_extractMarieCommandCamera_1" output="ABS_ZOOM" to="node_Equal_10" input="INPUT2"/> <Link from="node_Constant_1" output="VALUE" to="node_newMarieCommandCamera_1" input="REL_BRIGHTNESS"/> <Link from="node_Constant_2" output="VALUE" to="node_newMarieCommandCamera_1" input="REL_CONTRAST"/> <Link from="node_Constant_4" output="VALUE" to="node_newMarieCommandCamera_1" input="REL_PAN"/> <Link from="node_Constant_3" output="VALUE" to="node_newMarieCommandCamera_1" input="REL_TILT"/> <Link from="node_Constant_5" output="VALUE" to="node_newMarieCommandCamera_1" input="REL_ZOOM"/> <Link from="node_Constant_6" output="VALUE" to="node_newMarieCommandCamera_1" input="ABS_BRIGHTNESS"/> <Link from="node_Constant_7" output="VALUE" to="node_newMarieCommandCamera_1" input="ABS_CONTRAST"/> <Link from="node_Constant_9" output="VALUE" to="node_newMarieCommandCamera_1" input="ABS_PAN"/> <Link from="node_Constant_8" output="VALUE" to="node_newMarieCommandCamera_1" input="ABS_TILT"/> <Link from="node_Constant_10" output="VALUE" to="node_newMarieCommandCamera_1" input="ABS_ZOOM"/> <Link from="node_AND_1" output="OUTPUT" to="node_AND_2" input="INPUT1"/> <Link from="node_AND_3" output="OUTPUT" to="node_AND_2" input="INPUT2"/> <Link from="node_AND_2" output="OUTPUT" to="node_AND_6" input="INPUT1"/> <Link from="node_AND_7" output="OUTPUT" to="node_AND_6" input="INPUT2"/> <Link from="node_AND_4" output="OUTPUT" to="node_AND_7" input="INPUT1"/> <Link from="node_AND_5" output="OUTPUT" to="node_AND_7" input="INPUT2"/> <Link from="node_IF_1" output="OUTPUT" to="node_AND_1" input="INPUT1"/> <Link from="node_IF_2" output="OUTPUT" to="node_AND_1" input="INPUT2"/> <Link from="node_IF_3" output="OUTPUT" to="node_AND_3" input="INPUT1"/> <Link from="node_IF_4" output="OUTPUT" to="node_AND_3" input="INPUT2"/> <Link from="node_IF_5" output="OUTPUT" to="node_AND_4" input="INPUT1"/> <Link from="node_IF_6" output="OUTPUT" to="node_AND_4" input="INPUT2"/> <Link from="node_IF_7" output="OUTPUT" to="node_AND_5" input="INPUT1"/> <Link from="node_IF_8" output="OUTPUT" to="node_AND_5" input="INPUT2"/> <Link from="node_IF_9" output="OUTPUT" to="node_AND_8" input="INPUT1"/> <Link from="node_IF_10" output="OUTPUT" to="node_AND_8" input="INPUT2"/> <Link from="node_AND_8" output="OUTPUT" to="node_AND_9" input="INPUT2"/> <Link from="node_AND_6" output="OUTPUT" to="node_AND_9" input="INPUT1"/> <Link from="node_AND_9" output="OUTPUT" to="node_NOP_11" input="INPUT"/> <NetOutput name="OUTPUT" node="node_NOP_11" terminal="OUTPUT" object_type="any" description="The output = The input"/> <Note x="0" y="0" visible="0" text="Created with FlowDesigner 0.9.0"/> </Network> </Document> --- NEW FILE: DataSonar.n --- #!/usr/bin/env batchflow <?xml version="1.0"?> <Document> <Network type="subnet" name="MAIN"> <Node name="node_NOP_1" type="NOP" x="50.000000" y="199.000000"/> <Node name="node_Equal_1" type="Equal" x="372.000000" y="191.000000"/> <Node name="node_Constant_5" type="Constant" x="386.000000" y="232.000000"> <Parameter name="VALUE" type="string" value="failure of RANGES comparison while testing DataSonar" description="The value"/> </Node> <Node name="node_IF_1" type="IF" x="573.000000" y="207.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_1" type="Throw" x="466.000000" y="231.000000"/> <Node name="node_NOP_2" type="NOP" x="657.000000" y="206.000000"/> <Node name="node_Constant_6" type="Constant" x="-145.000000" y="133.000000"> <Parameter name="VALUE" type="object" value="<Vector<int> 1 2 3 4 >" description="The value"/> </Node> <Node name="node_extractMarieDataSonar_1" type="extractMarieDataSonar" x="183.000000" y="132.000000"/> <Node name="node_newMarieDataSonar_1" type="newMarieDataSonar" x="16.000000" y="132.000000"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="COND"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="THEN"/> <Link from="node_Throw_1" output="OUTPUT" to="node_IF_1" input="ELSE"/> <Link from="node_Constant_5" output="VALUE" to="node_Throw_1" input="INPUT"/> <Link from="node_NOP_1" output="OUTPUT" to="node_Equal_1" input="INPUT2"/> <Link from="node_Constant_6" output="VALUE" to="node_NOP_1" input="INPUT"/> <Link from="node_IF_1" output="OUTPUT" to="node_NOP_2" input="INPUT"/> <Link from="node_Constant_6" output="VALUE" to="node_newMarieDataSonar_1" input="RANGES"/> <Link from="node_extractMarieDataSonar_1" output="RANGES" to="node_Equal_1" input="INPUT1"/> <Link from="node_newMarieDataSonar_1" output="DATA_SONAR" to="node_extractMarieDataSonar_1" input="DATA_SONAR"/> <NetOutput name="OUTPUT" node="node_NOP_2" terminal="OUTPUT" object_type="any" description="The output = The input"/> <Note x="0" y="0" visible="0" text="Created with FlowDesigner 0.9.0"/> </Network> </Document> --- NEW FILE: DataOdometry.n --- #!/usr/bin/env batchflow <?xml version="1.0"?> <Document> <Network type="subnet" name="MAIN"> <Node name="node_extractMarieDataOdometry_1" type="extractMarieDataOdometry" x="-288.000000" y="-86.000000"/> <Node name="node_newMarieDataOdometry_1" type="newMarieDataOdometry" x="-503.000000" y="-87.000000"/> <Node name="node_Constant_1" type="Constant" x="-860.000000" y="-148.000000"> <Parameter name="VALUE" type="float" value="0" description="The value"/> </Node> <Node name="node_Constant_2" type="Constant" x="-859.000000" y="-123.000000"> <Parameter name="VALUE" type="float" value="-1" description="The value"/> </Node> <Node name="node_Constant_3" type="Constant" x="-860.000000" y="-72.000000"> <Parameter name="VALUE" type="float" value="2" description="The value"/> </Node> <Node name="node_Constant_4" type="Constant" x="-860.000000" y="-97.000000"> <Parameter name="VALUE" type="float" value="1" description="The value"/> </Node> <Node name="node_Constant_5" type="Constant" x="-860.000000" y="-46.000000"> <Parameter name="VALUE" type="float" value="3" description="The value"/> </Node> <Node name="node_NOP_1" type="NOP" x="-549.000000" y="282.000000"/> <Node name="node_NOP_2" type="NOP" x="-549.000000" y="307.000000"/> <Node name="node_NOP_3" type="NOP" x="-549.000000" y="333.000000"/> <Node name="node_NOP_4" type="NOP" x="-548.000000" y="356.000000"/> <Node name="node_NOP_5" type="NOP" x="-549.000000" y="257.000000"/> <Node name="node_Equal_1" type="Equal" x="175.500000" y="109.000000"/> <Node name="node_Constant_6" type="Constant" x="216.500000" y="149.000000"> <Parameter name="VALUE" type="string" value="failure of XPOS comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_1" type="IF" x="403.500000" y="124.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_1" type="Throw" x="296.500000" y="148.000000"/> <Node name="node_Constant_7" type="Constant" x="-860.000000" y="-22.000000"> <Parameter name="VALUE" type="float" value="4" description="The value"/> </Node> <Node name="node_Constant_8" type="Constant" x="-860.000000" y="3.000000"> <Parameter name="VALUE" type="float" value="5" description="The value"/> </Node> <Node name="node_Constant_9" type="Constant" x="-860.000000" y="54.000000"> <Parameter name="VALUE" type="float" value="-10" description="The value"/> </Node> <Node name="node_Constant_10" type="Constant" x="-860.000000" y="29.000000"> <Parameter name="VALUE" type="float" value="32458" description="The value"/> </Node> <Node name="node_NOP_6" type="NOP" x="-549.000000" y="408.000000"/> <Node name="node_NOP_7" type="NOP" x="-549.000000" y="433.000000"/> <Node name="node_NOP_8" type="NOP" x="-549.000000" y="459.000000"/> <Node name="node_NOP_10" type="NOP" x="-548.000000" y="383.000000"/> <Node name="node_Equal_2" type="Equal" x="180.500000" y="186.000000"/> <Node name="node_Constant_12" type="Constant" x="221.500000" y="226.000000"> <Parameter name="VALUE" type="string" value="failure of YPOS comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_2" type="IF" x="408.500000" y="201.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_2" type="Throw" x="301.500000" y="225.000000"/> <Node name="node_Equal_3" type="Equal" x="180.500000" y="262.000000"/> <Node name="node_Constant_13" type="Constant" x="221.500000" y="302.000000"> <Parameter name="VALUE" type="string" value="failure of ZPOS comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_3" type="IF" x="408.500000" y="277.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_3" type="Throw" x="301.500000" y="301.000000"/> <Node name="node_Equal_4" type="Equal" x="185.500000" y="339.000000"/> <Node name="node_Constant_14" type="Constant" x="226.500000" y="379.000000"> <Parameter name="VALUE" type="string" value="failure of YAW comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_4" type="IF" x="413.500000" y="354.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_4" type="Throw" x="306.500000" y="378.000000"/> <Node name="node_Equal_5" type="Equal" x="186.500000" y="416.000000"/> <Node name="node_Constant_15" type="Constant" x="227.500000" y="456.000000"> <Parameter name="VALUE" type="string" value="failure of PITCH comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_5" type="IF" x="414.500000" y="431.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_5" type="Throw" x="307.500000" y="455.000000"/> <Node name="node_Equal_6" type="Equal" x="187.500000" y="497.000000"/> <Node name="node_Constant_16" type="Constant" x="228.500000" y="537.000000"> <Parameter name="VALUE" type="string" value="failure of ROLL comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_6" type="IF" x="415.500000" y="512.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_6" type="Throw" x="308.500000" y="536.000000"/> <Node name="node_Equal_7" type="Equal" x="192.500000" y="574.000000"/> <Node name="node_Constant_17" type="Constant" x="233.500000" y="614.000000"> <Parameter name="VALUE" type="string" value="failure of LINEAR_SPEED comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_7" type="IF" x="420.500000" y="589.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_7" type="Throw" x="313.500000" y="613.000000"/> <Node name="node_Equal_8" type="Equal" x="192.500000" y="650.000000"/> <Node name="node_Constant_18" type="Constant" x="233.500000" y="690.000000"> <Parameter name="VALUE" type="string" value="failure of SIDE_SPEED comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_8" type="IF" x="420.500000" y="665.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_8" type="Throw" x="313.500000" y="689.000000"/> <Node name="node_Equal_9" type="Equal" x="197.500000" y="727.000000"/> <Node name="node_Constant_19" type="Constant" x="238.500000" y="767.000000"> <Parameter name="VALUE" type="string" value="failure of ROTATION_SPEED comparison while testing DataOdometry" description="The value"/> </Node> <Node name="node_IF_9" type="IF" x="425.500000" y="742.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_9" type="Throw" x="318.500000" y="766.000000"/> <Node name="node_AND_1" type="AND" x="547.500000" y="160.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_2" type="AND" x="677.500000" y="195.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_3" type="AND" x="543.500000" y="319.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_4" type="AND" x="543.500000" y="468.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_5" type="AND" x="545.500000" y="629.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_6" type="AND" x="808.500000" y="375.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_7" type="AND" x="667.500000" y="548.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_9" type="AND" x="1019.500000" y="381.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_NOP_11" type="NOP" x="1132.500000" y="381.000000"/> <Link from="node_newMarieDataOdometry_1" output="DATA_ODOMETRY" to="node_extractMarieDataOdometry_1" input="DATA_ODOMETRY"/> <Link from="node_Constant_2" output="VALUE" to="node_NOP_1" input="INPUT"/> <Link from="node_Constant_4" output="VALUE" to="node_NOP_2" input="INPUT"/> <Link from="node_Constant_3" output="VALUE" to="node_NOP_3" input="INPUT"/> <Link from="node_Constant_5" output="VALUE" to="node_NOP_4" input="INPUT"/> <Link from="node_Constant_1" output="VALUE" to="node_NOP_5" input="INPUT"/> <Link from="node_NOP_5" output="OUTPUT" to="node_Equal_1" input="INPUT1"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="COND"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="THEN"/> <Link from="node_Throw_1" output="OUTPUT" to="node_IF_1" input="ELSE"/> <Link from="node_Constant_6" output="VALUE" to="node_Throw_1" input="INPUT"/> <Link from="node_Constant_8" output="VALUE" to="node_NOP_6" input="INPUT"/> <Link from="node_Constant_10" output="VALUE" to="node_NOP_7" input="INPUT"/> <Link from="node_Constant_9" output="VALUE" to="node_NOP_8" input="INPUT"/> <Link from="node_Constant_7" output="VALUE" to="node_NOP_10" input="INPUT"/> <Link from="node_NOP_1" output="OUTPUT" to="node_Equal_2" input="INPUT1"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="COND"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="THEN"/> <Link from="node_Throw_2" output="OUTPUT" to="node_IF_2" input="ELSE"/> <Link from="node_Constant_12" output="VALUE" to="node_Throw_2" input="INPUT"/> <Link from="node_NOP_2" output="OUTPUT" to="node_Equal_3" input="INPUT1"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="COND"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="THEN"/> <Link from="node_Throw_3" output="OUTPUT" to="node_IF_3" input="ELSE"/> <Link from="node_Constant_13" output="VALUE" to="node_Throw_3" input="INPUT"/> <Link from="node_NOP_3" output="OUTPUT" to="node_Equal_4" input="INPUT1"/> <Link from="node_Equal_4" output="OUTPUT" to="node_IF_4" input="COND"/> <Link from="node_Equal_4" output="OUTPUT" to="node_IF_4" input="THEN"/> <Link from="node_Throw_4" output="OUTPUT" to="node_IF_4" input="ELSE"/> <Link from="node_Constant_14" output="VALUE" to="node_Throw_4" input="INPUT"/> <Link from="node_NOP_4" output="OUTPUT" to="node_Equal_5" input="INPUT1"/> <Link from="node_Equal_5" output="OUTPUT" to="node_IF_5" input="COND"/> <Link from="node_Equal_5" output="OUTPUT" to="node_IF_5" input="THEN"/> <Link from="node_Throw_5" output="OUTPUT" to="node_IF_5" input="ELSE"/> <Link from="node_Constant_15" output="VALUE" to="node_Throw_5" input="INPUT"/> <Link from="node_NOP_10" output="OUTPUT" to="node_Equal_6" input="INPUT1"/> <Link from="node_Equal_6" output="OUTPUT" to="node_IF_6" input="COND"/> <Link from="node_Equal_6" output="OUTPUT" to="node_IF_6" input="THEN"/> <Link from="node_Throw_6" output="OUTPUT" to="node_IF_6" input="ELSE"/> <Link from="node_Constant_16" output="VALUE" to="node_Throw_6" input="INPUT"/> <Link from="node_NOP_6" output="OUTPUT" to="node_Equal_7" input="INPUT1"/> <Link from="node_Equal_7" output="OUTPUT" to="node_IF_7" input="COND"/> <Link from="node_Equal_7" output="OUTPUT" to="node_IF_7" input="THEN"/> <Link from="node_Throw_7" output="OUTPUT" to="node_IF_7" input="ELSE"/> <Link from="node_Constant_17" output="VALUE" to="node_Throw_7" input="INPUT"/> <Link from="node_NOP_7" output="OUTPUT" to="node_Equal_8" input="INPUT1"/> <Link from="node_Equal_8" output="OUTPUT" to="node_IF_8" input="COND"/> <Link from="node_Equal_8" output="OUTPUT" to="node_IF_8" input="THEN"/> <Link from="node_Throw_8" output="OUTPUT" to="node_IF_8" input="ELSE"/> <Link from="node_Constant_18" output="VALUE" to="node_Throw_8" input="INPUT"/> <Link from="node_NOP_8" output="OUTPUT" to="node_Equal_9" input="INPUT1"/> <Link from="node_Equal_9" output="OUTPUT" to="node_IF_9" input="COND"/> <Link from="node_Equal_9" output="OUTPUT" to="node_IF_9" input="THEN"/> <Link from="node_Throw_9" output="OUTPUT" to="node_IF_9" input="ELSE"/> <Link from="node_Constant_19" output="VALUE" to="node_Throw_9" input="INPUT"/> <Link from="node_IF_1" output="OUTPUT" to="node_AND_1" input="INPUT1"/> <Link from="node_IF_2" output="OUTPUT" to="node_AND_1" input="INPUT2"/> <Link from="node_AND_1" output="OUTPUT" to="node_AND_2" input="INPUT1"/> <Link from="node_AND_3" output="OUTPUT" to="node_AND_2" input="INPUT2"/> <Link from="node_IF_3" output="OUTPUT" to="node_AND_3" input="INPUT1"/> <Link from="node_IF_4" output="OUTPUT" to="node_AND_3" input="INPUT2"/> <Link from="node_IF_5" output="OUTPUT" to="node_AND_4" input="INPUT1"/> <Link from="node_IF_6" output="OUTPUT" to="node_AND_4" input="INPUT2"/> <Link from="node_IF_7" output="OUTPUT" to="node_AND_5" input="INPUT1"/> <Link from="node_IF_8" output="OUTPUT" to="node_AND_5" input="INPUT2"/> <Link from="node_AND_2" output="OUTPUT" to="node_AND_6" input="INPUT1"/> <Link from="node_AND_7" output="OUTPUT" to="node_AND_6" input="INPUT2"/> <Link from="node_AND_4" output="OUTPUT" to="node_AND_7" input="INPUT1"/> <Link from="node_AND_5" output="OUTPUT" to="node_AND_7" input="INPUT2"/> <Link from="node_AND_6" output="OUTPUT" to="node_AND_9" input="INPUT1"/> <Link from="node_AND_9" output="OUTPUT" to="node_NOP_11" input="INPUT"/> <Link from="node_Constant_1" output="VALUE" to="node_newMarieDataOdometry_1" input="XPOS"/> <Link from="node_Constant_2" output="VALUE" to="node_newMarieDataOdometry_1" input="YPOS"/> <Link from="node_Constant_4" output="VALUE" to="node_newMarieDataOdometry_1" input="ZPOS"/> <Link from="node_Constant_3" output="VALUE" to="node_newMarieDataOdometry_1" input="YAW"/> <Link from="node_Constant_5" output="VALUE" to="node_newMarieDataOdometry_1" input="PITCH"/> <Link from="node_Constant_7" output="VALUE" to="node_newMarieDataOdometry_1" input="ROLL"/> <Link from="node_Constant_8" output="VALUE" to="node_newMarieDataOdometry_1" input="LINEAR_SPEED"/> <Link from="node_Constant_10" output="VALUE" to="node_newMarieDataOdometry_1" input="SIDE_SPEED"/> <Link from="node_Constant_9" output="VALUE" to="node_newMarieDataOdometry_1" input="ROTATION_SPEED"/> <Link from="node_IF_9" output="OUTPUT" to="node_AND_9" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="XPOS" to="node_Equal_1" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="YPOS" to="node_Equal_2" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="ZPOS" to="node_Equal_3" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="YAW" to="node_Equal_4" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="PITCH" to="node_Equal_5" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="ROLL" to="node_Equal_6" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="LINEAR_SPEED" to="node_Equal_7" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="SIDE_SPEED" to="node_Equal_8" input="INPUT2"/> <Link from="node_extractMarieDataOdometry_1" output="ROTATION_SPEED" to="node_Equal_9" input="INPUT2"/> <NetOutput name="OUTPUT" node="node_NOP_11" terminal="OUTPUT" object_type="any" description="The output = The input"/> <Note x="0" y="0" visible="0" text="Created with FlowDesigner 0.9.0"/> </Network> </Document> --- NEW FILE: CommandJoystick.n --- #!/usr/bin/env batchflow <?xml version="1.0"?> <Document> <Network type="subnet" name="MAIN"> <Node name="node_Constant_1" type="Constant" x="-629.000000" y="-156.000000"> <Parameter name="VALUE" type="int" value="0" description="The value"/> </Node> <Node name="node_Constant_2" type="Constant" x="-628.000000" y="-131.000000"> <Parameter name="VALUE" type="int" value="-1" description="The value"/> </Node> <Node name="node_Constant_3" type="Constant" x="-629.000000" y="-80.000000"> <Parameter name="VALUE" type="int" value="2" description="The value"/> </Node> <Node name="node_Constant_4" type="Constant" x="-629.000000" y="-105.000000"> <Parameter name="VALUE" type="int" value="1" description="The value"/> </Node> <Node name="node_Constant_5" type="Constant" x="-629.000000" y="-54.000000"> <Parameter name="VALUE" type="int" value="3" description="The value"/> </Node> <Node name="node_NOP_1" type="NOP" x="-385.000000" y="133.000000"/> <Node name="node_NOP_2" type="NOP" x="-385.000000" y="158.000000"/> <Node name="node_NOP_3" type="NOP" x="-385.000000" y="184.000000"/> <Node name="node_NOP_4" type="NOP" x="-384.000000" y="207.000000"/> <Node name="node_NOP_5" type="NOP" x="-385.000000" y="108.000000"/> <Node name="node_Equal_1" type="Equal" x="433.000000" y="114.000000"/> <Node name="node_Constant_6" type="Constant" x="474.000000" y="154.000000"> <Parameter name="VALUE" type="string" value="failure of X comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_1" type="IF" x="661.000000" y="129.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_1" type="Throw" x="554.000000" y="153.000000"/> <Node name="node_Constant_7" type="Constant" x="-629.000000" y="-30.000000"> <Parameter name="VALUE" type="int" value="4" description="The value"/> </Node> <Node name="node_Constant_8" type="Constant" x="-629.000000" y="-5.000000"> <Parameter name="VALUE" type="int" value="5" description="The value"/> </Node> <Node name="node_Constant_10" type="Constant" x="-629.000000" y="21.000000"> <Parameter name="VALUE" type="int" value="32458" description="The value"/> </Node> <Node name="node_NOP_6" type="NOP" x="-385.000000" y="259.000000"/> <Node name="node_NOP_7" type="NOP" x="-385.000000" y="284.000000"/> <Node name="node_NOP_10" type="NOP" x="-384.000000" y="234.000000"/> <Node name="node_Equal_2" type="Equal" x="438.000000" y="191.000000"/> <Node name="node_Constant_12" type="Constant" x="479.000000" y="231.000000"> <Parameter name="VALUE" type="string" value="failure of Y comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_2" type="IF" x="666.000000" y="206.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_2" type="Throw" x="559.000000" y="230.000000"/> <Node name="node_Equal_3" type="Equal" x="438.000000" y="267.000000"/> <Node name="node_Constant_13" type="Constant" x="479.000000" y="307.000000"> <Parameter name="VALUE" type="string" value="failure of XMIN comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_3" type="IF" x="666.000000" y="282.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_3" type="Throw" x="559.000000" y="306.000000"/> <Node name="node_Equal_4" type="Equal" x="443.000000" y="344.000000"/> <Node name="node_Constant_14" type="Constant" x="484.000000" y="384.000000"> <Parameter name="VALUE" type="string" value="failure of YMIN comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_4" type="IF" x="671.000000" y="359.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_4" type="Throw" x="564.000000" y="383.000000"/> <Node name="node_Equal_5" type="Equal" x="444.000000" y="421.000000"/> <Node name="node_Constant_15" type="Constant" x="485.000000" y="461.000000"> <Parameter name="VALUE" type="string" value="failure of XMAX comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_5" type="IF" x="672.000000" y="436.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_5" type="Throw" x="565.000000" y="460.000000"/> <Node name="node_Equal_6" type="Equal" x="445.000000" y="502.000000"/> <Node name="node_Constant_16" type="Constant" x="486.000000" y="542.000000"> <Parameter name="VALUE" type="string" value="failure of YMAX comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_6" type="IF" x="673.000000" y="517.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_6" type="Throw" x="566.000000" y="541.000000"/> <Node name="node_Equal_7" type="Equal" x="450.000000" y="579.000000"/> <Node name="node_Constant_17" type="Constant" x="491.000000" y="619.000000"> <Parameter name="VALUE" type="string" value="failure of NBBUTTONS comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_7" type="IF" x="678.000000" y="594.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_7" type="Throw" x="571.000000" y="618.000000"/> <Node name="node_Equal_8" type="Equal" x="450.000000" y="655.000000"/> <Node name="node_Constant_18" type="Constant" x="491.000000" y="695.000000"> <Parameter name="VALUE" type="string" value="failure of BUTTONSTATE comparison while testing CommandCamera" description="The value"/> </Node> <Node name="node_IF_8" type="IF" x="678.000000" y="670.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="" description="If true, the IF statement pulls also on the branch not taken"/> </Node> <Node name="node_Throw_8" type="Throw" x="571.000000" y="694.000000"/> <Node name="node_AND_1" type="AND" x="805.000000" y="165.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_2" type="AND" x="935.000000" y="200.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_3" type="AND" x="801.000000" y="324.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_4" type="AND" x="801.000000" y="473.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_5" type="AND" x="803.000000" y="634.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_6" type="AND" x="1066.000000" y="380.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_AND_7" type="AND" x="925.000000" y="553.000000"> <Parameter name="PULL_ANYWAY" type="bool" value="false" description="Pull on INPUT2 even if INPUT1 is false"/> </Node> <Node name="node_NOP_11" type="NOP" x="1165.000000" y="381.000000"/> <Node name="node_extractMarieCommandJoystick_1" type="extractMarieCommandJoystick" x="-62.000000" y="-103.000000"/> <Node name="node_newMarieCommandJoystick_1" type="newMarieCommandJoystick" x="-292.000000" y="-102.000000"/> <Link from="node_Constant_2" output="VALUE" to="node_NOP_1" input="INPUT"/> <Link from="node_Constant_4" output="VALUE" to="node_NOP_2" input="INPUT"/> <Link from="node_Constant_3" output="VALUE" to="node_NOP_3" input="INPUT"/> <Link from="node_Constant_5" output="VALUE" to="node_NOP_4" input="INPUT"/> <Link from="node_Constant_1" output="VALUE" to="node_NOP_5" input="INPUT"/> <Link from="node_NOP_5" output="OUTPUT" to="node_Equal_1" input="INPUT1"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="COND"/> <Link from="node_Equal_1" output="OUTPUT" to="node_IF_1" input="THEN"/> <Link from="node_Throw_1" output="OUTPUT" to="node_IF_1" input="ELSE"/> <Link from="node_Constant_6" output="VALUE" to="node_Throw_1" input="INPUT"/> <Link from="node_Constant_8" output="VALUE" to="node_NOP_6" input="INPUT"/> <Link from="node_Constant_10" output="VALUE" to="node_NOP_7" input="INPUT"/> <Link from="node_Constant_7" output="VALUE" to="node_NOP_10" input="INPUT"/> <Link from="node_NOP_1" output="OUTPUT" to="node_Equal_2" input="INPUT1"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="COND"/> <Link from="node_Equal_2" output="OUTPUT" to="node_IF_2" input="THEN"/> <Link from="node_Throw_2" output="OUTPUT" to="node_IF_2" input="ELSE"/> <Link from="node_Constant_12" output="VALUE" to="node_Throw_2" input="INPUT"/> <Link from="node_NOP_2" output="OUTPUT" to="node_Equal_3" input="INPUT1"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="COND"/> <Link from="node_Equal_3" output="OUTPUT" to="node_IF_3" input="THEN"/> <Link from="node_Throw_3" output="OUTPUT" to="node_IF_3" input="ELSE"/> <Link from="node_Constant_13" output="VALUE" to="node_Throw_3" input="INPUT"/> <Link from="node_NOP_3" output="OUTPUT" to="node_Equal_4" input="INPUT1"/> <Link from="node_Equal_4" output="OUTPUT" to="node_IF_4" input="COND"/> <Link from="node_Equal_4" output="OUTPUT" to="node_IF_4" input="THEN"/> <Link from="node_Throw_4" output="OUTPUT" to="node_IF_4" input="ELSE"/> <Link from="node_Constant_14" output="VALUE" to="node_Throw_4" input="INPUT"/> <Link from="node_NOP_4" output="OUTPUT" to="node_Equal_5" input="INPUT1"/> <Link from="node_Equal_5" output="OUTPUT" to="node_IF_5" input="COND"/> <Link from="node_Equal_5" output="OUTPUT" to="node_IF_5" input="THEN"/> <Link from="node_Throw_5" output="OUTPUT" to="node_IF_5" input="ELSE"/> <Link from="node_Constant_15" output="VALUE" to="node_Throw_5" input="INPUT"/> <Link from="node_NOP_10" output="OUTPUT" to="node_Equal_6" input="INPUT1"/> <Link from="node_Equal_6" output="OUTPUT" to="node_IF_6" input="COND"/> <Link from="node_Equal_6" output="OUTPUT" to="node_IF_6" input="THEN"/> <Link from="node_Throw_6" output="OUTPUT" to="node_IF_6" input="ELSE"/> <Link from="node_Constant_16" output="VALUE" to="node_Throw_6" input="INPUT"/> <Link from="node_NOP_6" output="OUT... [truncated message content] |