Model { Name "motion_turtle" Version 7.9 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.6335" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "UTF-8" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" FPTRunName "Run 1" MaxMDLFileLineLength 120 Created "Wed Jan 31 12:33:46 2001" Creator "root" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "root" ModifiedDateFormat "%" LastModifiedDate "Tue Dec 23 20:39:31 2014" RTWModifiedTimeStamp 341267918 ModelVersionFormat "1.%" ConfigurationManager "none" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions on ShowPortDataTypes on ShowDesignRanges off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" RTW.FcnDefault { $PropName "RTWFcnClass" $ObjectID 1 Name "Auto" FunctionName "motion_turtle_step" InitFunctionName "DefaultBlockDiagram_initialize" } LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "1" ExtModeTrigDuration 3910 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock off BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 2 Version "1.12.0" Array { Type "Handle" Dimension 8 Simulink.SolverCC { $ObjectID 3 Version "1.12.0" StartTime "0.0" StopTime "3600*2" AbsTol "auto" FixedStep "Ts" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" EnableConcurrentExecution off ConcurrentTasks off Solver "ode1" SolverName "ode1" SolverJacobianMethodControl "auto" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 4 Version "1.12.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints off MaxDataPoints "4000*3600" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SignalLoggingSaveFormat "ModelDataLogs" SaveOutput off SaveState off SignalLogging off DSMLogging on InspectSignalLogs off SaveTime off ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 5 Version "1.12.0" BlockReduction off BooleanDataType off ConditionallyExecuteInputs on InlineParams off UseIntDivNetSlope off UseFloatMulNetSlope off UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode on LifeSpan "1" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off ParallelExecutionInRapidAccelerator on } Simulink.DebuggingCC { $ObjectID 6 Version "1.12.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "none" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskCondExecSysMsg "none" MultiTaskRateTransMsg "warning" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "none" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" FrameProcessingCompatibilityMsg "warning" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" SimStateOlderReleaseMsg "error" InitInArrayFormatMsg "warning" StrictBusMsg "None" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" SFUnconditionalTransitionShadowingDiag "warning" } Simulink.HardwareCC { $ObjectID 7 Version "1.12.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 64 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 64 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "LittleEndian" TargetWordSize 64 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "MATLAB Host" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 8 Version "1.12.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 9 Version "1.12.0" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 10 Version "1.12.0" SystemTargetFile "mtt.tlc" GenCodeOnly off MakeCommand "make_rtw CC=\"ccache gcc\" OPTS=\"-DNETIF_ID=1 -DPRIO=99 -D_GNU_SOURCE -DDEBUG_KINECT -DSVN_VER=569" "8\"" GenerateMakefile on TemplateMakefile "mtt_unix.tmf" Description "Multitasking Target for Linux (EXPERIMENTAL)" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ProcessScript "mtt_make_rtw_hook" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off CustomHeaderCode "#include \"debug_drawing.h\"" CustomTerminator "cleanupDebugDrawing();" IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime on GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateWebview off GenerateCodeMetricsReport off GenerateCodeReplacementReport off RTWCompilerOptimization "Custom" RTWCustomCompilerOptimizations "-O2 -g -W" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 11 Version "1.12.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses off IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement on IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.ERTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 12 Version "1.12.0" TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" CodeReplacementLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" CodeExecutionProfiling off ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on ConcurrentExecutionCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Use local settings" CombineOutputUpdateFcns on CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant on IncludeFileDelimiter "Auto" ERTCustomFileBanners on SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant on CPPClassGenCompliant on AutosarCompliant off GRTInterface off GenerateErtSFunction off CreateSILPILBlock "None" CodeExecutionProfileVariable "executionProfile" CodeProfilingSaveOptions "SummaryOnly" GenerateASAP2 off ExtMode off ExtModeTransport 0 ExtModeStaticAlloc off ExtModeStaticAllocSize 1000000 ExtModeTesting off ExtModeMexFile "noextcomm" ExtModeIntrfLevel "Level1" InlinedParameterPlacement "NonHierarchical" TargetOS "BareBoardExample" MultiInstanceErrorCode "Error" RateGroupingCode on RootIOFormat "Individual arguments" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off RTWCAPIRootIO off ERTSrcFileBannerTemplate "ert_code_template.cgt" ERTHdrFileBannerTemplate "ert_code_template.cgt" ERTDataSrcFileTemplate "ert_code_template.cgt" ERTDataHdrFileTemplate "ert_code_template.cgt" ERTCustomFileTemplate "example_file_process.tlc" CoverageDialogOpen "off" EnableDataOwnership off SignalDisplayLevel 10 ParamTuneLevel 10 GlobalDataDefinition "Auto" DataDefinitionFile "global.c" GlobalDataReference "Auto" ERTFilePackagingFormat "Modular" DataReferenceFile "global.h" PreserveExpressionOrder off PreserveIfCondition off ConvertIfToSwitch off PreserveExternInFcnDecls on SuppressUnreachableDefaultCases off EnableUserReplacementTypes off Array { Type "Struct" Dimension 1 MATStruct { double "" single "" int32 "" int16 "" int8 "" uint32 "" uint16 "" uint8 "" boolean "" int "" uint "" char "" } PropName "ReplacementTypes" } MemSecPackage "--- None ---" MemSecDataConstants "Default" MemSecDataIO "Default" MemSecDataInternal "Default" MemSecDataParameters "Default" MemSecFuncInitTerm "Default" MemSecFuncExecute "Default" MemSecFuncSharedUtil "Default" CodeProfilingInstrumentation off } PropName "Components" } } PropName "Components" } Name "Configuration" ExtraOptions "-aGenerateTraceInfo=0 " CurrentDlgPage "Code Generation/Custom Code" ConfigPrmDlgPosition [ 316, 147, 1364, 883 ] } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 2 } ExplicitPartitioning off BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType Abs ZeroCross on SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Clock DisplayTime off Decimation "10" } Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" PreserveConstantTs off } Block { BlockType DataTypeConversion OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via back propagation" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Derivative CoefficientInTFapproximation "inf" } Block { BlockType DiscretePulseGenerator PulseType "Sample based" TimeSource "Use simulation time" Amplitude "1" Period "2" PulseWidth "1" PhaseDelay "0" SampleTime "1" VectorParams1D on } Block { BlockType DiscreteTransferFcn NumeratorSource "Dialog" Numerator "[1]" DenominatorSource "Dialog" Denominator "[1 0.5]" InitialStatesSource "Dialog" InitialStates "0" InputProcessing "Elements as channels (sample based)" ExternalReset "None" SampleTime "-1" a0EqualsOne off NumCoefMin "[]" NumCoefMax "[]" DenCoefMin "[]" DenCoefMax "[]" OutMin "[]" OutMax "[]" StateDataTypeStr "Inherit: Same as input" NumCoefDataTypeStr "Inherit: Inherit via internal rule" DenCoefDataTypeStr "Inherit: Inherit via internal rule" NumProductDataTypeStr "Inherit: Inherit via internal rule" DenProductDataTypeStr "Inherit: Inherit via internal rule" NumAccumDataTypeStr "Inherit: Inherit via internal rule" DenAccumDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow off StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } Block { BlockType Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType EnablePort StatesWhenEnabling "held" PropagateVarSize "Only when enabling" ShowOutputPort off ZeroCross on PortDimensions "1" SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeStr "double" Interpolate on } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType From IconDisplay "Tag" TagVisibility "local" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" TagVisibility "local" } Block { BlockType Ground } Block { BlockType HitCross HitCrossingOffset "0" HitCrossingDirection "either" ShowOutputPort on ZeroCross on SampleTime "-1" } Block { BlockType Inport Port "1" OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType InportShadow OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Logic Operator "AND" Inputs "2" IconShape "rectangular" AllPortsSameDT on OutDataTypeStr "Inherit: Logical (see Configuration Parameters: Optimization)" SampleTime "-1" } Block { BlockType Memory X0 "0" InheritSampleTime off LinearizeMemory off LinearizeAsDelay off StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } Block { BlockType MultiPortSwitch DataPortOrder "One-based contiguous" Inputs "3" DataPortIndices "{1,2,3}" DataPortForDefault "Last data port" DiagnosticForDefault "Error" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RateTransition Integrity on Deterministic on X0 "0" OutPortSampleTimeOpt "Specify" OutPortSampleTimeMultiple "1" OutPortSampleTime "-1" } Block { BlockType S-Function FunctionName "system" SFunctionModules "''" PortCounts "[]" SFunctionDeploymentMode off } Block { BlockType Selector NumberOfDimensions "1" IndexMode "One-based" InputPortWidth "-1" SampleTime "-1" } Block { BlockType Sin SineType "Time based" TimeSource "Use simulation time" Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" SFBlockType "NONE" Variant off GeneratePreprocessorConditionals off } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType Terminator } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" ContinuousStateAttributes "''" Realization "auto" } Block { BlockType Trigonometry Operator "sin" ApproximationMethod "None" NumberOfIterations "11" OutputSignalType "auto" SampleTime "-1" } Block { BlockType UnitDelay X0 "0" InputProcessing "Inherited" SampleTime "1" StateMustResolveToSignalObject off RTWStateStorageClass "Auto" HasFrameUpgradeWarning on } Block { BlockType VariableTransportDelay VariableDelayType "Variable time delay" MaximumDelay "1" InitialOutput "0" MaximumPoints "1024" FixedBuffer off ZeroDelay off TransDelayFeedthrough off PadeOrder "0" AbsoluteTolerance "auto" ContinuousStateAttributes "''" } } System { Name "motion_turtle" Location [300, 333, 1139, 790] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" SIDHighWatermark "3258" Block { BlockType Display Name "Actual time in s" SID "1" Ports [1] Position [650, 80, 740, 110] Decimation "1" Lockdown off } Block { BlockType Clock Name "Clock" SID "2" Position [605, 85, 625, 105] } Block { BlockType Reference Name "Set CPU affinity" SID "1606" Ports [] Position [621, 288, 721, 353] BackgroundColor "gray" LibraryVersion "1.47" SourceBlock "Robocup/Set CPU affinity" SourceType "Set CPU affinity" cpu_id "cpu0" } Block { BlockType Step Name "Step" SID "6" Position [125, 47, 155, 63] ShowName off Time "0.5" SampleTime "1/get_global_par('MOTION_SAMPLE_RATE')" } Block { BlockType SubSystem Name "decoupled controlled robot" SID "7" Ports [3, 1] Position [360, 88, 550, 322] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskDisplay "image(imread('Turtle28112008.JPG'));" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" System { Name "decoupled controlled robot" Location [66, 81, 1173, 563] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "TRCbus" SID "8" Position [125, 343, 155, 357] BackgroundColor "lightBlue" IconDisplay "Port number" } Block { BlockType Inport Name "controlbus" SID "9" Position [125, 273, 155, 287] BackgroundColor "gray" Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Motion_tuning_bus" SID "10" Position [45, 163, 75, 177] Port "3" IconDisplay "Port number" } Block { BlockType S-Function Name "Bus assigner" SID "11" Ports [4, 1] Position [835, 74, 1000, 236] BackgroundColor "cyan" FunctionName "sf_bus_assign" Parameters "sizes,offsets,portwidth,types,bus_is_in,bus_size" EnableBusSupport off MaskType "Assign variables in bus." MaskDescription "Bus assigner to assign values to variables in a bus. \nThis block can overwrite values in an exi" "sting bus as well as \ncreate a bus and write values to certain parameters. Busses \ncan be editted and created usi" "ng the busmanager. Note that \ndeleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |Bus is input |position_global_xyo|robot_active|position_local_xyo|tacho_left|tacho" "_right|arm_left|arm_right|battery_voltage|motor_temperatures|panic_and_reset_switches|local_y_velocity|shoot_lever_" "encoder|SHTstatus|SHTValue|capacitorVoltage|startBackupSoftwareSwitch|velLocalRef_dxdydo|rs485ResultCh1|rs485Result" "Ch2|CAM1Status|Status|Counter|CAM1posX|Accelerations|vel_local_xyo_dot|BH_Overheat|0 " "|0 |0 |0 |x " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |memor" "y variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable" "_pardata_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refbo" "xparamsbus|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;bus_is_in=@2;var_name01=&3;var_name02=&4;var_name03=&5;var_name04=&6;var_name0" "5=&7;var_name06=&8;var_name07=&9;var_name08=&10;var_name09=&11;var_name10=&12;var_name11=&13;var_name12=&14;var" "_name13=&15;var_name14=&16;var_name15=&17;var_name16=&18;var_name17=&19;var_name18=&20;var_name19=&21;var_name2" "0=&22;var_name21=&23;var_name22=&24;var_name23=&25;var_name24=&26;var_name25=&27;var_name26=&28;var_name27=&29;" "var_name28=&30;var_name29=&31;var_name30=&32;var_name31=&33;var_name32=&34;var_name33=&35;var_name34=&36;var_na" "me35=&37;var_name36=&38;var_name37=&39;var_name38=&40;var_name39=&41;var_name40=&42;var_name41=&43;var_name42=&" "44;var_name43=&45;var_name44=&46;var_name45=&47;var_name46=&48;var_name47=&49;var_name48=&50;var_name49=&51;var" "_name50=&52;var_name51=&53;var_name52=&54;var_name53=&55;var_name54=&56;var_name55=&57;var_name56=&58;var_name5" "7=&59;var_name58=&60;var_name59=&61;var_name60=&62;var_name61=&63;var_name62=&64;var_name63=&65;var_name64=&66;" "var_name65=&67;var_name66=&68;var_name67=&69;var_name68=&70;var_name69=&71;var_name70=&72;var_name71=&73;var_na" "me72=&74;var_name73=&75;var_name74=&76;var_name75=&77;var_name76=&78;var_name77=&79;var_name78=&80;var_name79=&" "81;var_name80=&82;var_name81=&83;var_name82=&84;var_name83=&85;var_name84=&86;var_name85=&87;var_name86=&88;var" "_name87=&89;var_name88=&90;var_name89=&91;var_name90=&92;var_name91=&93;var_name92=&94;var_name93=&95;var_name9" "4=&96;var_name95=&97;var_name96=&98;var_name97=&99;var_name98=&100;var_name99=&101;var_name100=&102;selected_bu" "s=&103;var_ids=&104;checked_var_ids=&105;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_assign('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "|||||||||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on" MaskInitialization "mask_sf_bus_assign('init');\n" MaskSelfModifiable on MaskDisplay "port_label('input',1,'robot_active');\nport_label('input',2,'position_local_xyo[3]');\nport_" "label('input',3,'tacho_left');\nport_label('input',4,'tacho_right');\nport_label('input',5,'arm_left');\nport_l" "abel('input',6,'arm_right');\nport_label('input',7,'battery_voltage');\nport_label('input',8,'motor_temperature" "s[3]');\nport_label('input',9,'panic_and_reset_switches[2]');\nport_label('input',10,'startBackupSoftwareSwitch" "');\nport_label('input',11,'shoot_lever_encoder');\nport_label('input',12,'SHTstatus');\nport_label('input',13," "'SHTValue');\nport_label('input',14,'capacitorVoltage');\nport_label('input',15,'rs485ResultCh1[24]');\nport_la" "bel('input',16,'rs485ResultCh2[24]');\nport_label('input',17,'CAM1Status');\nport_label('input',18,'Status');\n" "port_label('input',19,'Counter');\nport_label('input',20,'CAM1posX');\nport_label('input',21,'Accelerations[3]'" ");\nport_label('output',1,'motionbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "motionbus|off|off|on|on|on|on|on|on|on|on|on|off|on|on|on|on|on|off|on|on|on|on|on|on|on" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|motionbus|2,3,4,5,6,7,8,9,11" ",13,14,15,16,17,18,20,22,23,24,25,26,27,28,29,30,31,|3,4,5,6,7,8,9,11,13,20,15,16,17,18,23,24,25,26,27,28,29," } Block { BlockType S-Function Name "Bus decoder" SID "19" Ports [1, 1] Position [175, 105, 320, 135] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using" " the busmanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |turtleID|teamColor|blueIsHome|roleIDs|refboxRoleIDs|refboxTask|refboxTaskT" "rigger|destination_xyo|roleAssignerMode|penaltyDemoMode|notBallHandlingDemo|joystick_v_xyo|joystickSkillID|joys" "tickKickEffort|joystickOnOff|t_RC|e4ffsd|0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |x |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0" " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0" " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable" "_pardata_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refbo" "xparamsbus|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name" "06=&7;var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;va" "r_name14=&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name" "21=&22;var_name22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29" ";var_name29=&30;var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_n" "ame36=&37;var_name37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=" "&44;var_name44=&45;var_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;va" "r_name51=&52;var_name52=&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name" "58=&59;var_name59=&60;var_name60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66" ";var_name66=&67;var_name67=&68;var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_n" "ame73=&74;var_name74=&75;var_name75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=" "&81;var_name81=&82;var_name82=&83;var_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;va" "r_name88=&89;var_name89=&90;var_name90=&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name" "95=&96;var_name96=&97;var_name97=&98;var_name98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=" "&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'fastStopFlag');\nport_label('output',2,'ballHandlingControl[2]');\npo" "rt_label('output',3,'shootLeverAngleMotor');\nport_label('output',4,'powerOnOff');\nport_label('output',5,'ampl" "ifiersOnOff');\nport_label('output',6,'LEDResetPanicSwitchButton');\nport_label('output',7,'LEDBlue');\nport_la" "bel('output',8,'LEDAmber');\nport_label('output',9,'keeperFrame_ulr[3]');\nport_label('output',10,'SHTControl')" ";\nport_label('output',11,'SHTDutyCycle');\nport_label('output',12,'clampBall');\nport_label('output',13,'rs485" "ControlCh1[23]');\nport_label('output',14,'rs485ControlCh2[23]');\nport_label('output',15,'CAM1Control');\nport" "_label('output',16,'scrum_light_flag');\nport_label('output',17,'CPBarm');\nport_label('input',1,'controlbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "controlbus|off|on|on|off|off|on|on|on|on|on|on|on|on|off|on|off|off|on|on|off|off|on|on|" "on|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|controlbus|1,2,3,4,5,8,9,10" ",11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,28,29,30,31,|28,25,8,2,3,9,10,11,12,13,14,15,20,22,26,29,17," } Block { BlockType Reference Name "Compare\nTo Constant" SID "2061" Ports [1, 1] Position [375, 730, 405, 760] ZOrder -5 LibraryVersion "1.260" SourceBlock "simulink/Logic and Bit\nOperations/Compare\nTo Constant" SourceType "Compare To Constant" relop "~=" const "0.0" OutDataTypeStr "uint8" ZeroCross on } Block { BlockType DataTypeConversion Name "Data Type Conversion" SID "21" Position [1125, 458, 1200, 492] RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion1" SID "22" Position [400, 176, 440, 204] ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Demux Name "Demux1" SID "23" Ports [1, 2] Position [645, 171, 650, 249] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Demux Name "Demux3" SID "24" Ports [1, 3] Position [565, 455, 570, 565] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Gain Name "Gain2" SID "25" Position [1045, 485, 1075, 515] Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType HitCross Name "Hit \nCrossing" SID "26" Ports [1, 1] Position [1155, 115, 1185, 145] ShowName off HitCrossingOffset "0.5" HitCrossingDirection "falling" } Block { BlockType SubSystem Name "Low Level Control" SID "27" Ports [5, 2] Position [470, 58, 630, 182] BackgroundColor "gray" AttributesFormatString "%" LinkData { BlockName "Keeper/Dead Zone" DialogParameters { LowerValue "-0.02" UpperValue "0.02" } } BlockChoice "Keeper" TemplateBlock "low_level_control_lib/Low Level Control" MemberBlocks "Keeper,Turtle,Turtle4W" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Low Level Control" Location [148, 182, 646, 482] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "680" Block { BlockType Inport Name "enc" SID "27::56" Position [20, 40, 40, 60] IconDisplay "Port number" } Block { BlockType Inport Name "poslocal_ref" SID "27::57" Position [20, 80, 40, 100] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "noBallHandlingDemo" SID "27::58" Position [20, 120, 40, 140] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "motion tuning bus" SID "27::59" Position [20, 160, 40, 180] Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "faststop" SID "27::60" Position [20, 200, 40, 220] Port "5" IconDisplay "Port number" } Block { BlockType Reference Name "Keeper" SID "27::1" Ports [5, 2] Position [100, 40, 140, 80] BackgroundColor "gray" LibraryVersion "1.64" SourceBlock "low_level_control_lib/Keeper" SourceType "SubSystem" } Block { BlockType Outport Name "xyo_l" SID "27::62" Position [200, 40, 220, 60] IconDisplay "Port number" } Block { BlockType Outport Name "dacs" SID "27::63" Position [200, 80, 220, 100] Port "2" IconDisplay "Port number" } Line { SrcBlock "enc" SrcPort 1 DstBlock "Keeper" DstPort 1 } Line { SrcBlock "poslocal_ref" SrcPort 1 DstBlock "Keeper" DstPort 2 } Line { SrcBlock "noBallHandlingDemo" SrcPort 1 DstBlock "Keeper" DstPort 3 } Line { SrcBlock "motion tuning bus" SrcPort 1 DstBlock "Keeper" DstPort 4 } Line { SrcBlock "faststop" SrcPort 1 DstBlock "Keeper" DstPort 5 } Line { SrcBlock "Keeper" SrcPort 1 DstBlock "xyo_l" DstPort 1 } Line { SrcBlock "Keeper" SrcPort 2 DstBlock "dacs" DstPort 1 } } } Block { BlockType Memory Name "Memory2" SID "28" Position [535, 695, 565, 725] ShowName off InheritSampleTime on } Block { BlockType Memory Name "Memory3" SID "29" Position [535, 655, 565, 685] ShowName off InheritSampleTime on } Block { BlockType Mux Name "Mux1" SID "30" Ports [3, 1] Position [900, 734, 905, 816] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" SID "31" Ports [2, 1] Position [910, 410, 915, 465] NamePlacement "alternate" ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" SID "32" Ports [3, 1] Position [945, 334, 950, 416] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Play audio" SID "33" Ports [1] Position [1365, 109, 1420, 151] BackgroundColor "orange" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskPromptString "audio file name" MaskStyleString "edit" MaskVariables "audio_file_name=@1;" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "'/home/robocup/svn/trunk/src/Turtle2/Libs/sound/arnie.wav'" System { Name "Play audio" Location [5, 77, 1437, 879] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "audio trigger" SID "34" Position [25, 58, 55, 72] IconDisplay "Port number" } Block { BlockType S-Function Name "S-Function" SID "35" Ports [1, 1] Position [80, 27, 170, 103] BackgroundColor "orange" FunctionName "sf_play_audio" Parameters "audio_file_name" EnableBusSupport off } Block { BlockType Terminator Name "Terminator" SID "36" Position [200, 55, 220, 75] } Line { SrcBlock "S-Function" SrcPort 1 Points [0, 0] DstBlock "Terminator" DstPort 1 } Line { SrcBlock "audio trigger" SrcPort 1 Points [0, 0] DstBlock "S-Function" DstPort 1 } } } Block { BlockType Product Name "Product" SID "37" Ports [2, 1] Position [570, 567, 600, 598] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "38" Ports [2, 1] Position [570, 602, 600, 633] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType S-Function Name "S-Function" SID "39" Ports [1, 1] Position [985, 359, 1090, 391] ShowName off FunctionName "convert_temperature" EnableBusSupport off } Block { BlockType SubSystem Name "Subsystem" SID "40" Ports [18, 26] Position [670, 141, 845, 834] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem" Location [136, 81, 1134, 875] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "dacs" SID "41" Position [90, 118, 120, 132] IconDisplay "Port number" } Block { BlockType Inport Name "ball left" SID "42" Position [165, 243, 195, 257] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "ball right" SID "43" Position [165, 293, 195, 307] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "kick motor" SID "44" Position [165, 343, 195, 357] Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "power on/off" SID "45" Position [165, 393, 195, 407] Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "amplifiers on/off" SID "46" Position [165, 443, 195, 457] Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "LED (reset motion)" SID "47" Position [165, 493, 195, 507] Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "LED (blue)" SID "48" Position [165, 593, 195, 607] Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "LED (amber)" SID "49" Position [165, 643, 195, 657] Port "9" IconDisplay "Port number" } Block { BlockType Inport Name "Keeper up" SID "50" Position [165, 793, 195, 807] Port "10" IconDisplay "Port number" } Block { BlockType Inport Name "Keeper left" SID "51" Position [165, 743, 195, 757] Port "11" IconDisplay "Port number" } Block { BlockType Inport Name "Keeper right" SID "52" Position [165, 693, 195, 707] Port "12" IconDisplay "Port number" } Block { BlockType Inport Name "SHTcontrol" SID "53" Position [165, 843, 195, 857] Port "13" IconDisplay "Port number" } Block { BlockType Inport Name "SHTdutycycle" SID "54" Position [165, 893, 195, 907] Port "14" IconDisplay "Port number" } Block { BlockType Inport Name "clamp ball" SID "55" Position [165, 993, 195, 1007] Port "15" IconDisplay "Port number" } Block { BlockType Inport Name "rs485ToDxlCh1" SID "56" Position [35, 918, 65, 932] Port "16" IconDisplay "Port number" } Block { BlockType Inport Name "rs485ToDxlCh2" SID "57" Position [55, 963, 85, 977] Port "17" IconDisplay "Port number" } Block { BlockType Inport Name "CAM1Control" SID "58" Position [170, 1043, 200, 1057] Port "18" IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "59" Position [705, 407, 720, 423] ShowName off Value "0" } Block { BlockType Constant Name "Constant1" SID "60" Position [705, 427, 720, 443] ShowName off } Block { BlockType DataTypeConversion Name "Data Type Conversion1" SID "61" Position [680, 557, 720, 573] NamePlacement "alternate" ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion2" SID "62" Position [680, 592, 720, 608] NamePlacement "alternate" ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "Data aquisition" SID "63" Ports [21, 28] Position [295, 42, 635, 1053] BackgroundColor "gray" AttributesFormatString "%" BlockChoice "Turtle" TemplateBlock "data_aquisition_lib/Data aquisition" MemberBlocks "Keeper,Simulator,Turtle,Turtle4W" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Data aquisition" Location [148, 182, 646, 482] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark "1004" Block { BlockType Inport Name "DAC Drive Motor 1" SID "63::2" Position [20, 40, 40, 60] IconDisplay "Port number" } Block { BlockType Inport Name "DAC Drive Motor 2" SID "63::3" Position [20, 80, 40, 100] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "DAC Drive Motor 3" SID "63::4" Position [20, 120, 40, 140] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "DAC Drive Motor 4" SID "63::5" Position [20, 160, 40, 180] Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "DAC Ball Motor 1 (left)" SID "63::6" Position [20, 200, 40, 220] Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "DAC Ball Motor 2 (right)" SID "63::7" Position [20, 240, 40, 260] Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "DAC Kick Motor" SID "63::8" Position [20, 280, 40, 300] Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "Power on/off" SID "63::9" Position [20, 320, 40, 340] Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "Amplifiers on/off" SID "63::10" Position [20, 360, 40, 380] Port "9" IconDisplay "Port number" } Block { BlockType Inport Name "LED panic switch" SID "63::11" Position [20, 400, 40, 420] Port "10" IconDisplay "Port number" } Block { BlockType Inport Name "LED Spare switch" SID "63::12" Position [20, 440, 40, 460] Port "11" IconDisplay "Port number" } Block { BlockType Inport Name "LED blue" SID "63::13" Position [20, 480, 40, 500] Port "12" IconDisplay "Port number" } Block { BlockType Inport Name "LED amber" SID "63::14" Position [20, 520, 40, 540] Port "13" IconDisplay "Port number" } Block { BlockType Inport Name "Keeper right" SID "63::15" Position [20, 560, 40, 580] Port "14" IconDisplay "Port number" } Block { BlockType Inport Name "Keeper left" SID "63::16" Position [20, 600, 40, 620] Port "15" IconDisplay "Port number" } Block { BlockType Inport Name "Keeper up" SID "63::17" Position [20, 640, 40, 660] Port "16" IconDisplay "Port number" } Block { BlockType Inport Name "SHTcontrol" SID "63::18" Position [20, 680, 40, 700] Port "17" IconDisplay "Port number" } Block { BlockType Inport Name "SHTdutycycle" SID "63::19" Position [20, 720, 40, 740] Port "18" IconDisplay "Port number" } Block { BlockType Inport Name "RS485out" SID "63::20" Position [20, 760, 40, 780] Port "19" IconDisplay "Port number" } Block { BlockType Inport Name "Block ball" SID "63::21" Position [20, 800, 40, 820] Port "20" IconDisplay "Port number" } Block { BlockType Inport Name "CAM1Control" SID "63::22" Position [20, 840, 40, 860] Port "21" IconDisplay "Port number" } Block { BlockType Reference Name "Turtle" SID "63::23" Ports [21, 28] Position [100, 15, 140, 150] BackgroundColor "gray" LibraryVersion "1.315" FontSize 14 SourceBlock "data_aquisition_lib/Turtle" SourceType "SubSystem" } Block { BlockType Outport Name "ENC Drive Motor 1" SID "63::24" Position [200, 40, 220, 60] IconDisplay "Port number" } Block { BlockType Outport Name "ENC Drive Motor 2" SID "63::25" Position [200, 80, 220, 100] Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "ENC Drive Motor 3" SID "63::26" Position [200, 120, 220, 140] Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "ENC Drive Motor 4" SID "63::27" Position [200, 160, 220, 180] Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "ENC Kick Motor" SID "63::28" Position [200, 200, 220, 220] Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "Arm 1 (left)" SID "63::29" Position [200, 240, 220, 260] Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "Arm 2 (right)" SID "63::30" Position [200, 280, 220, 300] Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "Wireless panic switch" SID "63::31" Position [200, 320, 220, 340] Port "8" IconDisplay "Port number" } Block { BlockType Outport Name "Reset panic switch" SID "63::32" Position [200, 360, 220, 380] Port "9" IconDisplay "Port number" } Block { BlockType Outport Name "Start backup software switch" SID "63::33" Position [200, 840, 220, 860] Port "10" IconDisplay "Port number" } Block { BlockType Outport Name "In/Out field" SID "63::34" Position [200, 400, 220, 420] Port "11" IconDisplay "Port number" } Block { BlockType Outport Name "tacho0" SID "63::35" Position [200, 440, 220, 460] Port "12" IconDisplay "Port number" } Block { BlockType Outport Name "tacho1" SID "63::36" Position [200, 480, 220, 500] Port "13" IconDisplay "Port number" } Block { BlockType Outport Name "battery" SID "63::37" Position [200, 520, 220, 540] Port "14" IconDisplay "Port number" } Block { BlockType Outport Name "SHTstatus" SID "63::38" Position [200, 600, 220, 620] Port "15" IconDisplay "Port number" } Block { BlockType Outport Name "SHTvalue" SID "63::39" Position [200, 640, 220, 660] Port "16" IconDisplay "Port number" } Block { BlockType Outport Name "Tmotor1" SID "63::40" Position [200, 680, 220, 700] Port "17" IconDisplay "Port number" } Block { BlockType Outport Name "Tmotor2" SID "63::41" Position [200, 720, 220, 740] Port "18" IconDisplay "Port number" } Block { BlockType Outport Name "Tmotor3" SID "63::42" Position [200, 760, 220, 780] Port "19" IconDisplay "Port number" } Block { BlockType Outport Name "AD8" SID "63::43" Position [200, 800, 220, 820] Port "20" IconDisplay "Port number" } Block { BlockType Outport Name "RS485in" SID "63::44" Position [200, 840, 220, 860] Port "21" IconDisplay "Port number" } Block { BlockType Outport Name "Cam1Status" SID "63::45" Position [200, 880, 220, 900] Port "22" IconDisplay "Port number" } Block { BlockType Outport Name "Status" SID "63::46" Position [200, 920, 220, 940] Port "23" IconDisplay "Port number" } Block { BlockType Outport Name "Counter" SID "63::47" Position [200, 960, 220, 980] Port "24" IconDisplay "Port number" } Block { BlockType Outport Name "CAM1posX" SID "63::48" Position [200, 1000, 220, 1020] Port "25" IconDisplay "Port number" } Block { BlockType Outport Name "AccelX" SID "63::49" Position [200, 1040, 220, 1060] Port "26" IconDisplay "Port number" } Block { BlockType Outport Name "AccelY" SID "63::50" Position [200, 1080, 220, 1100] Port "27" IconDisplay "Port number" } Block { BlockType Outport Name "AccelZ" SID "63::51" Position [200, 1120, 220, 1140] Port "28" IconDisplay "Port number" } Line { SrcBlock "DAC Drive Motor 1" SrcPort 1 DstBlock "Turtle" DstPort 1 } Line { SrcBlock "DAC Drive Motor 2" SrcPort 1 DstBlock "Turtle" DstPort 2 } Line { SrcBlock "DAC Drive Motor 3" SrcPort 1 DstBlock "Turtle" DstPort 3 } Line { SrcBlock "DAC Drive Motor 4" SrcPort 1 DstBlock "Turtle" DstPort 4 } Line { SrcBlock "DAC Ball Motor 1 (left)" SrcPort 1 DstBlock "Turtle" DstPort 5 } Line { SrcBlock "DAC Ball Motor 2 (right)" SrcPort 1 DstBlock "Turtle" DstPort 6 } Line { SrcBlock "DAC Kick Motor" SrcPort 1 DstBlock "Turtle" DstPort 7 } Line { SrcBlock "Power on/off" SrcPort 1 DstBlock "Turtle" DstPort 8 } Line { SrcBlock "Amplifiers on/off" SrcPort 1 DstBlock "Turtle" DstPort 9 } Line { SrcBlock "LED panic switch" SrcPort 1 DstBlock "Turtle" DstPort 10 } Line { SrcBlock "LED Spare switch" SrcPort 1 DstBlock "Turtle" DstPort 11 } Line { SrcBlock "LED blue" SrcPort 1 DstBlock "Turtle" DstPort 12 } Line { SrcBlock "LED amber" SrcPort 1 DstBlock "Turtle" DstPort 13 } Line { SrcBlock "Keeper right" SrcPort 1 DstBlock "Turtle" DstPort 14 } Line { SrcBlock "Keeper left" SrcPort 1 DstBlock "Turtle" DstPort 15 } Line { SrcBlock "Keeper up" SrcPort 1 DstBlock "Turtle" DstPort 16 } Line { SrcBlock "SHTcontrol" SrcPort 1 DstBlock "Turtle" DstPort 17 } Line { SrcBlock "SHTdutycycle" SrcPort 1 DstBlock "Turtle" DstPort 18 } Line { SrcBlock "RS485out" SrcPort 1 DstBlock "Turtle" DstPort 19 } Line { SrcBlock "Block ball" SrcPort 1 DstBlock "Turtle" DstPort 20 } Line { SrcBlock "CAM1Control" SrcPort 1 DstBlock "Turtle" DstPort 21 } Line { SrcBlock "Turtle" SrcPort 1 DstBlock "ENC Drive Motor 1" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 2 DstBlock "ENC Drive Motor 2" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 3 DstBlock "ENC Drive Motor 3" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 4 DstBlock "ENC Drive Motor 4" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 5 DstBlock "ENC Kick Motor" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 6 DstBlock "Arm 1 (left)" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 7 DstBlock "Arm 2 (right)" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 8 DstBlock "Wireless panic switch" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 9 DstBlock "Reset panic switch" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 10 DstBlock "Start backup software switch" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 11 DstBlock "In/Out field" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 12 DstBlock "tacho0" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 13 DstBlock "tacho1" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 14 DstBlock "battery" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 15 DstBlock "SHTstatus" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 16 DstBlock "SHTvalue" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 17 DstBlock "Tmotor1" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 18 DstBlock "Tmotor2" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 19 DstBlock "Tmotor3" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 20 DstBlock "AD8" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 21 DstBlock "RS485in" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 22 DstBlock "Cam1Status" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 23 DstBlock "Status" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 24 DstBlock "Counter" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 25 DstBlock "CAM1posX" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 26 DstBlock "AccelX" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 27 DstBlock "AccelY" DstPort 1 } Line { SrcBlock "Turtle" SrcPort 28 DstBlock "AccelZ" DstPort 1 } } } Block { BlockType Demux Name "Demux" SID "64" Ports [1, 2] Position [800, 739, 805, 806] BackgroundColor "black" ShowName off Outputs "[24, 24]" DisplayOption "bar" } Block { BlockType Demux Name "Demux2" SID "65" Ports [1, 4] Position [185, 24, 190, 226] BackgroundColor "black" ShowName off DisplayOption "bar" } Block { BlockType Constant Name "Feed\nTUe" SID "66" Position [105, 540, 125, 560] } Block { BlockType Gain Name "Gain2" SID "67" Position [225, 135, 255, 165] ShowName off Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain3" SID "68" Position [225, 185, 255, 215] ShowName off Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain4" SID "69" Position [230, 85, 260, 115] ShowName off Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain5" SID "70" Position [230, 35, 260, 65] ShowName off Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Mux Name "Mux" SID "71" Ports [2, 1] Position [110, 903, 115, 992] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux7" SID "72" Ports [4, 1] Position [700, 52, 705, 203] NamePlacement "alternate" ShowName off DisplayOption "bar" } Block { BlockType Switch Name "Switch" SID "73" Position [755, 410, 785, 440] Criteria "u2 > Threshold" Threshold ".5" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Gain Name "static gain sensor" SID "74" Position [695, 515, 725, 545] Gain "3.2" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "encs" SID "75" Position [745, 123, 775, 137] IconDisplay "Port number" } Block { BlockType Outport Name "robot_active" SID "76" Position [835, 418, 865, 432] Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "tacho left" SID "77" Position [750, 453, 780, 467] Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "tacho right" SID "78" Position [750, 488, 780, 502] Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "arm left" SID "79" Position [745, 243, 775, 257] Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "arm right" SID "80" Position [745, 278, 775, 292] Port "6" IconDisplay "Port number" } Block { BlockType Outport Name "battery" SID "81" Position [750, 523, 780, 537] Port "7" IconDisplay "Port number" } Block { BlockType Outport Name "Tmotor1" SID "82" Position [750, 628, 780, 642] Port "8" IconDisplay "Port number" } Block { BlockType Outport Name "Tmotor2" SID "83" Position [750, 663, 780, 677] Port "9" IconDisplay "Port number" } Block { BlockType Outport Name "Tmotor3" SID "84" Position [750, 698, 780, 712] Port "10" IconDisplay "Port number" } Block { BlockType Outport Name "switch (panic)" SID "85" Position [745, 313, 775, 327] Port "11" IconDisplay "Port number" } Block { BlockType Outport Name "switch (reset panic switch)" SID "86" Position [745, 348, 775, 362] Port "12" IconDisplay "Port number" } Block { BlockType Outport Name "switch (start backup software)" SID "87" Position [745, 383, 775, 397] Port "13" IconDisplay "Port number" } Block { BlockType Outport Name "enc kick" SID "88" Position [745, 208, 775, 222] Port "14" IconDisplay "Port number" } Block { BlockType Outport Name "SHTstatus" SID "89" Position [750, 558, 780, 572] Port "15" IconDisplay "Port number" } Block { BlockType Outport Name "SHTvalue" SID "90" Position [750, 593, 780, 607] Port "16" IconDisplay "Port number" } Block { BlockType Outport Name "capacitorVoltage" SID "91" Position [750, 733, 780, 747] Port "17" IconDisplay "Port number" } Block { BlockType Outport Name "rs485FromDxlCh1" SID "92" Position [855, 748, 885, 762] Port "18" IconDisplay "Port number" } Block { BlockType Outport Name "rs485FromDxlCh2" SID "93" Position [855, 783, 885, 797] Port "19" IconDisplay "Port number" } Block { BlockType Outport Name "CAM1Status" SID "94" Position [745, 803, 775, 817] Port "20" IconDisplay "Port number" } Block { BlockType Outport Name "Status" SID "95" Position [745, 838, 775, 852] Port "21" IconDisplay "Port number" } Block { BlockType Outport Name "Counter" SID "96" Position [745, 873, 775, 887] Port "22" IconDisplay "Port number" } Block { BlockType Outport Name "CAM1posX" SID "97" Position [745, 908, 775, 922] Port "23" IconDisplay "Port number" } Block { BlockType Outport Name "AccelX" SID "98" Position [745, 943, 775, 957] Port "24" IconDisplay "Port number" } Block { BlockType Outport Name "AccelY" SID "99" Position [750, 978, 780, 992] Port "25" IconDisplay "Port number" } Block { BlockType Outport Name "AccelZ" SID "100" Position [750, 1013, 780, 1027] Port "26" IconDisplay "Port number" } Line { SrcBlock "static gain sensor" SrcPort 1 DstBlock "battery" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Switch" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Switch" DstPort 3 } Line { SrcBlock "Switch" SrcPort 1 DstBlock "robot_active" DstPort 1 } Line { SrcBlock "Data Type Conversion2" SrcPort 1 DstBlock "SHTvalue" DstPort 1 } Line { SrcBlock "Data Type Conversion1" SrcPort 1 DstBlock "SHTstatus" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 3 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "dacs" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Mux7" SrcPort 1 DstBlock "encs" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 4 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Data aquisition" DstPort 3 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Data aquisition" DstPort 4 } Line { SrcBlock "ball left" SrcPort 1 DstBlock "Data aquisition" DstPort 5 } Line { SrcBlock "ball right" SrcPort 1 DstBlock "Data aquisition" DstPort 6 } Line { SrcBlock "kick motor" SrcPort 1 DstBlock "Data aquisition" DstPort 7 } Line { SrcBlock "power on/off" SrcPort 1 DstBlock "Data aquisition" DstPort 8 } Line { SrcBlock "amplifiers on/off" SrcPort 1 DstBlock "Data aquisition" DstPort 9 } Line { SrcBlock "LED (reset motion)" SrcPort 1 DstBlock "Data aquisition" DstPort 10 } Line { SrcBlock "Feed\nTUe" SrcPort 1 DstBlock "Data aquisition" DstPort 11 } Line { SrcBlock "LED (blue)" SrcPort 1 DstBlock "Data aquisition" DstPort 12 } Line { SrcBlock "LED (amber)" SrcPort 1 DstBlock "Data aquisition" DstPort 13 } Line { SrcBlock "Keeper right" SrcPort 1 DstBlock "Data aquisition" DstPort 14 } Line { SrcBlock "Keeper left" SrcPort 1 DstBlock "Data aquisition" DstPort 15 } Line { SrcBlock "Keeper up" SrcPort 1 DstBlock "Data aquisition" DstPort 16 } Line { SrcBlock "SHTcontrol" SrcPort 1 DstBlock "Data aquisition" DstPort 17 } Line { SrcBlock "SHTdutycycle" SrcPort 1 DstBlock "Data aquisition" DstPort 18 } Line { SrcBlock "Data aquisition" SrcPort 5 DstBlock "enc kick" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 1 DstBlock "Mux7" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 2 DstBlock "Mux7" DstPort 2 } Line { SrcBlock "Data aquisition" SrcPort 3 DstBlock "Mux7" DstPort 3 } Line { SrcBlock "Data aquisition" SrcPort 4 DstBlock "Mux7" DstPort 4 } Line { SrcBlock "Data aquisition" SrcPort 6 DstBlock "arm left" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 7 DstBlock "arm right" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 8 DstBlock "switch (panic)" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 9 DstBlock "switch (reset panic switch)" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Data aquisition" DstPort 19 } Line { SrcBlock "clamp ball" SrcPort 1 DstBlock "Data aquisition" DstPort 20 } Line { SrcBlock "Data aquisition" SrcPort 11 DstBlock "Switch" DstPort 2 } Line { SrcBlock "Data aquisition" SrcPort 12 DstBlock "tacho left" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 13 DstBlock "tacho right" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 14 DstBlock "static gain sensor" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 15 DstBlock "Data Type Conversion1" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 16 DstBlock "Data Type Conversion2" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 17 DstBlock "Tmotor1" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 18 DstBlock "Tmotor2" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 19 DstBlock "Tmotor3" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 20 DstBlock "capacitorVoltage" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 21 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 10 DstBlock "switch (start backup software)" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "rs485FromDxlCh2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "rs485FromDxlCh1" DstPort 1 } Line { SrcBlock "rs485ToDxlCh1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "rs485ToDxlCh2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Data aquisition" SrcPort 22 DstBlock "CAM1Status" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 23 DstBlock "Status" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 24 DstBlock "Counter" DstPort 1 } Line { SrcBlock "CAM1Control" SrcPort 1 DstBlock "Data aquisition" DstPort 21 } Line { SrcBlock "Data aquisition" SrcPort 25 DstBlock "CAM1posX" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 26 DstBlock "AccelX" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 27 DstBlock "AccelY" DstPort 1 } Line { SrcBlock "Data aquisition" SrcPort 28 DstBlock "AccelZ" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Data aquisition" DstPort 2 } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "Data aquisition" DstPort 1 } } } Block { BlockType Terminator Name "Terminator2" SID "2066" Position [445, 790, 465, 810] ZOrder -5 } Block { BlockType Terminator Name "Terminator3" SID "2071" Position [435, 735, 455, 755] ZOrder -5 } Block { BlockType UnitDelay Name "Unit Delay2" SID "1639" Position [340, 103, 370, 137] ShowName off SampleTime "Ts" } Block { BlockType Outport Name "posLocal_xyo" SID "101" Position [1305, 83, 1335, 97] IconDisplay "Port number" } Block { BlockType Outport Name "motionbus" SID "102" Position [1490, 493, 1520, 507] BackgroundColor "darkGreen" Port "2" IconDisplay "Port number" } Line { SrcBlock "Demux3" SrcPort 3 Points [55, 0; 0, 45] DstBlock "Subsystem" DstPort 12 } Line { SrcBlock "Demux3" SrcPort 2 Points [65, 0; 0, 40] DstBlock "Subsystem" DstPort 11 } Line { SrcBlock "Demux3" SrcPort 1 Points [75, 0; 0, 35] DstBlock "Subsystem" DstPort 10 } Line { SrcBlock "Subsystem" SrcPort 3 Points [355, 0; 0, 75] DstBlock "Bus assigner" DstPort 3 } Line { SrcBlock "Subsystem" SrcPort 4 Points [335, 0; 0, 75] DstBlock "Bus assigner" DstPort 4 } Line { SrcBlock "Subsystem" SrcPort 5 Points [315, 0; 0, 75] DstBlock "Bus assigner" DstPort 5 } Line { SrcBlock "Subsystem" SrcPort 6 Points [295, 0; 0, 75] DstBlock "Bus assigner" DstPort 6 } Line { SrcBlock "Subsystem" SrcPort 2 Points [150, 0] Branch { Points [0, -70] DstBlock "Hit \nCrossing" DstPort 1 } Branch { Points [295, 0] DstBlock "Bus assigner" DstPort 1 } } Line { SrcBlock "Subsystem" SrcPort 11 DstBlock "Mux3" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 12 DstBlock "Mux3" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 8 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 9 DstBlock "Mux4" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 10 DstBlock "Mux4" DstPort 3 } Line { SrcBlock "Mux4" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0; 0, 45] DstBlock "Subsystem" DstPort 13 } Line { SrcBlock "Bus decoder1" SrcPort 10 Points [215, 0; 0, 55] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [5, 0; 0, 50] DstBlock "Subsystem" DstPort 14 } Line { SrcBlock "Bus decoder1" SrcPort 11 Points [25, 0; 0, 55] DstBlock "Product1" DstPort 1 } Line { SrcBlock "TRCbus" SrcPort 1 DstBlock "Bus decoder" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 7 Points [275, 0; 0, 75] DstBlock "Bus assigner" DstPort 7 } Line { SrcBlock "S-Function" SrcPort 1 Points [10, 0; 0, 50] DstBlock "Bus assigner" DstPort 8 } Line { SrcBlock "Hit \nCrossing" SrcPort 1 DstBlock "Play audio" DstPort 1 } Line { SrcBlock "Bus assigner" SrcPort 1 DstBlock "motionbus" DstPort 1 } Line { SrcBlock "Bus decoder" SrcPort 1 DstBlock "Unit Delay2" DstPort 1 } Line { SrcBlock "Mux3" SrcPort 1 Points [375, 0] DstBlock "Bus assigner" DstPort 9 } Line { SrcBlock "Low Level Control" SrcPort 1 Points [620, 0] Branch { DstBlock "posLocal_xyo" DstPort 1 } Branch { Points [0, 185] DstBlock "Bus assigner" DstPort 2 } } Line { SrcBlock "Low Level Control" SrcPort 2 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "posLocalRef_xyo" SrcPort 1 DstBlock "Low Level Control" DstPort 2 } Line { SrcBlock "Bus decoder1" SrcPort 12 Points [15, 0; 0, 55; 260, 0; 0, 65] DstBlock "Subsystem" DstPort 15 } Line { SrcBlock "Subsystem" SrcPort 13 DstBlock "Data Type Conversion" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 14 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 15 DstBlock "Bus assigner" DstPort 12 } Line { SrcBlock "Subsystem" SrcPort 16 DstBlock "Bus assigner" DstPort 13 } Line { SrcBlock "Subsystem" SrcPort 17 DstBlock "Bus assigner" DstPort 14 } Line { SrcBlock "Data Type Conversion" SrcPort 1 DstBlock "Bus assigner" DstPort 10 } Line { SrcBlock "controlbus" SrcPort 1 Points [35, 0] DstBlock "Bus decoder1" DstPort 1 } Line { SrcBlock "Bus decoder1" SrcPort 3 Points [0, -5] DstBlock "Subsystem" DstPort 4 } Line { SrcBlock "Bus decoder1" SrcPort 4 DstBlock "Subsystem" DstPort 5 } Line { SrcBlock "Bus decoder1" SrcPort 5 Points [0, 5] DstBlock "Subsystem" DstPort 6 } Line { SrcBlock "Bus decoder1" SrcPort 6 Points [0, 10] DstBlock "Subsystem" DstPort 7 } Line { SrcBlock "Bus decoder1" SrcPort 9 Points [0, 25] DstBlock "Demux3" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Bus assigner" DstPort 11 } Line { SrcBlock "Subsystem" SrcPort 18 DstBlock "Bus assigner" DstPort 15 } Line { SrcBlock "Bus decoder1" SrcPort 14 Points [10, 0; 0, 30; 185, 0] DstBlock "Memory2" DstPort 1 } Line { SrcBlock "Bus decoder1" SrcPort 13 Points [0, 45] DstBlock "Memory3" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 19 DstBlock "Bus assigner" DstPort 16 } Line { SrcBlock "Demux1" SrcPort 2 DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "Demux1" SrcPort 1 DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "Bus decoder1" SrcPort 2 Points [305, 0] DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 20 DstBlock "Bus assigner" DstPort 17 } Line { SrcBlock "Subsystem" SrcPort 21 DstBlock "Bus assigner" DstPort 18 } Line { SrcBlock "Subsystem" SrcPort 22 DstBlock "Bus assigner" DstPort 19 } Line { SrcBlock "Bus decoder1" SrcPort 15 Points [0, 25; 240, 0; 0, 110] DstBlock "Subsystem" DstPort 18 } Line { SrcBlock "Subsystem" SrcPort 23 DstBlock "Bus assigner" DstPort 20 } Line { SrcBlock "Memory2" SrcPort 1 Points [10, 0; 0, 80] DstBlock "Subsystem" DstPort 17 } Line { SrcBlock "Memory3" SrcPort 1 Points [20, 0; 0, 80] DstBlock "Subsystem" DstPort 16 } Line { SrcBlock "motion tuning bus" SrcPort 1 DstBlock "Low Level Control" DstPort 4 } Line { SrcBlock "Subsystem" SrcPort 24 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 25 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Subsystem" SrcPort 26 DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Mux1" SrcPort 1 Points [385, 0] DstBlock "Bus assigner" DstPort 21 } Line { SrcBlock "Bus decoder1" SrcPort 1 Points [0, -15] DstBlock "Data Type Conversion1" DstPort 1 } Line { SrcBlock "Data Type Conversion1" SrcPort 1 Points [10, 0] DstBlock "Low Level Control" DstPort 5 } Line { SrcBlock "Unit Delay2" SrcPort 1 Points [5, 0] Branch { DstBlock "Low Level Control" DstPort 3 } Branch { Points [0, 470; 145, 0] Branch { Points [0, 35] DstBlock "Product1" DstPort 2 } Branch { DstBlock "Product" DstPort 2 } } } Line { SrcBlock "Subsystem" SrcPort 1 Points [10, 0; 0, -130; -420, 0; 0, 25] DstBlock "Low Level Control" DstPort 1 } Line { SrcBlock "Bus decoder1" SrcPort 8 Points [330, 0] DstBlock "Subsystem" DstPort 9 } Line { SrcBlock "Bus decoder1" SrcPort 16 Points [0, 15] DstBlock "Compare\nTo Constant" DstPort 1 } Line { SrcBlock "Bus decoder1" SrcPort 7 Points [330, 0] DstBlock "Subsystem" DstPort 8 } Line { SrcBlock "Bus decoder1" SrcPort 17 Points [10, 0; 0, 35] DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "Compare\nTo Constant" SrcPort 1 DstBlock "Terminator3" DstPort 1 } Annotation { SID "103" Position [141, 68] } } } Block { BlockType SubSystem Name "filter" SID "104" Ports [1, 1] Position [630, 230, 715, 270] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "filter" Location [608, 318, 1330, 823] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "pos_xyo" SID "105" Position [65, 123, 95, 137] IconDisplay "Port number" } Block { BlockType Demux Name "Demux2" SID "106" Ports [1, 3] Position [175, 13, 180, 247] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "107" Ports [3, 1] Position [425, 12, 435, 248] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType DiscreteTransferFcn Name "filter" SID "108" Ports [1, 1] Position [270, 32, 330, 68] InputPortMap "u0" Numerator "[1.8890 0 -1.8890]" Denominator "[1.0000 -1.9120 0.9158]" SampleTime "Ts" } Block { BlockType DiscreteTransferFcn Name "filter1" SID "109" Ports [1, 1] Position [270, 112, 330, 148] InputPortMap "u0" Numerator "[1.8890 0 -1.8890]" Denominator "[1.0000 -1.9120 0.9158]" SampleTime "Ts" } Block { BlockType DiscreteTransferFcn Name "filter2" SID "110" Ports [1, 1] Position [270, 192, 330, 228] InputPortMap "u0" Numerator "[1.8890 0 -1.8890]" Denominator "[1.0000 -1.9120 0.9158]" SampleTime "Ts" } Block { BlockType Outport Name "vel_xyo" SID "111" Position [500, 123, 530, 137] IconDisplay "Port number" } Line { SrcBlock "pos_xyo" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "vel_xyo" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 DstBlock "filter" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 DstBlock "filter1" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 3 DstBlock "filter2" DstPort 1 } Line { SrcBlock "filter" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "filter1" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "filter2" SrcPort 1 DstBlock "Mux1" DstPort 3 } Annotation { SID "112" Position [291, 214] } } } Block { BlockType SubSystem Name "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" SID "113" Ports [5, 2] Position [210, 96, 365, 244] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" Location [109, 297, 1551, 759] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "posLocal_xyo" SID "114" Position [510, 353, 540, 367] IconDisplay "Port number" } Block { BlockType Inport Name "posGlobal_xyo" SID "115" Position [215, 283, 245, 297] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Motion_tuning_bus" SID "116" Position [725, 288, 755, 302] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "controlbus" SID "117" Position [30, 123, 60, 137] BackgroundColor "gray" Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "TRCbus" SID "118" Position [900, 288, 930, 302] BackgroundColor "lightBlue" Port "5" IconDisplay "Port number" } Block { BlockType S-Function Name "Bus decoder" SID "119" Ports [1, 4] Position [75, 72, 225, 183] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using" " the busmanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |controlEnable|powerOnOff|amplifiersOnOff|posGlobalRef_xyo|velLocalRefManua" "l_xyo_dot|shootLeverAngleMotor|LEDResetPanicSwitchButton|LEDBlue|LEDAmber|keeperFrame_ulr|SHTControl|SHTDutyCyc" "le|clampBall|va_max|CPBarm|emergencyStatus|shootLeverState|rs485ControlCh1|rs485ControlCh2|shotFinished|cur_xyd" "ot|ballHandlingControl|CAM1Control|fastStopFlag|scrum_light_flag|capacitorState|smoothStopConverged|0 " " |0 |0 |x " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |memory variable|memory variable|memory varia" "ble" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'SF_a_max_y_keeper');\nport_label('output',2,'SF_a_max_x_keeper');\nport_lab" "el('output',3,'SF_v_max_y_keeper');\nport_label('input',1,'tunable_pardata_motion_bus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "tunable_pardata_motion_bus|off|off|off|off|off|off|off|off|off|off|off|off|on|on|on|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|tunable_parda" "ta_motion_bus|5,6,8,9,11,12,13,14,15,16,39,40,41,42,43,44,20,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,45,52,56" ",57,58,60,65,66,69,70,72,73,74,75,76,77,78,79,80,81,82,83,92,93,91,90,89,88,95,96,94,97,98,99,100,101,102,103,105," "106,108,107,111,110,109,113,112,|43,42,41," } Block { BlockType S-Function Name "Bus decoder1" SID "184" Ports [1, 1] Position [790, 244, 910, 276] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |turtleID|teamColor|blueIsHome|roleIDs|refboxRoleIDs|refboxTask|refboxTaskTrigger|" "destination_xyo|roleAssignerMode|penaltyDemoMode|notBallHandlingDemo|joystick_v_xyo|joystickSkillID|joystickKickEf" "fort|joystickOnOff|t_RC|e4ffsd|0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |x |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'joystickOnOff');\nport_label('input',1,'TRCbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "TRCbus|off|off|off|off|off|off|off|off|off|off|off|off|off|off|on|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|TRCbus|1,2,3,4,5,6,7,8,9,10,11," "14,15,16,17,18,|17," } Block { BlockType Switch Name "switch between\nautonomous and\nmanual control" SID "201" Position [295, 57, 325, 143] Threshold "1" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Outport Name "velLR_xyo" SID "202" Position [350, 93, 380, 107] IconDisplay "Port number" } Line { SrcBlock "velLRmanual_xyo" SrcPort 1 DstBlock "switch between\nautonomous and\nmanual control" DstPort 1 } Line { SrcBlock "switch between\nautonomous and\nmanual control" SrcPort 1 DstBlock "velLR_xyo" DstPort 1 } Line { SrcBlock "velLR_xyo " SrcPort 1 DstBlock "switch between\nautonomous and\nmanual control" DstPort 3 } Line { SrcBlock "TRCbus" SrcPort 1 DstBlock "Bus decoder" DstPort 1 } Line { SrcBlock "Bus decoder" SrcPort 1 DstBlock "switch between\nautonomous and\nmanual control" DstPort 2 } } } Block { BlockType SubSystem Name "pos2vel" SID "203" Ports [1, 1] Position [430, 130, 535, 320] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "pos2vel" Location [459, 132, 1050, 645] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "posGR_xyo" SID "204" Position [150, 198, 180, 212] IconDisplay "Port number" } Block { BlockType Demux Name "Demux2" SID "205" Ports [1, 3] Position [220, 68, 225, 342] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "206" Ports [3, 1] Position [365, 66, 370, 344] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "differentiator2" SID "207" Ports [1, 1] Position [250, 99, 335, 131] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "differentiator2" Location [5, 79, 1398, 996] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "x_g_ref" SID "208" Position [355, 293, 385, 307] IconDisplay "Port number" } Block { BlockType Gain Name "Gain7" SID "209" Position [505, 285, 535, 315] ShowName off Gain "1/Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "210" Ports [2, 1] Position [460, 290, 480, 310] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "211" Position [420, 323, 455, 357] SampleTime "-1" } Block { BlockType Outport Name "x_g_refdot" SID "212" Position [820, 293, 850, 307] IconDisplay "Port number" } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "x_g_refdot" DstPort 1 } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [10, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "x_g_ref" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Unit Delay1" DstPort 1 } Branch { DstBlock "Sum5" DstPort 1 } } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain7" DstPort 1 } } } Block { BlockType SubSystem Name "differentiator3" SID "213" Ports [1, 1] Position [250, 189, 335, 221] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "differentiator3" Location [5, 77, 1398, 994] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "y_g_ref" SID "214" Position [355, 293, 385, 307] IconDisplay "Port number" } Block { BlockType Gain Name "Gain7" SID "215" Position [505, 285, 535, 315] ShowName off Gain "1/Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "216" Ports [2, 1] Position [460, 290, 480, 310] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "217" Position [420, 323, 455, 357] SampleTime "-1" } Block { BlockType Outport Name "y_g_refdot" SID "218" Position [820, 293, 850, 307] IconDisplay "Port number" } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { SrcBlock "y_g_ref" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Sum5" DstPort 1 } Branch { DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [10, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "y_g_refdot" DstPort 1 } } } Block { BlockType SubSystem Name "differentiator4" SID "219" Ports [1, 1] Position [250, 280, 335, 310] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "differentiator4" Location [4, 54, 1397, 999] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "phi_ref" SID "220" Position [355, 293, 385, 307] IconDisplay "Port number" } Block { BlockType Gain Name "Gain7" SID "221" Position [505, 285, 535, 315] ShowName off Gain "1/Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "222" Ports [2, 1] Position [460, 290, 480, 310] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "223" Position [420, 323, 455, 357] SampleTime "-1" } Block { BlockType Outport Name "phi_refdot" SID "224" Position [820, 293, 850, 307] IconDisplay "Port number" } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { SrcBlock "phi_ref" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Sum5" DstPort 1 } Branch { DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [10, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "phi_refdot" DstPort 1 } } } Block { BlockType Outport Name "velGR_xyo" SID "225" Position [410, 198, 440, 212] IconDisplay "Port number" } Line { SrcBlock "posGR_xyo" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 DstBlock "differentiator2" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 DstBlock "differentiator3" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 3 DstBlock "differentiator4" DstPort 1 } Line { SrcBlock "differentiator2" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "differentiator3" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "differentiator4" SrcPort 1 DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "velGR_xyo" DstPort 1 } } } Block { BlockType SubSystem Name "vel2pos" SID "226" Ports [4, 1] Position [1090, 112, 1195, 303] BackgroundColor "yellow" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "vel2pos" Location [560, 617, 1596, 1011] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "controlEnable" SID "227" Position [90, 221, 125, 239] IconDisplay "Port number" } Block { BlockType Inport Name "faststop" SID "228" Position [160, 251, 195, 269] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "velLR_xyo" SID "229" Position [340, 108, 370, 122] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "posLocal_xyo" SID "230" Position [435, 258, 465, 272] Port "4" IconDisplay "Port number" } Block { BlockType DataTypeConversion Name "Data Type Conversion2" SID "231" Position [225, 241, 240, 279] ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Demux Name "Demux3" SID "232" Ports [1, 3] Position [483, 190, 537, 195] BlockRotation 270 BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux4" SID "233" Ports [1, 3] Position [405, 36, 410, 194] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType HitCross Name "Hit \nCrossing3" SID "234" Ports [1, 1] Position [260, 245, 290, 275] ShowName off HitCrossingOffset "0.5" HitCrossingDirection "falling" } Block { BlockType Logic Name "Logical\nOperator" SID "235" Ports [2, 1] Position [365, 222, 395, 253] AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator1" SID "236" Ports [1, 1] Position [310, 244, 340, 276] Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Mux Name "Mux2" SID "237" Ports [3, 1] Position [700, 29, 705, 181] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Subsystem1" SID "238" Ports [3, 1] Position [545, 88, 655, 122] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem1" Location [5, 77, 1675, 1020] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "y_l_previous" SID "239" Position [385, 288, 415, 302] IconDisplay "Port number" } Block { BlockType Inport Name "control enable" SID "240" Position [390, 253, 420, 267] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "y_l_refdot" SID "241" Position [195, 233, 225, 247] Port "3" IconDisplay "Port number" } Block { BlockType Gain Name "Gain4" SID "242" Position [280, 225, 310, 255] ShowName off Gain "Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "243" Ports [2, 1] Position [325, 230, 345, 250] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch" SID "244" Position [455, 226, 480, 294] Threshold "0.5" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "245" Position [370, 358, 405, 392] BlockMirror on SampleTime "-1" } Block { BlockType Outport Name "y_l_ref" SID "246" Position [580, 253, 610, 267] IconDisplay "Port number" } Line { SrcBlock "y_l_previous" SrcPort 1 Points [20, 0] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Switch" SrcPort 1 Points [40, 0] Branch { Points [0, 115] DstBlock "Unit Delay1" DstPort 1 } Branch { DstBlock "y_l_ref" DstPort 1 } } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Switch" DstPort 1 } Line { SrcBlock "control enable" SrcPort 1 DstBlock "Switch" DstPort 2 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [-30, 0] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "y_l_refdot" SrcPort 1 DstBlock "Gain4" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem7" SID "247" Ports [3, 1] Position [545, 37, 655, 73] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem7" Location [5, 79, 1019, 740] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "x_l_previous" SID "248" Position [385, 288, 415, 302] IconDisplay "Port number" } Block { BlockType Inport Name "control enable" SID "249" Position [385, 253, 415, 267] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "x_l_refdot" SID "250" Position [195, 233, 225, 247] Port "3" IconDisplay "Port number" } Block { BlockType Gain Name "Gain4" SID "251" Position [280, 225, 310, 255] ShowName off Gain "Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "252" Ports [2, 1] Position [325, 230, 345, 250] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch" SID "253" Position [455, 226, 480, 294] Threshold "0.5" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "254" Position [370, 358, 405, 392] BlockMirror on SampleTime "-1" } Block { BlockType Outport Name "x_l_ref" SID "255" Position [580, 253, 610, 267] IconDisplay "Port number" } Line { SrcBlock "x_l_refdot" SrcPort 1 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [-30, 0] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "control enable" SrcPort 1 DstBlock "Switch" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Switch" DstPort 1 } Line { SrcBlock "Switch" SrcPort 1 Points [40, 0] Branch { DstBlock "x_l_ref" DstPort 1 } Branch { Points [0, 115] DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "x_l_previous" SrcPort 1 Points [20, 0] DstBlock "Switch" DstPort 3 } } } Block { BlockType SubSystem Name "Subsystem8" SID "256" Ports [3, 1] Position [545, 136, 655, 174] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem8" Location [0, 49, 1680, 1003] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "phi_l_previous" SID "257" Position [385, 288, 415, 302] IconDisplay "Port number" } Block { BlockType Inport Name "control enable" SID "258" Position [390, 253, 420, 267] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "phi_l_refdot" SID "259" Position [195, 233, 225, 247] Port "3" IconDisplay "Port number" } Block { BlockType Gain Name "Gain4" SID "260" Position [280, 225, 310, 255] ShowName off Gain "Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "261" Ports [2, 1] Position [325, 230, 345, 250] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch" SID "262" Position [455, 226, 480, 294] Threshold "0.5" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "263" Position [370, 358, 405, 392] BlockMirror on SampleTime "-1" } Block { BlockType Outport Name "phi_l_ref" SID "264" Position [580, 253, 610, 267] IconDisplay "Port number" } Line { SrcBlock "phi_l_refdot" SrcPort 1 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [-30, 0] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "control enable" SrcPort 1 DstBlock "Switch" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Switch" DstPort 1 } Line { SrcBlock "Switch" SrcPort 1 Points [40, 0] Branch { DstBlock "phi_l_ref" DstPort 1 } Branch { Points [0, 115] DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "phi_l_previous" SrcPort 1 Points [20, 0] DstBlock "Switch" DstPort 3 } } } Block { BlockType Outport Name "posLR_xyo" SID "265" Position [730, 98, 760, 112] IconDisplay "Port number" } Line { SrcBlock "posLocal_xyo" SrcPort 1 Points [40, 0] DstBlock "Demux3" DstPort 1 } Line { SrcBlock "Demux3" SrcPort 2 Points [0, -90] DstBlock "Subsystem1" DstPort 1 } Line { SrcBlock "Demux3" SrcPort 3 DstBlock "Subsystem8" DstPort 1 } Line { SrcBlock "Subsystem7" SrcPort 1 DstBlock "Mux2" DstPort 1 } Line { SrcBlock "Subsystem1" SrcPort 1 DstBlock "Mux2" DstPort 2 } Line { SrcBlock "Subsystem8" SrcPort 1 DstBlock "Mux2" DstPort 3 } Line { SrcBlock "Demux4" SrcPort 1 DstBlock "Subsystem7" DstPort 3 } Line { SrcBlock "Demux4" SrcPort 2 DstBlock "Subsystem1" DstPort 3 } Line { SrcBlock "Demux4" SrcPort 3 DstBlock "Subsystem8" DstPort 3 } Line { SrcBlock "Demux3" SrcPort 1 Points [0, -140] DstBlock "Subsystem7" DstPort 1 } Line { SrcBlock "velLR_xyo" SrcPort 1 DstBlock "Demux4" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "posLR_xyo" DstPort 1 } Line { SrcBlock "Data Type Conversion2" SrcPort 1 DstBlock "Hit \nCrossing3" DstPort 1 } Line { SrcBlock "faststop" SrcPort 1 DstBlock "Data Type Conversion2" DstPort 1 } Line { SrcBlock "Hit \nCrossing3" SrcPort 1 DstBlock "Logical\nOperator1" DstPort 1 } Line { SrcBlock "Logical\nOperator1" SrcPort 1 Points [0, -15] DstBlock "Logical\nOperator" DstPort 2 } Line { SrcBlock "controlEnable" SrcPort 1 DstBlock "Logical\nOperator" DstPort 1 } Line { SrcBlock "Logical\nOperator" SrcPort 1 Points [40, 0; 0, -85] Branch { DstBlock "Subsystem8" DstPort 2 } Branch { Points [0, -50] Branch { DstBlock "Subsystem1" DstPort 2 } Branch { Points [0, -50] DstBlock "Subsystem7" DstPort 2 } } } } } Block { BlockType Outport Name "velLocalRef_xyodot" SID "266" Position [1240, 83, 1270, 97] IconDisplay "Port number" } Block { BlockType Outport Name "posLocalRef_xyo" SID "267" Position [1285, 203, 1315, 217] Port "2" IconDisplay "Port number" } Line { SrcBlock "controlbus" SrcPort 1 DstBlock "Bus decoder" DstPort 1 } Line { SrcBlock "vel2pos" SrcPort 1 DstBlock "posLocalRef_xyo" DstPort 1 } Line { SrcBlock "manual or\nautonomous" SrcPort 1 Points [10, 0] Branch { Points [0, -140] DstBlock "velLocalRef_xyodot" DstPort 1 } Branch { Labels [0, 0] DstBlock "vel2pos" DstPort 3 } } Line { SrcBlock "TRCbus" SrcPort 1 DstBlock "manual or\nautonomous" DstPort 3 } Line { SrcBlock "drift control" SrcPort 1 DstBlock "pos2vel" DstPort 1 } Line { SrcBlock "pos2vel" SrcPort 1 Points [15, 0; 0, -45] DstBlock "global to local" DstPort 1 } Line { SrcBlock "posGlobal_xyo" SrcPort 1 DstBlock "drift control" DstPort 4 } Line { Labels [0, 0] SrcBlock "posLocal_xyo" SrcPort 1 Points [10, 0] Branch { Points [520, 0] DstBlock "vel2pos" DstPort 4 } Branch { Points [0, -85] DstBlock "global to local" DstPort 2 } } Line { SrcBlock "Bus decoder" SrcPort 2 Points [25, 0] Branch { Points [820, 0] DstBlock "vel2pos" DstPort 1 } Branch { DstBlock "drift control" DstPort 1 } } Line { SrcBlock "Bus decoder" SrcPort 1 Points [685, 0; 0, 75] DstBlock "manual or\nautonomous" DstPort 1 } Line { SrcBlock "limit vel/acc\ngoalkeeper" SrcPort 1 DstBlock "manual or\nautonomous" DstPort 2 } Line { SrcBlock "global to local" SrcPort 1 DstBlock "limit vel/acc\ngoalkeeper" DstPort 2 } Line { SrcBlock "Motion_tuning_bus" SrcPort 1 DstBlock "limit vel/acc\ngoalkeeper" DstPort 3 } Line { SrcBlock "TRCbus1" SrcPort 1 DstBlock "limit vel/acc\ngoalkeeper" DstPort 1 } Line { SrcBlock "Bus decoder" SrcPort 4 Points [5, 0; 0, 80] DstBlock "drift control" DstPort 3 } Line { SrcBlock "Bus decoder" SrcPort 3 Points [15, 0] Branch { Points [0, 60] DstBlock "drift control" DstPort 2 } Branch { Points [0, -20; 815, 0; 0, 65] DstBlock "vel2pos" DstPort 2 } } } } Block { BlockType SubSystem Name "posLocal_xyo 2\nposGlobal_xyo" SID "268" Ports [1, 1] Position [595, 151, 730, 199] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "posLocal_xyo 2\nposGlobal_xyo" Location [761, 586, 1476, 930] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "posLocal_xyo" SID "269" Position [130, 143, 160, 157] IconDisplay "Port number" } Block { BlockType Demux Name "Demux" SID "270" Ports [1, 3] Position [185, 85, 190, 215] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "271" Ports [3, 1] Position [610, 83, 615, 217] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Subsystem4" SID "272" Ports [1, 1] Position [500, 88, 575, 122] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem4" Location [983, 557, 1263, 662] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "x_g_dot" SID "273" Position [25, 38, 55, 52] IconDisplay "Port number" } Block { BlockType Gain Name "Gain4" SID "274" Position [80, 30, 110, 60] ShowName off Gain "Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "275" Ports [2, 1] Position [125, 35, 145, 55] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "276" Position [150, 63, 185, 97] BlockMirror on SampleTime "-1" } Block { BlockType Outport Name "x_g" SID "277" Position [225, 38, 255, 52] IconDisplay "Port number" } Line { SrcBlock "x_g_dot" SrcPort 1 Points [0, 0] DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [55, 0] Branch { DstBlock "x_g" DstPort 1 } Branch { Points [0, 35] DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [-10, 0] DstBlock "Sum4" DstPort 2 } } } Block { BlockType SubSystem Name "Subsystem6" SID "278" Ports [1, 1] Position [500, 133, 575, 167] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Subsystem6" Location [983, 557, 1263, 662] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "y_g_dot" SID "279" Position [25, 38, 55, 52] IconDisplay "Port number" } Block { BlockType Gain Name "Gain4" SID "280" Position [80, 30, 110, 60] ShowName off Gain "Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "281" Ports [2, 1] Position [125, 35, 145, 55] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "282" Position [155, 63, 190, 97] BlockMirror on SampleTime "-1" } Block { BlockType Outport Name "y_g" SID "283" Position [225, 38, 255, 52] IconDisplay "Port number" } Line { SrcBlock "Sum4" SrcPort 1 Points [55, 0] Branch { DstBlock "y_g" DstPort 1 } Branch { DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "y_g_dot" SrcPort 1 Points [0, 0] DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [-15, 0] DstBlock "Sum4" DstPort 2 } } } Block { BlockType SubSystem Name "differentiator" SID "284" Ports [1, 1] Position [220, 88, 290, 122] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "differentiator" Location [5, 77, 1398, 994] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "x_l" SID "285" Position [355, 293, 385, 307] IconDisplay "Port number" } Block { BlockType Gain Name "Gain7" SID "286" Position [505, 285, 535, 315] ShowName off Gain "1/Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "287" Ports [2, 1] Position [460, 290, 480, 310] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "288" Position [420, 323, 455, 357] SampleTime "-1" } Block { BlockType Outport Name "x_l_dot" SID "289" Position [820, 293, 850, 307] IconDisplay "Port number" } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { SrcBlock "x_l" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Sum5" DstPort 1 } Branch { DstBlock "Unit Delay1" DstPort 1 } } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [10, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "x_l_dot" DstPort 1 } } } Block { BlockType SubSystem Name "differentiator1" SID "290" Ports [1, 1] Position [220, 133, 290, 167] BackgroundColor "yellow" ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "differentiator1" Location [5, 77, 1275, 770] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "y_l" SID "291" Position [355, 293, 385, 307] IconDisplay "Port number" } Block { BlockType Gain Name "Gain7" SID "292" Position [505, 285, 535, 315] ShowName off Gain "1/Ts" Multiplication "Matrix(K*u)" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "293" Ports [2, 1] Position [460, 290, 480, 310] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType UnitDelay Name "Unit Delay1" SID "294" Position [420, 323, 455, 357] SampleTime "-1" } Block { BlockType Outport Name "y_l_dot" SID "295" Position [820, 293, 850, 307] IconDisplay "Port number" } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "y_l_dot" DstPort 1 } Line { SrcBlock "Unit Delay1" SrcPort 1 Points [10, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "y_l" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Unit Delay1" DstPort 1 } Branch { DstBlock "Sum5" DstPort 1 } } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain7" DstPort 1 } } } Block { BlockType SubSystem Name "l_to_g" SID "296" Ports [3, 3] Position [390, 85, 475, 215] BackgroundColor "magenta" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "l_to_g" Location [5, 77, 1147, 770] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "x_l_dot" SID "297" Position [25, 28, 55, 42] IconDisplay "Port number" } Block { BlockType Inport Name "y_l_dot" SID "298" Position [25, 78, 55, 92] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "phi_l" SID "299" Position [25, 218, 55, 232] Port "3" IconDisplay "Port number" } Block { BlockType Product Name "Product" SID "300" Ports [2, 1] Position [175, 27, 205, 58] InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "301" Ports [2, 1] Position [175, 77, 205, 108] InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "302" Ports [2, 1] Position [175, 127, 205, 158] InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product3" SID "303" Ports [2, 1] Position [175, 177, 205, 208] InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" SID "304" Ports [2, 1] Position [220, 60, 240, 80] ShowName off IconShape "round" Inputs "+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "305" Ports [2, 1] Position [220, 160, 240, 180] ShowName off IconShape "round" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" SID "306" Ports [1, 1] Position [95, 270, 125, 300] } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" SID "307" Ports [1, 1] Position [95, 210, 125, 240] Operator "cos" } Block { BlockType Outport Name "x_g_dot" SID "308" Position [265, 63, 295, 77] IconDisplay "Port number" } Block { BlockType Outport Name "y_g_dot" SID "309" Position [265, 163, 295, 177] Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "phi_g" SID "310" Position [260, 328, 290, 342] Port "3" IconDisplay "Port number" } Line { SrcBlock "phi_l" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Trigonometric\nFunction1" DstPort 1 } Branch { Points [0, 60] Branch { DstBlock "Trigonometric\nFunction" DstPort 1 } Branch { Points [0, 50] DstBlock "phi_g" DstPort 1 } } } Line { SrcBlock "x_l_dot" SrcPort 1 Points [0, 0; 60, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, 100] DstBlock "Product2" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 Points [5, 0; 0, -25] Branch { Points [0, -150] DstBlock "Product" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [20, 0; 0, -135] Branch { Points [0, -50] DstBlock "Product1" DstPort 2 } Branch { DstBlock "Product2" DstPort 2 } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "y_l_dot" SrcPort 1 Points [0, 0; 45, 0] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, 100] DstBlock "Product3" DstPort 1 } } Line { SrcBlock "Sum3" SrcPort 1 Points [0, 0] DstBlock "x_g_dot" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [0, 0] DstBlock "y_g_dot" DstPort 1 } } } Block { BlockType Outport Name "posGlobal_xyo" SID "311" Position [640, 143, 670, 157] IconDisplay "Port number" } Line { SrcBlock "Subsystem4" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Subsystem6" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "l_to_g" SrcPort 1 DstBlock "Subsystem4" DstPort 1 } Line { SrcBlock "l_to_g" SrcPort 2 DstBlock "Subsystem6" DstPort 1 } Line { SrcBlock "differentiator" SrcPort 1 DstBlock "l_to_g" DstPort 1 } Line { SrcBlock "differentiator1" SrcPort 1 DstBlock "l_to_g" DstPort 2 } Line { SrcBlock "l_to_g" SrcPort 3 DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "posGlobal_xyo" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "differentiator" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "differentiator1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "l_to_g" DstPort 3 } Line { SrcBlock "posLocal_xyo" SrcPort 1 DstBlock "Demux" DstPort 1 } } } Block { BlockType Outport Name "motionbus" SID "312" Position [1025, 148, 1055, 162] BackgroundColor "darkGreen" IconDisplay "Port number" } Line { SrcBlock "decoupled robot" SrcPort 1 Points [10, 0] Branch { Points [0, -75] Branch { DstBlock "posLocal_xyo 2\nposGlobal_xyo" DstPort 1 } Branch { Points [0, -105; -385, 0; 0, 40] DstBlock "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" DstPort 1 } } Branch { Labels [0, 0] DstBlock "filter" DstPort 1 } } Line { SrcBlock "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" SrcPort 2 DstBlock "decoupled robot" DstPort 1 } Line { SrcBlock "posLocal_xyo 2\nposGlobal_xyo" SrcPort 1 Points [0, 0] Branch { DstBlock "Bus assigner" DstPort 3 } Branch { Points [0, -115; -560, 0; 0, 80] DstBlock "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" DstPort 2 } } Line { SrcBlock "TRCbus" SrcPort 1 Points [25, 0] Branch { DstBlock "decoupled robot" DstPort 3 } Branch { Points [0, -120] DstBlock "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" DstPort 5 } } Line { SrcBlock "controlbus" SrcPort 1 Points [15, 0] Branch { DstBlock "decoupled robot" DstPort 2 } Branch { Points [0, -80] DstBlock "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" DstPort 4 } } Line { SrcBlock "decoupled robot" SrcPort 2 Points [205, 0; 0, -290] DstBlock "Bus assigner" DstPort 1 } Line { SrcBlock "Bus assigner" SrcPort 1 DstBlock "motionbus" DstPort 1 } Line { SrcBlock "Memory2" SrcPort 1 DstBlock "Bus assigner" DstPort 2 } Line { SrcBlock "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" SrcPort 1 DstBlock "Memory2" DstPort 1 } Line { SrcBlock "Motion_tuning_bus" SrcPort 1 Points [15, 0] Branch { DstBlock "posGlobalRef_xyo 2\nvelLocalRef_dxdydo" DstPort 3 } Branch { Points [0, 250] DstBlock "decoupled robot" DstPort 4 } } Line { SrcBlock "filter" SrcPort 1 Points [100, 0] DstBlock "Bus assigner" DstPort 4 } } } Block { BlockType SubSystem Name "strategy & control" SID "313" Ports [1, 3, 1] Position [125, 88, 315, 322] BackgroundColor "lightBlue" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "strategy & control" Location [186, 81, 1456, 853] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "motionbus" SID "314" Position [15, 73, 45, 87] ForegroundColor "green" IconDisplay "Port number" } Block { BlockType EnablePort Name "Enable" SID "315" Ports [] Position [1030, 65, 1050, 85] } Block { BlockType SubSystem Name "LaserRangeFinders" SID "1509" Ports [2, 1] Position [105, 531, 230, 629] BackgroundColor "black" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "LaserRangeFinders" Location [450, 152, 1135, 494] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "visionbus" SID "1510" Position [95, 228, 125, 242] ForegroundColor "yellow" IconDisplay "Port number" } Block { BlockType Inport Name "sensorfusionbus" SID "1511" Position [95, 273, 125, 287] ForegroundColor "[0.710000, 0.820000, 0.120000]" Port "2" IconDisplay "Port number" } Block { BlockType S-Function Name " LRF selector" SID "1512" Ports [0, 4] Position [15, 13, 80, 217] BackgroundColor "yellow" FunctionName "LRF_select" EnableBusSupport off MaskDisplay "port_label('output',1,'Back enable')\nport_label('output',2,'Back usb id')\nport_label('outp" "ut',3,'Field enable')\nport_label('output',4,'Field usb id')\n" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" } Block { BlockType S-Function Name "Bus assigner" SID "1513" Ports [6, 1] Position [400, 92, 595, 303] BackgroundColor "cyan" FunctionName "sf_bus_assign" Parameters "sizes,offsets,portwidth,types,bus_is_in,bus_size" EnableBusSupport off MaskType "Assign variables in bus." MaskDescription "Bus assigner to assign values to variables in a bus. \nThis block can overwrite values i" "n an existing bus as well as \ncreate a bus and write values to certain parameters. Busses \ncan be editted and" " created using the busmanager. Note that \ndeleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |Bus is input |ball_top_lrf|ball_top_lrf_f|pose_lrf|pose_lrf_f|ball_ground_" "lrf|lrf_on|cpb_lrf|obst_lrf||LEDBlue|LEDAmber|keeperFrame_ulr|" "SHTControl|SHTDutyCycle|clampBall|va_max|CPBrobot|emergencyStatus|shootLeverState|rs485ControlCh1|rs485ControlC" "h2|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |x |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'cur_xyo[3]');\nport_label('input',1,'sensorfusionbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "sensorfusionbus|off|off|off|off|off|off|on|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|sensorfusionbus|1,2,3," "4,5,6,7,8,9,10,11,12,13,14,|7," } Block { BlockType S-Function Name "Bus decoder1" SID "1556" Ports [1, 2] Position [85, 61, 290, 139] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |pose_xyo_ov|pose_ov_found|ball_xyz_ov|ball_confidence_ov|ball_found_ov|ov_lob_det" "ected|obs_xy_xydot_r_for_strategy|image_time_ov|l2g_vision_time|ball_xyz_vxvyvz_est|obs_worldmodel_local_xyr|t_VL|" "shoot_lever_encoder|SHTstatus|SHTValue|PWMmeasurement|startBackupSoftwareSwitch|rs485ResultCh1|rs485ResultCh2|0 " " |0 |0 |0 " " |0 |0 |0 |0" " |0 |0 |0 " " |x |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0" " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable" "_pardata_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refbo" "xparamsbus|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;bus_is_in=@2;var_name01=&3;var_name02=&4;var_name03=&5;var_name04=&6;var_name0" "5=&7;var_name06=&8;var_name07=&9;var_name08=&10;var_name09=&11;var_name10=&12;var_name11=&13;var_name12=&14;var" "_name13=&15;var_name14=&16;var_name15=&17;var_name16=&18;var_name17=&19;var_name18=&20;var_name19=&21;var_name2" "0=&22;var_name21=&23;var_name22=&24;var_name23=&25;var_name24=&26;var_name25=&27;var_name26=&28;var_name27=&29;" "var_name28=&30;var_name29=&31;var_name30=&32;var_name31=&33;var_name32=&34;var_name33=&35;var_name34=&36;var_na" "me35=&37;var_name36=&38;var_name37=&39;var_name38=&40;var_name39=&41;var_name40=&42;var_name41=&43;var_name42=&" "44;var_name43=&45;var_name44=&46;var_name45=&47;var_name46=&48;var_name47=&49;var_name48=&50;var_name49=&51;var" "_name50=&52;var_name51=&53;var_name52=&54;var_name53=&55;var_name54=&56;var_name55=&57;var_name56=&58;var_name5" "7=&59;var_name58=&60;var_name59=&61;var_name60=&62;var_name61=&63;var_name62=&64;var_name63=&65;var_name64=&66;" "var_name65=&67;var_name66=&68;var_name67=&69;var_name68=&70;var_name69=&71;var_name70=&72;var_name71=&73;var_na" "me72=&74;var_name73=&75;var_name74=&76;var_name75=&77;var_name76=&78;var_name77=&79;var_name78=&80;var_name79=&" "81;var_name80=&82;var_name81=&83;var_name82=&84;var_name83=&85;var_name84=&86;var_name85=&87;var_name86=&88;var" "_name87=&89;var_name88=&90;var_name89=&91;var_name90=&92;var_name91=&93;var_name92=&94;var_name93=&95;var_name9" "4=&96;var_name95=&97;var_name96=&98;var_name97=&99;var_name98=&100;var_name99=&101;var_name100=&102;selected_bu" "s=&103;var_ids=&104;checked_var_ids=&105;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_assign('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "|||||||||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on" MaskInitialization "mask_sf_bus_assign('init');\n" MaskSelfModifiable on MaskDisplay "port_label('input',1,'actionsbus');\nport_label('input',2,'controlEnable');\nport_label('inp" "ut',3,'target_xyo[3]');\nport_label('input',4,'emergencyStatus');\nport_label('input',5,'waypointReached');\npo" "rt_label('input',6,'subtarget_xy[2]');\nport_label('input',7,'scrum');\nport_label('input',8,'addedObstacles[3*" "NOBST_TEAMMEMBERS_MAX*(MAX_ACTIVE_TURTLES-1)]');\nport_label('input',9,'subsubtarget_xy[2]');\nport_label('inpu" "t',10,'rotationCrashObject[3]');\nport_label('output',1,'actionsbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "actionsbus|on|off|off|off|off|on|on|on|on|on|on|on|off|off|off|on|off|off|on|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|actionsbus|1,2,3" ",5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,23,24,25,|6,8,7,9,11,10,16,12,20," } Block { BlockType S-Function Name "Bus decoder" SID "2722" Ports [1, 1] Position [610, 567, 725, 593] BackgroundColor "cyan" NamePlacement "alternate" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using" " the busmanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |desiredVelocityStrategy|aimTarget_xy|actionHandlerReturnValue|skillId|kick" "Effort|controlEnable|emergencyStatus|target_xyo|waypointReached|scrum|subtarget_xy|subsubtarget_xy|desiredAccel" "erationStrategy|CPPArobot|addedObstacles|shotType|smoothStopFlag|rotationCrashObject|target_dxdyt|shootTarget_x" "y|InterceptingPass|dribbleAroundBallFlag|WMactive|WMopponents_xy_dxdy_r|WMopponentwithball|WMopponentwithball_x" "y_dxdy_r|WMrobot_xyo|WMactiveRobots|turtleTargets|t_BS|ball_xyz|ball_xyzdot|ballSource|ballConfidence|seeBall|u" "sedBallTurtleID|isPeer|gameRoleTarget_xyo|NactivePeers|refboxRoleTarget_xyo|peerRunsBackupSoftware|Coach_Peer_D" "etected|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0" " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable" "_pardata_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refbo" "xparamsbus|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name" "06=&7;var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;va" "r_name14=&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name" "21=&22;var_name22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29" ";var_name29=&30;var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_n" "ame36=&37;var_name37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=" "&44;var_name44=&45;var_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;va" "r_name51=&52;var_name52=&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name" "58=&59;var_name59=&60;var_name60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66" ";var_name66=&67;var_name67=&68;var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_n" "ame73=&74;var_name74=&75;var_name75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=" "&81;var_name81=&82;var_name82=&83;var_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;va" "r_name88=&89;var_name89=&90;var_name90=&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name" "95=&96;var_name96=&97;var_name97=&98;var_name98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=" "&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'scrum');\nport_label('input',1,'actionsbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "actionsbus|off|off|off|off|off|off|off|off|off|on|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|actionsbus|" "1,2,3,5,13,6,7,8,9,10,11,12,14,15,16,17,19,20,21,23,24,25,|10," } Block { BlockType SubSystem Name "Dxl control Keeper" SID "2758" Ports [1, 1] Position [640, 748, 775, 782] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Dxl control Keeper" Location [277, 123, 988, 355] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Motionbus" SID "2759" Position [30, 138, 60, 152] IconDisplay "Port number" } Block { BlockType Sum Name "Add" SID "2760" Ports [2, 1] Position [165, 37, 195, 68] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType S-Function Name "Bus decoder" SID "2761" Ports [1, 1] Position [85, 129, 235, 161] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |position_global_xyo|robot_active|position_local_xyo|tacho_left|tacho_right|arm_le" "ft|arm_right|battery_voltage|motor_temperatures|panic_and_reset_switches|local_y_velocity|shoot_lever_encoder|SHTs" "tatus|SHTValue|capacitorVoltage|velLocalRef_dxdydo|startBackupSoftwareSwitch|rs485ResultCh1|rs485ResultCh2|CAM1Sta" "tus|Status|Counter|CAM1posX|Accelerations|vel_local_xyo_dot|BH_Overheat|0 |0 " " |0 |0 |x " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'robot_active');\nport_label('input',1,'motionbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "motionbus|off|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|motionbus|2,3,4,5,6,7,8,9,11" ",13,14,15,16,17,18,22,20,23,24,25,26,27,28,29,30,31,|3," } Block { BlockType S-Function Name "Bus decoder1" SID "536" Ports [1, 3] Position [105, 273, 225, 317] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |turtleID|teamColor|blueIsHome|roleIDs|refboxRoleIDs|refboxTask|refboxTaskTrigger|" "destination_xyo|roleAssignerMode|penaltyDemoMode|notBallHandlingDemo|joystick_v_xyo|joystickSkillID|joystickKickEf" "fort|joystickOnOff|t_RC|e4ffsd|0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |x |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'controlEnable');\nport_label('input',1,'actionsbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "actionsbus|off|off|off|off|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|actionsbus|1,2,3,5,6,7,8,9," "10,11,12,13,14,15,16,17,19,20,21,23,24,25,|6," } Block { BlockType Reference Name "Compare\nTo Constant1" SID "538" Ports [1, 1] Position [865, 651, 915, 679] ShowName off LibraryVersion "1.260" SourceBlock "simulink/Logic and Bit\nOperations/Compare\nTo Constant" SourceType "Compare To Constant" relop "==" const "2" OutDataTypeStr "uint8" ZeroCross off } Block { BlockType Reference Name "Compare\nTo Constant2" SID "539" Ports [1, 1] Position [485, 266, 535, 294] ShowName off LibraryVersion "1.260" SourceBlock "simulink/Logic and Bit\nOperations/Compare\nTo Constant" SourceType "Compare To Constant" relop "==" const "1" OutDataTypeStr "uint8" ZeroCross off } Block { BlockType Reference Name "Compare\nTo Constant3" SID "540" Ports [1, 1] Position [485, 296, 535, 324] ShowName off LibraryVersion "1.260" SourceBlock "simulink/Logic and Bit\nOperations/Compare\nTo Constant" SourceType "Compare To Constant" relop "==" const "get_global_par('ROLE_GOALKEEPER')" OutDataTypeStr "uint8" ZeroCross off } Block { BlockType Constant Name "Constant1" SID "541" Position [810, 470, 840, 500] ShowName off Value "[0 0]" } Block { BlockType Constant Name "Constant2" SID "542" Position [1205, 510, 1265, 540] ShowName off Value "LEDS_on" } Block { BlockType Constant Name "Constant3" SID "543" Position [1230, 435, 1260, 465] ShowName off Value "0" } Block { BlockType DataTypeConversion Name "Data Type Conversion" SID "544" Position [1240, 362, 1275, 398] ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion2" SID "545" Position [420, 264, 470, 296] ShowName off OutDataTypeStr "int16" RndMeth "Nearest" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion3" SID "546" Position [420, 294, 470, 326] ShowName off OutDataTypeStr "int16" RndMeth "Nearest" SaturateOnIntegerOverflow off } Block { BlockType Demux Name "Demux" SID "547" Ports [1, 2] Position [1095, 365, 1100, 420] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID "548" Ports [1, 3] Position [220, 22, 225, 88] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" Port { PortNumber 1 Name "up" PropagatedSignals "frame up" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "left" PropagatedSignals "frame left" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "right" PropagatedSignals "frame right" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType From Name "From1" SID "2339" Position [755, 316, 870, 334] BackgroundColor "orange" ShowName off CloseFcn "tagdialog Close" GotoTag "team_color" } Block { BlockType From Name "From5" SID "549" Position [125, 376, 240, 394] BackgroundColor "orange" ShowName off CloseFcn "tagdialog Close" GotoTag "current_role" TagVisibility "global" } Block { BlockType Goto Name "Goto" SID "2338" Position [265, 301, 360, 319] ZOrder -10 BackgroundColor "orange" GotoTag "team_color" } Block { BlockType SubSystem Name "Keeper action active" SID "551" Ports [0, 1] Position [275, 183, 445, 227] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Keeper action active" Location [233, 376, 731, 676] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Constant Name "Constant" SID "552" Position [155, 75, 185, 105] ShowName off Value "0" } Block { BlockType Constant Name "Constant1" SID "553" Position [155, 30, 185, 60] ShowName off } Block { BlockType Mux Name "Mux" SID "554" Ports [2, 1] Position [300, 22, 305, 113] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Outport Name "blue" SID "555" Position [360, 63, 390, 77] IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "blue" DstPort 1 } } } Block { BlockType Logic Name "Logical\nOperator1" SID "557" Ports [2, 1] Position [555, 263, 590, 327] ShowName off Operator "OR" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator2" SID "558" Ports [3, 1] Position [410, 21, 445, 89] ShowName off Operator "OR" Inputs "3" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator3" SID "559" Ports [2, 1] Position [940, 614, 965, 681] ShowName off AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType MultiPortSwitch Name "Multiport\nSwitch" SID "560" Ports [9, 1] Position [460, 370, 505, 560] Inputs "8" zeroidx off InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType MultiPortSwitch Name "Multiport\nSwitch1" SID "561" Ports [3, 1] Position [485, 15, 530, 245] DataPortOrder "Zero-based contiguous" Inputs "2" zeroidx on InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "No keeper action active" SID "562" Ports [0, 1] Position [275, 108, 445, 152] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "No keeper action active" Location [433, 403, 931, 703] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Constant Name "Constant" SID "563" Position [155, 30, 185, 60] ShowName off Value "0" } Block { BlockType Constant Name "Constant1" SID "564" Position [155, 75, 185, 105] ShowName off Value "0" } Block { BlockType Mux Name "Mux" SID "565" Ports [2, 1] Position [300, 22, 305, 113] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Outport Name "black" SID "566" Position [360, 63, 390, 77] IconDisplay "Port number" } Line { SrcBlock "Mux" SrcPort 1 DstBlock "black" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Block { BlockType SubSystem Name "Overheat LED control" SID "2343" Ports [2, 1] Position [705, 354, 805, 396] ZOrder -19 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Overheat LED control" Location [1, 79, 1599, 875] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Blue_Led_Roles" SID "2344" Position [285, 318, 315, 332] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "motion_bus" SID "2346" Position [110, 243, 140, 257] ZOrder -1 Port "2" IconDisplay "Port number" } Block { BlockType Constant Name " " SID "2350" Position [285, 405, 315, 425] ZOrder -4 Value "0" } Block { BlockType Constant Name " " SID "2351" Position [285, 480, 315, 500] ZOrder -4 Value "0" } Block { BlockType S-Function Name "Bus decoder" SID "2173" Ports [1, 1] Position [225, 230, 375, 270] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using th" "e busmanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |position_global_xyo|robot_active|position_local_xyo|tacho_left|tacho_right|ar" "m_left|arm_right|battery_voltage|motor_temperatures|panic_and_reset_switches|local_y_velocity|shoot_lever_encode" "r|SHTstatus|SHTValue|capacitorVoltage|velLocalRef_dxdydo|startBackupSoftwareSwitch|rs485ResultCh1|rs485ResultCh2" "|CAM1Status|Status|Counter|CAM1posX|Accelerations|vel_local_xyo_dot|BH_Overheat|0 " "|0 |0 |0 |x " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;bus_is_in=@2;var_name01=&3;var_name02=&4;var_name03=&5;var_name04=&6;var_name05=&7;v" "ar_name06=&8;var_name07=&9;var_name08=&10;var_name09=&11;var_name10=&12;var_name11=&13;var_name12=&14;var_name13=&" "15;var_name14=&16;var_name15=&17;var_name16=&18;var_name17=&19;var_name18=&20;var_name19=&21;var_name20=&22;var_na" "me21=&23;var_name22=&24;var_name23=&25;var_name24=&26;var_name25=&27;var_name26=&28;var_name27=&29;var_name28=&30;" "var_name29=&31;var_name30=&32;var_name31=&33;var_name32=&34;var_name33=&35;var_name34=&36;var_name35=&37;var_name3" "6=&38;var_name37=&39;var_name38=&40;var_name39=&41;var_name40=&42;var_name41=&43;var_name42=&44;var_name43=&45;var" "_name44=&46;var_name45=&47;var_name46=&48;var_name47=&49;var_name48=&50;var_name49=&51;var_name50=&52;var_name51=&" "53;var_name52=&54;var_name53=&55;var_name54=&56;var_name55=&57;var_name56=&58;var_name57=&59;var_name58=&60;var_na" "me59=&61;var_name60=&62;var_name61=&63;var_name62=&64;var_name63=&65;var_name64=&66;var_name65=&67;var_name66=&68;" "var_name67=&69;var_name68=&70;var_name69=&71;var_name70=&72;var_name71=&73;var_name72=&74;var_name73=&75;var_name7" "4=&76;var_name75=&77;var_name76=&78;var_name77=&79;var_name78=&80;var_name79=&81;var_name80=&82;var_name81=&83;var" "_name82=&84;var_name83=&85;var_name84=&86;var_name85=&87;var_name86=&88;var_name87=&89;var_name88=&90;var_name89=&" "91;var_name90=&92;var_name91=&93;var_name92=&94;var_name93=&95;var_name94=&96;var_name95=&97;var_name96=&98;var_na" "me97=&99;var_name98=&100;var_name99=&101;var_name100=&102;selected_bus=&103;var_ids=&104;checked_var_ids=&105;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_assign('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "|||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_assign('init');\n" MaskSelfModifiable on MaskDisplay "port_label('input',1,'controlEnable');\nport_label('input',2,'powerOnOff');\nport_label('input',3," "'amplifiersOnOff');\nport_label('input',4,'posGlobalRef_xyo[3]');\nport_label('input',5,'velLocalRefManual_xyo_dot" "[3]');\nport_label('input',6,'ballHandlingControl[2]');\nport_label('input',7,'cur_xydot[2]');\nport_label('input'" ",8,'shootLeverAngleMotor');\nport_label('input',9,'LEDResetPanicSwitchButton');\nport_label('input',10,'LEDBlue');" "\nport_label('input',11,'LEDAmber');\nport_label('input',12,'keeperFrame_ulr[3]');\nport_label('input',13,'SHTCont" "rol');\nport_label('input',14,'SHTDutyCycle');\nport_label('input',15,'clampBall');\nport_label('input',16,'va_max" "[2]');\nport_label('input',17,'CPBarm');\nport_label('input',18,'emergencyStatus');\nport_label('input',19,'shootL" "everState');\nport_label('input',20,'rs485ControlCh1[23]');\nport_label('input',21,'rs485ControlCh2[23]');\nport_l" "abel('input',22,'shotFinished');\nport_label('input',23,'CAM1Control');\nport_label('input',24,'scrum_light_flag')" ";\nport_label('input',25,'capacitorState');\nport_label('input',26,'smoothStopConverged');\nport_label('output',1," "'controlbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "controlbus|off|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|on|off|on|on|o" "n|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|controlbus|1,2,3,4,5,8,9,10,11,12,13,14,15,16,17" ",18,19,20,22,23,24,25,26,28,29,30,31,|1,2,3,4,5,25,24,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,26,29,30,31," } Block { BlockType From Name "From1" SID "2932" Position [65, 76, 180, 94] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "powerOnOff" TagVisibility "global" } Block { BlockType From Name "From10" SID "2933" Position [65, 301, 180, 319] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "LEDAmber" TagVisibility "global" } Block { BlockType From Name "From11" SID "2934" Position [65, 326, 180, 344] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "keeperFrame_ulr" TagVisibility "global" } Block { BlockType From Name "From12" SID "2935" Position [65, 451, 180, 469] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "CPBarm" TagVisibility "global" } Block { BlockType From Name "From13" SID "2936" Position [65, 476, 180, 494] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "emergencyStatus_Cbus" TagVisibility "global" } Block { BlockType From Name "From14" SID "2937" Position [65, 376, 180, 394] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "SHTDutyCycle" TagVisibility "global" } Block { BlockType From Name "From15" SID "2938" Position [65, 401, 180, 419] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "clampBall" TagVisibility "global" } Block { BlockType From Name "From16" SID "2939" Position [65, 351, 180, 369] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "SHTControl" TagVisibility "global" } Block { BlockType From Name "From17" SID "2940" Position [65, 426, 180, 444] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "va_max" TagVisibility "global" } Block { BlockType From Name "From18" SID "2941" Position [65, 201, 180, 219] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "cur_xydot_local" TagVisibility "global" } Block { BlockType From Name "From19" SID "2942" Position [40, 676, 180, 694] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "smooth_stop_converged" TagVisibility "global" } Block { BlockType From Name "From2" SID "2943" Position [65, 101, 180, 119] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "amplifiersOnOff" TagVisibility "global" } Block { BlockType From Name "From20" SID "2944" Position [65, 526, 180, 544] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "rs485ControlCh1" TagVisibility "global" } Block { BlockType From Name "From21" SID "2945" Position [65, 551, 180, 569] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "rs485ControlCh2" TagVisibility "global" } Block { BlockType From Name "From22" SID "2946" Position [65, 501, 180, 519] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "shootLeverState" TagVisibility "global" } Block { BlockType From Name "From23" SID "2947" Position [65, 576, 180, 594] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "shotFinished" TagVisibility "global" } Block { BlockType From Name "From24" SID "2948" Position [65, 626, 180, 644] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "scrum_flag_lampje" TagVisibility "global" } Block { BlockType From Name "From25" SID "2949" Position [65, 651, 180, 669] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "capacitorState" TagVisibility "global" } Block { BlockType From Name "From28" SID "2950" Position [65, 51, 180, 69] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "controlEnable_Cbus" TagVisibility "global" } Block { BlockType From Name "From3" SID "2951" Position [65, 126, 180, 144] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "posGlobalRef_xyo" TagVisibility "global" } Block { BlockType From Name "From4" SID "2952" Position [65, 151, 180, 169] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "velLocalRefManual_xyo_dot" TagVisibility "global" } Block { BlockType From Name "From5" SID "2953" Position [65, 176, 180, 194] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "ballHandlingControl" TagVisibility "global" } Block { BlockType From Name "From6" SID "2954" Position [65, 226, 180, 244] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "shootLeverAngleMotor" TagVisibility "global" } Block { BlockType From Name "From7" SID "2955" Position [65, 251, 180, 269] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "LEDResetPanicSwitchButton" TagVisibility "global" } Block { BlockType From Name "From8" SID "2956" Position [65, 601, 180, 619] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "CAM1Control" TagVisibility "global" } Block { BlockType From Name "From9" SID "2957" Position [65, 276, 180, 294] BackgroundColor "gray" ShowName off CloseFcn "tagdialog Close" GotoTag "LEDBlue" TagVisibility "global" } Block { BlockType Outport Name "controlbus" SID "2958" Position [460, 368, 490, 382] IconDisplay "Port number" } Line { SrcBlock "Bus assigner" SrcPort 1 DstBlock "controlbus" DstPort 1 } Line { SrcBlock "From28" SrcPort 1 DstBlock "Bus assigner" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Bus assigner" DstPort 2 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Bus assigner" DstPort 3 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Bus assigner" DstPort 4 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Bus assigner" DstPort 5 } Line { SrcBlock "From18" SrcPort 1 DstBlock "Bus assigner" DstPort 7 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Bus assigner" DstPort 8 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Bus assigner" DstPort 9 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Bus assigner" DstPort 10 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Bus assigner" DstPort 11 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Bus assigner" DstPort 12 } Line { SrcBlock "From16" SrcPort 1 DstBlock "Bus assigner" DstPort 13 } Line { SrcBlock "From14" SrcPort 1 DstBlock "Bus assigner" DstPort 14 } Line { SrcBlock "From15" SrcPort 1 DstBlock "Bus assigner" DstPort 15 } Line { SrcBlock "From17" SrcPort 1 DstBlock "Bus assigner" DstPort 16 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Bus assigner" DstPort 17 } Line { SrcBlock "From13" SrcPort 1 DstBlock "Bus assigner" DstPort 18 } Line { SrcBlock "From22" SrcPort 1 DstBlock "Bus assigner" DstPort 19 } Line { SrcBlock "From20" SrcPort 1 DstBlock "Bus assigner" DstPort 20 } Line { SrcBlock "From21" SrcPort 1 DstBlock "Bus assigner" DstPort 21 } Line { SrcBlock "From23" SrcPort 1 DstBlock "Bus assigner" DstPort 22 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Bus assigner" DstPort 6 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Bus assigner" DstPort 23 } Line { SrcBlock "From24" SrcPort 1 DstBlock "Bus assigner" DstPort 24 } Line { SrcBlock "From25" SrcPort 1 DstBlock "Bus assigner" DstPort 25 } Line { SrcBlock "From19" SrcPort 1 DstBlock "Bus assigner" DstPort 26 } } } Block { BlockType SubSystem Name "keeper frame control" SID "2959" Ports [5, 1] Position [640, 640, 775, 720] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "keeper frame control" Location [447, 255, 1038, 577] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "visionbus" SID "2960" Position [45, 138, 75, 152] ForegroundColor "yellow" IconDisplay "Port number" } Block { BlockType Inport Name "amplifiers on/off" SID "2961" Position [45, 188, 75, 202] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "TRCbus" SID "2962" Position [45, 238, 75, 252] ForegroundColor "lightBlue" Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "sensorfusionbus" SID "2963" Position [45, 88, 75, 102] ForegroundColor "[0.710000, 0.820000, 0.120000]" Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "strategybus" SID "2964" Position [50, 38, 80, 52] ForegroundColor "orange" Port "5" IconDisplay "Port number" } Block { BlockType DataTypeConversion Name "Data Type Conversion" SID "2965" Position [115, 181, 185, 209] ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType S-Function Name "Keeper Frame Handler1" SID "2966" Ports [5, 3] Position [205, 22, 425, 268] BackgroundColor "green" FunctionName "Keeperframe" EnableBusSupport off MaskDisplay "port_label('input',1,'StrategyBus')\nport_label('input',2,'SensorfusionBus')\nport_label('input',3" ",'VisionBus')\nport_label('input',4,'Amplifier onOff')\nport_label('input',5,'TRCbus')\nport_label('output',1,'Fra" "me UP')\nport_label('output',2,'Frame LEFT')\nport_label('output',3,'Frame RIGHT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" Port { PortNumber 1 Name "frame up" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "frame left" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "frame right" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Mux Name "Mux1" SID "2967" Ports [3, 1] Position [465, 21, 470, 269] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Outport Name "IO Keeper Block" SID "2968" Position [510, 138, 540, 152] IconDisplay "Port number" } Line { SrcBlock "visionbus" SrcPort 1 DstBlock "Keeper Frame Handler1" DstPort 3 } Line { SrcBlock "amplifiers on/off" SrcPort 1 DstBlock "Data Type Conversion" DstPort 1 } Line { Name "frame up" Labels [1, 0] SrcBlock "Keeper Frame Handler1" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { Name "frame right" Labels [0, 0] SrcBlock "Keeper Frame Handler1" SrcPort 3 DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "IO Keeper Block" DstPort 1 } Line { Name "frame left" Labels [0, 0] SrcBlock "Keeper Frame Handler1" SrcPort 2 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "strategybus" SrcPort 1 DstBlock "Keeper Frame Handler1" DstPort 1 } Line { SrcBlock "TRCbus" SrcPort 1 DstBlock "Keeper Frame Handler1" DstPort 5 } Line { SrcBlock "sensorfusionbus" SrcPort 1 DstBlock "Keeper Frame Handler1" DstPort 2 } Line { SrcBlock "Data Type Conversion" SrcPort 1 DstBlock "Keeper Frame Handler1" DstPort 4 } } } Block { BlockType SubSystem Name "kick control" SID "2969" Ports [9, 9] Position [640, 70, 775, 320] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "kick control" Location [30, 91, 1556, 826] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "SkillID" SID "2970" Position [405, 203, 435, 217] IconDisplay "Port number" } Block { BlockType Inport Name "KickEffort" SID "2971" Position [405, 243, 435, 257] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Amplifier and Power on/off" SID "2972" Position [400, 163, 430, 177] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "motionbus" SID "2973" Position [100, 283, 130, 297] ForegroundColor "green" Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "Motion_tunable_par" SID "2974" Position [455, 363, 485, 377] Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "TRCbus" SID "2975" Position [455, 323, 485, 337] ForegroundColor "lightBlue" Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "strategybus" SID "2976" Position [455, 443, 485, 457] ForegroundColor "orange" Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "actionsbus" SID "2977" Position [455, 403, 485, 417] ForegroundColor "[0.700000, 0.500000, 0.000000]" Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "Ball is retracted" SID "2978" Position [455, 483, 485, 497] Port "9" IconDisplay "Port number" } Block { BlockType S-Function Name "Bus decoder1" SID "2979" Ports [1, 1] Position [255, 521, 430, 559] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |position_global_xyo|velLocalRef_dxdydo|robot_active|position_local_xyo|tacho_left" "|tacho_right|arm_left|arm_right|battery_voltage|motor_temperatures|panic_and_reset_switches|local_y_velocity|shoot" "_lever_encoder|SHTstatus|SHTValue|capacitorVoltage|startBackupSoftwareSwitch|rs485ResultCh1|rs485ResultCh2|CAM1Sta" "tus|Status|Counter|CAM1posX|Accelerations|vel_local_xyo_dot|BH_Overheat|0 |0 " " |0 |0 |x " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'SF_v_max_move');\nport_label('output',2,'SF_a_max_move');\nport_label('outp" "ut',3,'SF_v_max_rotate_move');\nport_label('output',4,'SF_a_max_rotate_move');\nport_label('output',5,'SF_v_max_x_" "keeper');\nport_label('output',6,'SF_v_max_y_keeper');\nport_label('output',7,'SF_a_max_x_keeper');\nport_label('o" "utput',8,'SF_a_max_y_keeper');\nport_label('output',9,'SF_v_max_rotate_keeper');\nport_label('output',10,'SF_a_max" "_rotate_keeper');\nport_label('input',1,'tunable_pardata_motion_bus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "tunable_pardata_motion_bus|on|off|on|off|on|off|off|on|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|on|on|on|on|on|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|tunable_pardata_moti" "on_bus|5,6,8,9,11,12,13,14,15,16,20,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,52,56,57,58," "60,65,66,69,70,72,73,74,75,76,77,78,79,80,81,82,83,92,93,91,90,89,88,95,96,94,97,98,99,100,101,102,103,105,106,108" ",107,111,110,109,112,113,|5,8,11,14,40,41,42,43,44,45," Port { PortNumber 1 Name "vmax_xy" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "amax_xy" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "vmax_phi" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "amax_phi" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType S-Function Name "Bus decoder1" SID "3015" Ports [1, 5] Position [175, 383, 350, 527] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |turtleID|teamColor|blueIsHome|roleIDs|refboxRoleIDs|refboxTask|refboxTaskTrigger|" "destination_xyo|roleAssignerMode|penaltyDemoMode|notBallHandlingDemo|joystick_v_xyo|joystickSkillID|joystickKickEf" "fort|joystickOnOff|t_RC|e4ffsd|0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |x |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'skillId');\nport_label('output',2,'kickEffort');\nport_label('output',3,'em" "ergencyStatus');\nport_label('input',1,'actionsbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "actionsbus|off|off|off|on|off|on|off|off|off|off|off|on|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|actionsbus|1,2,3,5,6,7,8,9,10" ",11,12,13,14,15,16,17,19,20,21,23,24,25,|5,13,7," } Block { BlockType Constant Name "Constant" SID "3017" Position [835, 605, 865, 635] ShowName off Value "0" } Block { BlockType DataTypeConversion Name "Data Type Conversion" SID "3018" Position [835, 444, 890, 466] ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion1" SID "3019" Position [835, 534, 890, 556] ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion2" SID "3020" Position [835, 669, 890, 691] ShowName off RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Demux Name "Demux1" SID "3021" Ports [1, 3] Position [610, 224, 615, 416] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" Port { PortNumber 1 Name "x_l_retdot" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "y_l_refdot" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "phi_refdot" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Demux Name "Demux2" SID "3022" Ports [1, 2] Position [1055, 479, 1060, 546] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Demux Name "Demux3" SID "3023" Ports [1, 6] Position [610, 71, 615, 214] BackgroundColor "black" ShowName off Outputs "6" DisplayOption "bar" Port { PortNumber 1 Name "vmax_xy" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "amax_xy" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 5 Name "vmax_phi" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 6 Name "amax_phi" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain1" SID "3024" Position [865, 383, 895, 407] ShowName off Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" SID "3025" Position [910, 318, 940, 342] ShowName off Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain3" SID "3026" Position [910, 253, 940, 277] ShowName off Gain "-1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Mux Name "Mux1" SID "3027" Ports [2, 1] Position [920, 531, 925, 589] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" SID "3028" Ports [3, 1] Position [1055, 215, 1060, 415] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" SID "3029" Ports [6, 1] Position [385, 49, 390, 146] ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" SID "3030" Ports [6, 1] Position [385, 151, 390, 279] ShowName off Inputs "6" DisplayOption "bar" } Block { BlockType Mux Name "Mux5" SID "3031" Ports [2, 1] Position [920, 439, 925, 501] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Product Name "Product" SID "3032" Ports [2, 1] Position [840, 232, 870, 263] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "3033" Ports [2, 1] Position [840, 297, 870, 328] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "3034" Ports [2, 1] Position [740, 362, 770, 393] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Rate Limiter" SID "3035" Ports [3, 1] Position [960, 229, 1025, 271] LibraryVersion "1.260" SourceBlock "simulink/Discontinuities/Rate Limiter\nDynamic" SourceType "Rate Limiter Dynamic" } Block { BlockType Reference Name "Rate Limiter1" SID "3036" Ports [3, 1] Position [960, 294, 1025, 336] LibraryVersion "1.260" SourceBlock "simulink/Discontinuities/Rate Limiter\nDynamic" SourceType "Rate Limiter Dynamic" } Block { BlockType Reference Name "Rate Limiter2" SID "3037" Ports [3, 1] Position [960, 359, 1025, 401] LibraryVersion "1.260" SourceBlock "simulink/Discontinuities/Rate Limiter\nDynamic" SourceType "Rate Limiter Dynamic" } Block { BlockType Switch Name "Switch1" SID "3038" Position [550, 98, 585, 192] Criteria "u2 ~= 0" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch3" SID "3039" Position [990, 449, 1025, 581] Criteria "u2 > Threshold" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch4" SID "3040" Position [990, 618, 1025, 692] Threshold "1" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Switch Name "Switch5" SID "3041" Position [925, 615, 955, 645] ShowName off Threshold "2.5" InputSameDT off SaturateOnIntegerOverflow off } Block { BlockType Reference Name "turtle1:\ngoalkeeper" SID "3042" Ports [1, 1] Position [460, 130, 490, 160] LibraryVersion "1.260" SourceBlock "simulink/Logic and Bit\nOperations/Compare\nTo Constant" SourceType "Compare To Constant" relop "==" const "1" OutDataTypeStr "uint8" ZeroCross off } Block { BlockType Outport Name "velLocalRefManual_dxdydo" SID "3043" Position [1115, 308, 1145, 322] IconDisplay "Port number" } Block { BlockType Outport Name "Skill ID " SID "3044" Position [1115, 488, 1145, 502] Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "kick effort " SID "3045" Position [1115, 523, 1145, 537] Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "emergency out" SID "3046" Position [1115, 648, 1145, 662] Port "4" IconDisplay "Port number" } Line { SrcBlock "Demux2" SrcPort 2 DstBlock "kick effort " DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 DstBlock "Skill ID " DstPort 1 } Line { SrcBlock "Mux5" SrcPort 1 DstBlock "Switch3" DstPort 1 } Line { SrcBlock "Switch3" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { Name "phi_refdot" Labels [0, 0] SrcBlock "Demux1" SrcPort 3 DstBlock "Product2" DstPort 2 } Line { Name "y_l_refdot" Labels [0, 0] SrcBlock "Demux1" SrcPort 2 DstBlock "Product1" DstPort 2 } Line { Name "x_l_retdot" Labels [0, 0] SrcBlock "Demux1" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Switch3" DstPort 3 } Line { SrcBlock "Switch4" SrcPort 1 DstBlock "emergency out" DstPort 1 } Line { SrcBlock "Bus decoder2" SrcPort 2 Points [115, 0; 0, -70] DstBlock "Mux1" DstPort 2 } Line { Name "manual mode switch" Labels [0, 0] SrcBlock "Bus decoder1" SrcPort 5 Points [615, 0] Branch { Points [0, 140] DstBlock "Switch4" DstPort 2 } Branch { DstBlock "Switch3" DstPort 2 } } Line { Name "vmax_xy" Labels [0, 0] SrcBlock "Demux3" SrcPort 1 Points [200, 0; 0, 160] DstBlock "Product" DstPort 1 } Line { Name "vmax_phi" Labels [0, 0] SrcBlock "Demux3" SrcPort 5 Points [105, 0] DstBlock "Product2" DstPort 1 } Line { Name "amax_phi" Labels [0, 0] SrcBlock "Demux3" SrcPort 6 Points [170, 0; 0, 160] Branch { DstBlock "Rate Limiter2" DstPort 1 } Branch { Points [0, 30] DstBlock "Gain1" DstPort 1 } } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Rate Limiter" DstPort 3 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Rate Limiter" DstPort 2 } Line { Name "amax_xy" Labels [0, 0] SrcBlock "Demux3" SrcPort 3 Points [275, 0; 0, 105] Branch { DstBlock "Gain3" DstPort 1 } Branch { DstBlock "Rate Limiter" DstPort 1 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Rate Limiter1" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Rate Limiter2" DstPort 2 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Rate Limiter2" DstPort 3 } Line { SrcBlock "Switch5" SrcPort 1 DstBlock "Switch4" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Switch5" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "velLocalRefManual_dxdydo" DstPort 1 } Line { SrcBlock "Bus decoder2" SrcPort 1 Points [85, 0; 0, -65] DstBlock "Data Type Conversion1" DstPort 1 } Line { SrcBlock "Rate Limiter" SrcPort 1 DstBlock "Mux2" DstPort 1 } Line { SrcBlock "Rate Limiter1" SrcPort 1 DstBlock "Mux2" DstPort 2 } Line { SrcBlock "Rate Limiter2" SrcPort 1 DstBlock "Mux2" DstPort 3 } Line { SrcBlock "Bus decoder1" SrcPort 3 DstBlock "Data Type Conversion" DstPort 1 } Line { SrcBlock "Bus decoder1" SrcPort 4 DstBlock "Mux5" DstPort 2 } Line { SrcBlock "TRC_bus" SrcPort 1 DstBlock "Bus decoder1" DstPort 1 } Line { SrcBlock "Data Type Conversion" SrcPort 1 DstBlock "Mux5" DstPort 1 } Line { SrcBlock "Data Type Conversion1" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Data Type Conversion2" SrcPort 1 Points [5, 0] Branch { DstBlock "Switch4" DstPort 3 } Branch { Points [0, -40] Branch { DstBlock "Switch5" DstPort 3 } Branch { Points [0, -10] DstBlock "Switch5" DstPort 2 } } } Line { SrcBlock "actionsbus" SrcPort 1 DstBlock "Bus decoder2" DstPort 1 } Line { SrcBlock "Motion_tuning_bus" SrcPort 1 DstBlock "Bus decoder" DstPort 1 } Line { Name "vmax_xy" Labels [0, 0] SrcBlock "Bus decoder" SrcPort 1 Points [5, 0; 0, -10] Branch { Points [0, -15] DstBlock "Mux3" DstPort 1 } Branch { DstBlock "Mux3" DstPort 2 } } Line { Name "amax_xy" Labels [0, 0] SrcBlock "Bus decoder" SrcPort 2 Points [15, 0] Branch { DstBlock "Mux3" DstPort 3 } Branch { DstBlock "Mux3" DstPort 4 } } Line { Name "vmax_phi" Labels [0, 0; 2, 1] SrcBlock "Bus decoder" SrcPort 3 Points [0, -5] DstBlock "Mux3" DstPort 5 } Line { Name "amax_phi" Labels [0, 0] SrcBlock "Bus decoder" SrcPort 4 Points [0, -10] DstBlock "Mux3" DstPort 6 } Line { SrcBlock "turtle1:\ngoalkeeper" SrcPort 1 DstBlock "Switch1" DstPort 2 } Line { SrcBlock "Mux3" SrcPort 1 Points [130, 0; 0, 75] DstBlock "Switch1" DstPort 3 } Line { SrcBlock "Mux4" SrcPort 1 Points [20, 0; 0, -100] DstBlock "Switch1" DstPort 1 } Line { SrcBlock "Switch1" SrcPort 1 DstBlock "Demux3" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Rate Limiter1" DstPort 3 } Line { SrcBlock "Demux3" SrcPort 2 Points [190, 0; 0, 200] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Demux3" SrcPort 4 Points [270, 0; 0, 145] Branch { Points [0, 30] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Rate Limiter1" DstPort 1 } } Line { SrcBlock "Bus decoder1" SrcPort 2 Points [230, 0; 0, -105] DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Bus decoder1" SrcPort 1 Points [70, 0; 0, -250] DstBlock "turtle1:\ngoalkeeper" DstPort 1 } Line { SrcBlock "Bus decoder" SrcPort 5 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Bus decoder" SrcPort 6 DstBlock "Mux4" DstPort 2 } Line { SrcBlock "Bus decoder" SrcPort 7 DstBlock "Mux4" DstPort 3 } Line { SrcBlock "Bus decoder" SrcPort 8 DstBlock "Mux4" DstPort 4 } Line { SrcBlock "Bus decoder" SrcPort 9 DstBlock "Mux4" DstPort 5 } Line { SrcBlock "Bus decoder" SrcPort 10 DstBlock "Mux4" DstPort 6 } Line { SrcBlock "Bus decoder2" SrcPort 3 DstBlock "Data Type Conversion2" DstPort 1 } Annotation { SID "3050" Position [993, 391] } Annotation { SID "3049" Name "0=no emergency\n1=power dip\n2=battery empty\n3=stop refbox" Position [553, 649] } Annotation { SID "3048" Name "feedthrough only\nemergency 0,1,2\nduring manual mode" Position [1083, 614] } Annotation { SID "3047" Position [415, 407] } } } Block { BlockType SubSystem Name "motion emergency handler:\namplifier and power control" SID "3051" Ports [4, 6] Position [185, 212, 320, 373] BackgroundColor "gray" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "motion emergency handler:\namplifier and power control" Location [182, 104, 1424, 853] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "emergeny" SID "3052" Position [60, 63, 90, 77] IconDisplay "Port number" } Block { BlockType Inport Name "motionbus" SID "3053" Position [145, 493, 175, 507] ForegroundColor "green" Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "TRCbus" SID "3054" Position [145, 333, 175, 347] ForegroundColor "lightBlue" Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "actionsbus" SID "3055" Position [145, 393, 175, 407] ForegroundColor "[0.700000, 0.500000, 0.000000]" Port "4" IconDisplay "Port number" } Block { BlockType Sum Name "Add" SID "3056" Ports [2, 1] Position [520, 47, 550, 78] InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType S-Function Name "Bus decoder" SID "3057" Ports [1, 2] Position [220, 452, 365, 543] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |position_global_xyo|robot_active|position_local_xyo|tacho_left|tacho_right|arm_le" "ft|arm_right|battery_voltage|motor_temperatures|panic_and_reset_switches|local_y_velocity|shoot_lever_encoder|SHTs" "tatus|SHTValue|capacitorVoltage|velLocalRef_dxdydo|startBackupSoftwareSwitch|rs485ResultCh1|rs485ResultCh2|CAM1Sta" "tus|Status|Counter|CAM1posX|Accelerations|vel_local_xyo_dot|BH_Overheat|0 |0 " " |0 |0 |x " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'joystickOnOff');\nport_label('input',1,'TRCbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "TRCbus|off|off|off|off|off|off|off|off|off|off|off|off|off|off|on|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|TRCbus|1,2,3,4,5,6,7,8,9,10,11," "14,15,16,17,18,|17," } Block { BlockType S-Function Name "Bus decoder2" SID "3059" Ports [1, 1] Position [220, 381, 385, 419] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |desiredVelocityStrategy|aimTarget_xy|actionHandlerReturnValue|skillId|controlEnab" "le|emergencyStatus|target_xyo|waypointReached|scrum|subtarget_xy|subsubtarget_xy|kickEffort|desiredAccelerationStr" "ategy|CPPArobot|addedObstacles|shotType|smoothStopFlag|rotationCrashObject|target_dxdyt|shootTarget_xy|Interceptin" "gPass|dribbleAroundBallFlag|0 |0 |0 " " |0 |0 |0 |0 " " |0 |x |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |memory variable|memo" "ry variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'position_global_xyo[3]');\nport_label('input',1,'motionbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "motionbus|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|motionbus|2,3,4,5,6,7,8,9,11" ",13,14,15,16,17,18,22,20,23,24,25,26,27,28,29,30,31,|2," } Block { BlockType S-Function Name "Bus decoder1" SID "3223" Ports [1, 7] Position [120, 69, 295, 261] BackgroundColor "cyan" ShowName off FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |desiredVelocityStrategy|aimTarget_xy|actionHandlerReturnValue|skillId|controlEnab" "le|emergencyStatus|target_xyo|waypointReached|scrum|subtarget_xy|subsubtarget_xy|kickEffort|desiredAccelerationStr" "ategy|CPPArobot|addedObstacles|shotType|smoothStopFlag|rotationCrashObject|target_dxdyt|shootTarget_xy|Interceptin" "gPass|dribbleAroundBallFlag|0 |0 |0 " " |0 |0 |0 |0 " " |0 |x |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |memory variable|memo" "ry variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'turtleID');\nport_label('output',2,'notBallHandlingDemo');\nport_label('out" "put',3,'joystickOnOff');\nport_label('input',1,'TRCbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "TRCbus|on|off|off|off|off|off|off|off|off|off|on|off|off|off|on|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|TRCbus|1,2,3,4,5,6,7,8,9,10,11,14" ",15,16,17,18,|1,11,17," } Block { BlockType S-Function Name "Bus decoder4" SID "3225" Ports [1, 2] Position [575, 659, 775, 721] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |desiredVelocityStrategy|aimTarget_xy|actionHandlerReturnValue|skillId|kickEffort|" "controlEnable|emergencyStatus|target_xyo|waypointReached|scrum|subtarget_xy|subsubtarget_xy|desiredAccelerationStr" "ategy|CPPArobot|addedObstacles|shotType|smoothStopFlag|rotationCrashObject|target_dxdyt|shootTarget_xy|Interceptin" "gPass|dribbleAroundBallFlag|ShootLeverPrefferedPosition|refboxparamsbus|RoleStageState|refboxRoleTarget_xy_Role|ta" "skswitch_params|Coach_Trigger|BH_AngleReference|BH_AngleReferenceKick|BH_VelocityReferenceNoBall|BH_VelReferenceNo" "BallLow|BH_VelReferenceNoBallHigh|BH_VelReferenceCatching|BH_VelRefStupidHumanDribble|BH_StupidHumanDribbleOnOff|B" "H_CatchingTime|BH_FF_base_factor|BH_AddRetractForwardDribble|BH_AddRetractBackwardDribble|BH_AddRetractSidewaysBac" "kArm|BH_AddRetractSidewaysFrontArm|BH_PGain_CAngle|BH_PGain_CVel|BH_PGain_CVel_catching|BH_Velref_Scrum|BH_use_scr" "umhandler|K_retract_ball_time_in_ms|K_basis_value_lob|K_rate_value_lob|K_basis_value_pass|K_rate_value_pass|K_basi" "s_value_dyn_pass|K_rate_value_dyn_pass|K_basis_value_dyn_push|K_scale_indirect_pass|K_rate_velcomp_dpass_posit|K_r" "ate_velcomp_dpass_negat|K_PassTimeGain_dyn_Pass|K_maximum_value_flat|K_angle_flat_shot|K_velocity_gain_lob|K_wait_" "time_during_aim_in_s|K_use_demo_goal|K_height_hole1|K_height_hole2|K_height_hole3|K_FFBallSpeedOnAimTarget|K_FFBal" "lSpeedOnAimTargetPass|K_FFBallSpeedOnAimTargetLob|SF_brake_gain_target_turtle|SF_brake_gain_reverse_turtle|SF_brak" "e_gain_reverse_keeper|SF_brake_gain_target_keeper|SF_brake_gain_target_pass|SF_brake_gain_reverse_pass|K_shoot_whe" "n_retracted|SF_ball2robotdist_for_rotate|0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0" " |0 |0 |0 " " |0 |0 |memory variable|memory variable" "|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'BMuse_kinect_ball');\nport_label('input',1,'tunable_pardata_strategy_bus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "tunable_pardata_strategy_bus|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|tunable_p" "ardata_strategy_bus|2,3,4,5,6,45,46,53,55,48,49,60,61,57,8,9,65,67,69,68,70,11,40,59,13,43,14,15,64,16,17,44,47,18" ",19,21,22,23,36,37,38,39,25,34,35,29,30,31,32,33,63,71,72,73,76,77,81,83,84,85,87,88,89,90,91,92,93,94,95,96,97,98" ",99,100,|31," } Block { BlockType S-Function Name "FcCoord2global" SID "1112" Ports [5, 2] Position [420, 28, 570, 172] FunctionName "frontcam2global" EnableBusSupport off MaskDisplay "port_label('input',1,'BALLS struct')\nport_label('input',2,'dist lens - ball')\nport_label('input'" ",3,'cur_xyo')\nport_label('input',4,'Kinect_to_FC')\nport_label('input',5,'Tuning Use Kinect')\nport_label('output" "',1,'BallsOutStruc')\nport_label('output',2,'FC lob trigger')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" } Block { BlockType S-Function Name "RS422ToFCcoord" SID "1113" Ports [1, 3] Position [100, 26, 280, 114] FunctionName "ec_vpu" EnableBusSupport off MaskDisplay "port_label('input',1,'motionbus')\nport_label('output',1,'BALLS struct')\nport_label('output',2,'d" "ist lens - ball')\nport_label('output',3,'RS485_CH1')\n" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" } Block { BlockType Outport Name "RS485_CH1" SID "1114" Position [305, 93, 335, 107] IconDisplay "Port number" } Block { BlockType Outport Name "fc_ball_xyzct" SID "1115" Position [620, 58, 650, 72] Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "frontcam_lobbal_trigger" SID "1116" Position [620, 128, 650, 142] Port "3" IconDisplay "Port number" } Line { SrcBlock "RS422ToFCcoord" SrcPort 1 DstBlock "FcCoord2global" DstPort 1 } Line { SrcBlock "RS422ToFCcoord" SrcPort 2 DstBlock "FcCoord2global" DstPort 2 } Line { SrcBlock "FcCoord2global" SrcPort 1 DstBlock "fc_ball_xyzct" DstPort 1 } Line { SrcBlock "cur_xyo" SrcPort 1 DstBlock "FcCoord2global" DstPort 3 } Line { SrcBlock "RS422ToFCcoord" SrcPort 3 DstBlock "RS485_CH1" DstPort 1 } Line { SrcBlock "kinectToFc" SrcPort 1 DstBlock "FcCoord2global" DstPort 4 } Line { SrcBlock "motionbus1" SrcPort 1 DstBlock "RS422ToFCcoord" DstPort 1 } Line { SrcBlock "FcCoord2global" SrcPort 2 DstBlock "frontcam_lobbal_trigger" DstPort 1 } Line { SrcBlock "strategy_tuning" SrcPort 1 DstBlock "Bus decoder" DstPort 1 } Line { SrcBlock "Bus decoder" SrcPort 1 DstBlock "FcCoord2global" DstPort 5 } } } Block { BlockType SubSystem Name "ball update" SID "1117" Ports [11, 7] Position [215, 196, 380, 454] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "ball update" Location [66, 81, 1601, 928] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "frontcamdata" SID "1118" Position [130, 398, 160, 412] IconDisplay "Port number" } Block { BlockType Inport Name "Strategy_tuning_bus" SID "1119" Position [130, 433, 160, 447] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "motionbus" SID "1120" Position [135, 258, 165, 272] ForegroundColor "green" Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "visionbus" SID "1121" Position [135, 188, 165, 202] Port "4" IconDisplay "Port number" } Block { BlockType Inport Name "cur_xyo" SID "1122" Position [135, 118, 165, 132] Port "5" IconDisplay "Port number" } Block { BlockType Inport Name "teambus" SID "1123" Position [135, 48, 165, 62] ForegroundColor "red" Port "6" IconDisplay "Port number" } Block { BlockType Inport Name "LRFbus" SID "1124" Position [470, 363, 500, 377] ForegroundColor "gray" Port "7" IconDisplay "Port number" } Block { BlockType Inport Name "control bus" SID "1125" Position [130, 468, 160, 482] ForegroundColor "gray" Port "8" IconDisplay "Port number" } Block { BlockType Inport Name "TRCbus" SID "2069" Position [135, 503, 165, 517] ForegroundColor "lightBlue" Port "9" IconDisplay "Port number" } Block { BlockType Inport Name "strategybus" SID "2192" Position [135, 353, 165, 367] Port "10" IconDisplay "Port number" } Block { BlockType Inport Name "actionsbus" SID "2249" Position [135, 538, 165, 552] Port "11" IconDisplay "Port number" } Block { BlockType SubSystem Name "Kinect" SID "1126" Ports [2, 2] Position [235, 320, 380, 375] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Kinect" Location [66, 81, 1656, 871] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "cur xyo1" SID "2180" Position [95, 33, 125, 47] IconDisplay "Port number" } Block { BlockType Inport Name "strategybus" SID "2181" Position [15, 78, 45, 92] Port "2" IconDisplay "Port number" } Block { BlockType S-Function Name "Bus decoder2" SID "2213" Ports [1, 1] Position [65, 63, 225, 107] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using th" "e busmanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |refbox_role|assigned_role|current_role|wppathlength|waypoints_xyo|motionContr" "olDisableRefboxhandler|handlingOnOffRefboxhandler|RefboxStageState|RefboxRandNr|refboxParams|GameStageState|Pass" "_receiver_role_id|ActivateKeeperFrame|opp_xydxdyr|RefboxTaskExtended|RefboxInProgress|strategyDisable|TSR_ROH|de" "fcon|defcon_RoleId|gameRoleTarget_xy_Role|Pass_target_xy|ShootLeverPrefferedPosition|refboxparamsbus|RoleStageSt" "ate|refboxRoleTarget_xy_Role|taskswitch_params|coach_state|coach_state|Coach_Trigger|x " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;bus_is_in=@2;var_name01=&3;var_name02=&4;var_name03=&5;var_name04=&6;var_name05=&7;v" "ar_name06=&8;var_name07=&9;var_name08=&10;var_name09=&11;var_name10=&12;var_name11=&13;var_name12=&14;var_name13=&" "15;var_name14=&16;var_name15=&17;var_name16=&18;var_name17=&19;var_name18=&20;var_name19=&21;var_name20=&22;var_na" "me21=&23;var_name22=&24;var_name23=&25;var_name24=&26;var_name25=&27;var_name26=&28;var_name27=&29;var_name28=&30;" "var_name29=&31;var_name30=&32;var_name31=&33;var_name32=&34;var_name33=&35;var_name34=&36;var_name35=&37;var_name3" "6=&38;var_name37=&39;var_name38=&40;var_name39=&41;var_name40=&42;var_name41=&43;var_name42=&44;var_name43=&45;var" "_name44=&46;var_name45=&47;var_name46=&48;var_name47=&49;var_name48=&50;var_name49=&51;var_name50=&52;var_name51=&" "53;var_name52=&54;var_name53=&55;var_name54=&56;var_name55=&57;var_name56=&58;var_name57=&59;var_name58=&60;var_na" "me59=&61;var_name60=&62;var_name61=&63;var_name62=&64;var_name63=&65;var_name64=&66;var_name65=&67;var_name66=&68;" "var_name67=&69;var_name68=&70;var_name69=&71;var_name70=&72;var_name71=&73;var_name72=&74;var_name73=&75;var_name7" "4=&76;var_name75=&77;var_name76=&78;var_name77=&79;var_name78=&80;var_name79=&81;var_name80=&82;var_name81=&83;var" "_name82=&84;var_name83=&85;var_name84=&86;var_name85=&87;var_name86=&88;var_name87=&89;var_name88=&90;var_name89=&" "91;var_name90=&92;var_name91=&93;var_name92=&94;var_name93=&95;var_name94=&96;var_name95=&97;var_name96=&98;var_na" "me97=&99;var_name98=&100;var_name99=&101;var_name100=&102;selected_bus=&103;var_ids=&104;checked_var_ids=&105;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_assign('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "|||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_assign('init');\n" MaskSelfModifiable on MaskDisplay "port_label('input',1,'frontcam_lobbal_trigger');\nport_label('input',2,'ballFoundForStrategy');\np" "ort_label('input',3,'OVseeBall');\nport_label('input',4,'ball_xyzdxdydz[6]');\nport_label('input',5,'ball_pos_near" "est_teammate[3]');\nport_label('input',6,'ball_found_by_teammate');\nport_label('input',7,'cur_xyo[3]');\nport_lab" "el('input',8,'motion_offset[3]');\nport_label('input',9,'cur_xyo_at_l2g_vision[3]');\nport_label('input',10,'laser" "_pose_found');\nport_label('input',11,'CPB_merged');\nport_label('input',12,'cur_xydot[2]');\nport_label('input',1" "3,'cpb_poi_xyo[3]');\nport_label('output',1,'sensorfusionbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "sensorfusionbus|off|on|on|on|on|on|on|on|on|on|on|on|on|on|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|" "off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|sensorfusionbus|1,2,3,4,5,6,7," "8,9,10,11,12,13,14,|1,2,3,4,5,6,7,8,9,10,11,12,13," } Block { BlockType From Name "From1" SID "1224" Position [75, 101, 190, 119] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "ballFoundForStrategy" TagVisibility "global" } Block { BlockType From Name "From10" SID "1225" Position [75, 371, 190, 389] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "CPBmerged" TagVisibility "global" } Block { BlockType From Name "From11" SID "1746" Position [75, 401, 190, 419] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "cur_xydot_global" TagVisibility "global" } Block { BlockType From Name "From12" SID "2164" Position [75, 431, 190, 449] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "pt_of_intercept" TagVisibility "global" } Block { BlockType From Name "From18" SID "1226" Position [75, 71, 190, 89] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "froncam_lobbal_trigger" TagVisibility "global" } Block { BlockType From Name "From2" SID "1227" Position [75, 131, 190, 149] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "OVseeBall" TagVisibility "global" } Block { BlockType From Name "From3" SID "1228" Position [75, 161, 190, 179] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "ball_xyzdxdydz" TagVisibility "global" } Block { BlockType From Name "From4" SID "1229" Position [75, 191, 190, 209] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "ball_pos_nearest_teammate" TagVisibility "global" } Block { BlockType From Name "From5" SID "1230" Position [75, 221, 190, 239] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "ball_found_by_teammate" TagVisibility "global" } Block { BlockType From Name "From6" SID "1231" Position [75, 251, 190, 269] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "cur_xyo" TagVisibility "global" } Block { BlockType From Name "From7" SID "1232" Position [75, 281, 190, 299] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "motion_offset" TagVisibility "global" } Block { BlockType From Name "From8" SID "1233" Position [75, 311, 190, 329] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "cur_xyo_at_l2g_vision" TagVisibility "global" } Block { BlockType From Name "From9" SID "1234" Position [75, 341, 190, 359] BackgroundColor "[0.710000, 0.820000, 0.120000]" ShowName off CloseFcn "tagdialog Close" GotoTag "LaserPoseFound" TagVisibility "global" } Block { BlockType Outport Name "sensorfusionbus" SID "1235" Position [500, 268, 530, 282] IconDisplay "Port number" } Line { SrcBlock "Bus assigner" SrcPort 1 Points [0, 15] DstBlock "sensorfusionbus" DstPort 1 } Line { SrcBlock "From18" SrcPort 1 DstBlock "Bus assigner" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Bus assigner" DstPort 2 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Bus assigner" DstPort 3 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Bus assigner" DstPort 4 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Bus assigner" DstPort 5 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Bus assigner" DstPort 6 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Bus assigner" DstPort 7 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Bus assigner" DstPort 8 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Bus assigner" DstPort 9 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Bus assigner" DstPort 10 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Bus assigner" DstPort 11 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Bus assigner" DstPort 12 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Bus assigner" DstPort 13 } } } Block { BlockType SubSystem Name "position update" SID "1236" Ports [3, 5] Position [215, 474, 380, 626] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "position update" Location [1, 81, 1785, 954] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "motionbus" SID "1237" Position [440, 508, 470, 522] ForegroundColor "green" IconDisplay "Port number" } Block { BlockType Inport Name "visionbus" SID "1238" Position [15, 183, 45, 197] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "LRFbus" SID "1239" Position [345, 198, 375, 212] ForegroundColor "gray" Port "3" IconDisplay "Port number" } Block { BlockType S-Function Name " " SID "1240" Ports [4, 2] Position [595, 116, 730, 234] FunctionName "pose_selector" EnableBusSupport off MaskDisplay "port_label('input',1,'pose_xyo_ov')\nport_label('input',2,'pose_xyo_ov_found')\nport_label('input'" ",3,'pose_xyo_laser')\nport_label('input',4,'pose_xyo_laser_found')\n\nport_label('output',1,'pose_xyo')\nport_labe" "l('output',2,'Pose found')\n" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" } Block { BlockType S-Function Name "Bus decoder" SID "1241" Ports [1, 5] Position [70, 119, 245, 261] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |pose_xyo_ov|pose_ov_found|ball_xyz_ov|ball_confidence_ov|ball_found_ov|ov_lob_det" "ected|obs_xy_xydot_r_for_strategy|image_time_ov|l2g_vision_time|ball_xyz_vxvyvz_est|obs_worldmodel_local_xyr|t_VL|" "vxcbdrf|cv|zfdbf|dssssssf|e4ffsd|0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |x |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable_pardat" "a_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refboxparamsbus" "|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,che" "ckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox," "checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkb" "ox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;var_name01=&2;var_name02=&3;var_name03=&4;var_name04=&5;var_name05=&6;var_name06=&7;" "var_name07=&8;var_name08=&9;var_name09=&10;var_name10=&11;var_name11=&12;var_name12=&13;var_name13=&14;var_name14=" "&15;var_name15=&16;var_name16=&17;var_name17=&18;var_name18=&19;var_name19=&20;var_name20=&21;var_name21=&22;var_n" "ame22=&23;var_name23=&24;var_name24=&25;var_name25=&26;var_name26=&27;var_name27=&28;var_name28=&29;var_name29=&30" ";var_name30=&31;var_name31=&32;var_name32=&33;var_name33=&34;var_name34=&35;var_name35=&36;var_name36=&37;var_name" "37=&38;var_name38=&39;var_name39=&40;var_name40=&41;var_name41=&42;var_name42=&43;var_name43=&44;var_name44=&45;va" "r_name45=&46;var_name46=&47;var_name47=&48;var_name48=&49;var_name49=&50;var_name50=&51;var_name51=&52;var_name52=" "&53;var_name53=&54;var_name54=&55;var_name55=&56;var_name56=&57;var_name57=&58;var_name58=&59;var_name59=&60;var_n" "ame60=&61;var_name61=&62;var_name62=&63;var_name63=&64;var_name64=&65;var_name65=&66;var_name66=&67;var_name67=&68" ";var_name68=&69;var_name69=&70;var_name70=&71;var_name71=&72;var_name72=&73;var_name73=&74;var_name74=&75;var_name" "75=&76;var_name76=&77;var_name77=&78;var_name78=&79;var_name79=&80;var_name80=&81;var_name81=&82;var_name82=&83;va" "r_name83=&84;var_name84=&85;var_name85=&86;var_name86=&87;var_name87=&88;var_name88=&89;var_name89=&90;var_name90=" "&91;var_name91=&92;var_name92=&93;var_name93=&94;var_name94=&95;var_name95=&96;var_name96=&97;var_name97=&98;var_n" "ame98=&99;var_name99=&100;var_name100=&101;selected_bus=&102;var_ids=&103;checked_var_ids=&104;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_decode('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,o" "n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskInitialization "mask_sf_bus_decode('init');\n" MaskSelfModifiable on MaskDisplay "port_label('output',1,'position_global_xyo[3]');\nport_label('output',2,'velLocalRef_dxdydo[3]');\n" "port_label('input',1,'motionbus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "motionbus|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|on|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off" "|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|motionbus|2,3,4,5,6,7,8,9,11," "13,14,15,16,17,18,22,20,23,24,25,26,27,28,29,30,31,|2,22," } Block { BlockType S-Function Name "Bus decoder2" SID "1243" Ports [1, 2] Position [400, 173, 545, 237] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using the bu" "smanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |ball_top_lrf|ball_top_lrf_f|pose_lrf|pose_lrf_f|ball_ground_lrf|lrf_on|cpb_lrf|ob" "st_lrf|WMLclipradius|WMLkscale|WMLmaxage|FixedShutterTime_us|joystickSkillID|joystickKickEffort|joystickOnOff|dsss" "sssf|e4ffsd|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |x " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |" "0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |memory variable|memory variable|memory variable" MaskStyleString "popup(|TRCbus|motionbus|teambus|visionbus|tunable_pardata_motion_bus|tunable" "_pardata_vision_bus|tunable_pardata_strategy_bus|actionsbus|controlbus|LRFbus|strategybus|sensorfusionbus|refbo" "xparamsbus|tunable_pardata_worldmodel_bus),checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,ch" "eckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check" "box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox" ",checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,edit,edit,edit" MaskVariables "bus_name=&1;bus_is_in=@2;var_name01=&3;var_name02=&4;var_name03=&5;var_name04=&6;var_name0" "5=&7;var_name06=&8;var_name07=&9;var_name08=&10;var_name09=&11;var_name10=&12;var_name11=&13;var_name12=&14;var" "_name13=&15;var_name14=&16;var_name15=&17;var_name16=&18;var_name17=&19;var_name18=&20;var_name19=&21;var_name2" "0=&22;var_name21=&23;var_name22=&24;var_name23=&25;var_name24=&26;var_name25=&27;var_name26=&28;var_name27=&29;" "var_name28=&30;var_name29=&31;var_name30=&32;var_name31=&33;var_name32=&34;var_name33=&35;var_name34=&36;var_na" "me35=&37;var_name36=&38;var_name37=&39;var_name38=&40;var_name39=&41;var_name40=&42;var_name41=&43;var_name42=&" "44;var_name43=&45;var_name44=&46;var_name45=&47;var_name46=&48;var_name47=&49;var_name48=&50;var_name49=&51;var" "_name50=&52;var_name51=&53;var_name52=&54;var_name53=&55;var_name54=&56;var_name55=&57;var_name56=&58;var_name5" "7=&59;var_name58=&60;var_name59=&61;var_name60=&62;var_name61=&63;var_name62=&64;var_name63=&65;var_name64=&66;" "var_name65=&67;var_name66=&68;var_name67=&69;var_name68=&70;var_name69=&71;var_name70=&72;var_name71=&73;var_na" "me72=&74;var_name73=&75;var_name74=&76;var_name75=&77;var_name76=&78;var_name77=&79;var_name78=&80;var_name79=&" "81;var_name80=&82;var_name81=&83;var_name82=&84;var_name83=&85;var_name84=&86;var_name85=&87;var_name86=&88;var" "_name87=&89;var_name88=&90;var_name89=&91;var_name90=&92;var_name91=&93;var_name92=&94;var_name93=&95;var_name9" "4=&96;var_name95=&97;var_name96=&98;var_name97=&99;var_name98=&100;var_name99=&101;var_name100=&102;selected_bu" "s=&103;var_ids=&104;checked_var_ids=&105;" MaskTunableValueString "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off," "off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskCallbackString "mask_sf_bus_assign('init');|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" "|||||||||||||||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on," "on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,of" "f,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on" MaskInitialization "mask_sf_bus_assign('init');\n" MaskSelfModifiable on MaskDisplay "port_label('input',1,'strategybus');\nport_label('input',2,'waypoints_xyo[3*NPATH_MAX]');\np" "ort_label('input',3,'wppathlength');\nport_label('input',4,'defcon');\nport_label('input',5,'defcon_RoleId');\n" "port_label('input',6,'refbox_role');\nport_label('input',7,'assigned_role');\nport_label('input',8,'taskswitch_" "params[4]');\nport_label('input',9,'current_role');\nport_label('input',10,'opp_xydxdyr[5*NAVOIDABLES_FOR_STRAT" "EGY]');\nport_label('input',11,'coach_state');\nport_label('output',1,'strategybus')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "strategybus|on|on|on|on|on|on|off|off|off|off|off|off|off|off|on|off|off|off|off|on|on|o" "ff|off|off|off|off|off|on|on|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|of" "f|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|o" "ff|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|off|strategybus|2,3," "4,7,8,9,10,11,12,13,14,15,16,17,18,20,21,22,24,25,26,27,28,29,30,31,32,35,|8,7,24,25,2,3,32,4,17,35," } Block { BlockType S-Function Name "Bus decoder:\nTaskswitches are handle within the teambus.\nThe current role is therefore given in " "the teambus." SID "2130" Ports [1, 1] Position [345, 818, 685, 872] BackgroundColor "cyan" FunctionName "sf_bus_decode" Parameters "sizes,offsets,portwidth,types,bus_size" EnableBusSupport off MaskType "Decode bus variables." MaskDescription "Bus decoder to obtain values of bus variables. \nBusses can be editted and created using" " the busmanager. Note that deleting input variables of this bus assigner will mix the inputs." MaskPromptString "Name of bus |blueIsHomeGoal|robotsInField|teamColors|gameRoleIds|current_xyo|current_xy" "_dot|subtarget_xy|CPBteam|t_MS|CPPAroleIdDef|CPPAteamDef|CPPAroleIdAtt|CPPAteamAtt|taskSwitchRequest|roleSwitch" "Initiative|refboxRoleIds|refboxStageStates|RoleStageStates|Pass_target_xy|Pass_receiver_role_ID|refboxGlobalNrs" "|prevGameRoleIds|WMactive|WMopponents_xy_dxdy_r|WMopponentwithball|WMopponentwithball_xy_dxdy_r|WMrobot_xyo|WMa" "ctiveRobots|turtleTargets|t_BS|ball_xyz|ball_xyzdot|ballSource|ballConfidence|seeBall|usedBallTurtleID|isPeer|g" "ameRoleTarget_xy_Role|NactivePeers|refboxRoleTarget_xy_Role|peerRunsBackupSoftware|Coach_Peer_Detected|0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 " "|0 |0 |0 |0 " " |0 |0 |0 " " |0 |0 |0 |0 " " |0 |0 |0 " " |memory variable|memory variable|memory variable" MaskStyleString "popup(