8 ParameterArgumentNames ""
9 ComputedModelVersion "1.261"
11 NumTestPointedSignals 0
13 SavedCharacterEncoding "iso-8859-2"
15 PostLoadFcn "figure(2); hold off\nfigure(1);\nsim('reg_test', 0)"
17 SaveDefaultBlockParams on
19 LibraryLinkDisplay "none"
24 IgnoreBidirectionalLines off
29 ExecutionContextIcon off
30 ShowLinearizationAnnotations on
31 ScopeRefreshTime 0.035000
32 OverrideScopeRefreshTime on
34 DataTypeOverride "UseLocalSettings"
35 MinMaxOverflowLogging "UseLocalSettings"
36 MinMaxOverflowArchiveMode "Overwrite"
38 BlockParametersDataTip off
39 BlockDescriptionStringDataTip off
42 BrowserShowLibraryLinks off
43 BrowserLookUnderMasks off
44 InitFcn "figure(2); hold off\nfigure(1);"
45 Created "Thu Mar 29 23:35:11 2007"
47 UpdateHistory "UpdateHistoryNever"
48 ModifiedByFormat "%<Auto>"
50 ModifiedDateFormat "%<Auto>"
51 LastModifiedDate "Fri Apr 25 10:52:54 2008"
52 ModelVersionFormat "1.%<AutoIncrement:261>"
53 ConfigurationManager "None"
54 SimulationMode "normal"
55 LinearizationMsg "none"
57 ParamWorkspaceSource "MATLABWorkspace"
58 AccelSystemTargetFile "accel.tlc"
59 AccelTemplateMakefile "accel_default_tmf"
60 AccelMakeCommand "make_rtw"
66 CovMetricSettings "dw"
67 CovNameIncrementing off
69 covSaveCumulativeToWorkspaceVar on
70 CovSaveSingleToWorkspaceVar on
71 CovCumulativeVarName "covCumulativeData"
72 CovCumulativeReport off
75 ExtModeEnableFloating on
76 ExtModeTrigType "manual"
77 ExtModeTrigMode "normal"
79 ExtModeTrigElement "any"
80 ExtModeTrigDuration 1000
81 ExtModeTrigDurationFloating "auto"
84 ExtModeTrigDirection "rising"
86 ExtModeArchiveMode "off"
87 ExtModeAutoIncOneShot off
88 ExtModeIncDirWhenArm off
89 ExtModeAddSuffixToVar off
90 ExtModeWriteAllDataToWs off
91 ExtModeArmWhenConnect on
92 ExtModeSkipDownloadWhenConnect off
94 ExtModeAutoUpdateStatusClock off
96 ProdHWDeviceType "32-bit Generic"
97 ShowModelReferenceBlockVersion off
98 ShowModelReferenceBlockIO off
118 ConsecutiveZCsStepRelTol "10*128*eps"
119 MaxConsecutiveZCs "1000"
121 NumberNewtonIterations 1
124 MaxConsecutiveMinStep "1"
129 ZeroCrossControl "UseLocalSettings"
130 AlgebraicLoopSolver "TrustRegion"
131 SolverResetMethod "Fast"
132 PositivePriorityOrder off
133 AutoInsertRateTranBlk off
134 SampleTimeConstraint "Unconstrained"
135 RateTranMode "Deterministic"
141 ExternalInput "[t, u]"
142 FinalStateName "xFinal"
143 InitialState "xInitial"
146 LoadExternalInput off
153 InspectSignalLogs off
157 OutputSaveName "yout"
158 SignalLoggingName "logsout"
159 OutputOption "RefineOutputTimes"
163 Simulink.OptimizationCC {
168 Cell "ZeroExternalMemoryAtStartup"
169 Cell "ZeroInternalMemoryAtStartup"
170 Cell "InitFltsAndDblsToZero"
171 Cell "OptimizeModelRefInitCode"
172 Cell "NoFixptDivByZeroProtection"
173 PropName "DisabledProps"
178 ConditionallyExecuteInputs on
180 InlineInvariantSignals off
181 OptimizeBlockIOStorage on
183 EnforceIntegerDowncast on
185 ExpressionDepthLimit 2147483647
189 SystemCodeInlineAuto off
193 ZeroExternalMemoryAtStartup on
194 ZeroInternalMemoryAtStartup on
195 InitFltsAndDblsToZero on
196 NoFixptDivByZeroProtection off
197 EfficientFloat2IntCast off
198 OptimizeModelRefInitCode off
200 BufferReusableBoundary on
202 Simulink.DebuggingCC {
206 ConsistencyChecking "none"
207 ArrayBoundsChecking "none"
208 SignalInfNanChecking "none"
209 ReadBeforeWriteMsg "UseLocalSettings"
210 WriteAfterWriteMsg "UseLocalSettings"
211 WriteAfterReadMsg "UseLocalSettings"
212 AlgebraicLoopMsg "warning"
213 ArtificialAlgebraicLoopMsg "warning"
214 CheckSSInitialOutputMsg on
215 CheckExecutionContextPreStartOutputMsg off
216 CheckExecutionContextRuntimeOutputMsg off
217 SignalResolutionControl "TryResolveAllWithWarning"
218 BlockPriorityViolationMsg "warning"
219 MinStepSizeMsg "warning"
220 TimeAdjustmentMsg "none"
221 MaxConsecutiveZCsMsg "error"
222 SolverPrmCheckMsg "warning"
223 InheritedTsInSrcMsg "warning"
224 DiscreteInheritContinuousMsg "warning"
225 MultiTaskDSMMsg "error"
226 MultiTaskCondExecSysMsg "error"
227 MultiTaskRateTransMsg "error"
228 SingleTaskRateTransMsg "none"
229 TasksWithSamePriorityMsg "warning"
230 SigSpecEnsureSampleTimeMsg "warning"
231 CheckMatrixSingularityMsg "none"
232 IntegerOverflowMsg "warning"
233 Int32ToFloatConvMsg "warning"
234 ParameterDowncastMsg "error"
235 ParameterOverflowMsg "error"
236 ParameterUnderflowMsg "none"
237 ParameterPrecisionLossMsg "warning"
238 ParameterTunabilityLossMsg "warning"
239 UnderSpecifiedDataTypeMsg "none"
240 UnnecessaryDatatypeConvMsg "none"
241 VectorMatrixConversionMsg "none"
242 InvalidFcnCallConnMsg "error"
243 FcnCallInpInsideContextMsg "Use local settings"
244 SignalLabelMismatchMsg "none"
245 UnconnectedInputMsg "warning"
246 UnconnectedOutputMsg "warning"
247 UnconnectedLineMsg "warning"
248 SFcnCompatibilityMsg "none"
249 UniqueDataStoreMsg "none"
250 BusObjectLabelMismatch "warning"
251 RootOutportRequireBusObject "warning"
252 AssertControl "UseLocalSettings"
253 EnableOverflowDetection off
254 ModelReferenceIOMsg "none"
255 ModelReferenceVersionMismatchMessage "none"
256 ModelReferenceIOMismatchMessage "none"
257 ModelReferenceCSMismatchMessage "none"
258 ModelReferenceSimTargetVerbose off
259 UnknownTsInhSupMsg "warning"
260 ModelReferenceDataLoggingMessage "warning"
261 ModelReferenceSymbolNameMessage "warning"
262 ModelReferenceExtraNoncontSigs "error"
263 StateNameClashWarn "warning"
264 StrictBusMsg "Warning"
266 Simulink.HardwareCC {
273 ProdIntDivRoundTo "Undefined"
274 ProdEndianess "Unspecified"
276 ProdShiftRightIntArith on
277 ProdHWDeviceType "32-bit Generic"
282 TargetShiftRightIntArith on
283 TargetIntDivRoundTo "Undefined"
284 TargetEndianess "Unspecified"
286 TargetTypeEmulationWarnSuppressLevel 0
287 TargetPreprocMaxBitsSint 32
288 TargetPreprocMaxBitsUint 32
289 TargetHWDeviceType "Specified"
293 Simulink.ModelReferenceCC {
296 UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
297 CheckModelReferenceTargetMessage "error"
298 ModelReferenceNumInstancesAllowed "Multi"
299 ModelReferencePassRootInputsByReference on
300 ModelReferenceMinAlgLoopOccurrences off
303 $BackupClass "Simulink.RTWCC"
308 Cell "IncludeHyperlinkInReport"
309 PropName "DisabledProps"
312 SystemTargetFile "grt.tlc"
314 MakeCommand "make_rtw"
316 TemplateMakefile "grt_default_tmf"
325 ProcessScriptMode "Default"
326 ConfigurationMode "Optimized"
328 IncludeHyperlinkInReport off
331 IncludeBusHierarchyInRTWFileBlockHierarchyMap off
332 IncludeERTFirstTime off
341 Cell "IgnoreCustomStorageClasses"
342 Cell "InsertBlockDesc"
344 Cell "SimulinkDataObjDesc"
345 Cell "DefineNamingRule"
346 Cell "SignalNamingRule"
347 Cell "ParamNamingRule"
348 Cell "InlinedPrmAccess"
349 Cell "CustomSymbolStr"
350 Cell "CustomSymbolStrGlobalVar"
351 Cell "CustomSymbolStrType"
352 Cell "CustomSymbolStrField"
353 Cell "CustomSymbolStrFcn"
354 Cell "CustomSymbolStrBlkIO"
355 Cell "CustomSymbolStrTmpVar"
356 Cell "CustomSymbolStrMacro"
357 PropName "DisabledProps"
360 ForceParamTrailComments off
362 IgnoreCustomStorageClasses on
363 IncHierarchyInIds off
366 PreserveNameWithParent off
367 ShowEliminatedStatement off
368 IncAutoGenComments off
369 SimulinkDataObjDesc off
372 PrefixModelToSubsysFcnNames on
374 CustomSymbolStrGlobalVar "$R$N$M"
375 CustomSymbolStrType "$N$R$M"
376 CustomSymbolStrField "$N$M"
377 CustomSymbolStrFcn "$R$N$M$F"
378 CustomSymbolStrBlkIO "rtb_$N$M"
379 CustomSymbolStrTmpVar "$N$M"
380 CustomSymbolStrMacro "$R$N$M"
381 DefineNamingRule "None"
382 ParamNamingRule "None"
383 SignalNamingRule "None"
385 SimulinkBlockComments on
386 EnableCustomComments off
387 InlinedPrmAccess "Literals"
390 Simulink.GRTTargetCC {
391 $BackupClass "Simulink.TargetCC"
396 Cell "IncludeMdlTerminateFcn"
397 Cell "CombineOutputUpdateFcns"
398 Cell "SuppressErrorStatus"
399 Cell "ERTCustomFileBanners"
400 Cell "GenerateSampleERTMain"
401 Cell "GenerateTestInterfaces"
402 Cell "MultiInstanceERTCode"
403 Cell "PurelyIntegerCode"
404 Cell "SupportNonFinite"
405 Cell "SupportComplex"
406 Cell "SupportAbsoluteTime"
407 Cell "SupportContinuousTime"
408 Cell "SupportNonInlinedSFcns"
409 PropName "DisabledProps"
412 TargetFcnLib "ansi_tfl_tmw.mat"
414 TargetPreCompLibLocation ""
415 GenFloatMathFcnCalls "ANSI_C"
416 UtilityFuncGeneration "Auto"
417 GenerateFullHeader on
418 GenerateSampleERTMain off
419 GenerateTestInterfaces off
421 ModelReferenceCompliant on
422 IncludeMdlTerminateFcn on
423 CombineOutputUpdateFcns off
424 SuppressErrorStatus off
425 IncludeFileDelimiter "Auto"
426 ERTCustomFileBanners off
427 SupportAbsoluteTime on
428 LogVarNameModifier "rt_"
430 MultiInstanceERTCode off
433 PurelyIntegerCode off
434 SupportContinuousTime on
435 SupportNonInlinedSFcns on
436 EnableShiftOperators on
437 ParenthesesLevel "Nominal"
438 PortableWordSizes off
439 ModelStepFunctionPrototypeControlCompliant off
441 ExtModeStaticAlloc off
443 ExtModeStaticAllocSize 1000000
445 ExtModeMexFile "ext_comm"
446 ExtModeIntrfLevel "Level1"
452 PropName "Components"
455 PropName "Components"
458 CurrentDlgPage "Solver"
460 PropName "ConfigurationSets"
463 $PropName "ActiveConfigurationSet"
466 WSDataSource "M-Code"
469 ForegroundColor "black"
470 BackgroundColor "white"
472 NamePlacement "normal"
479 BlockParameterDefaults {
488 SamplingMode "Sample based"
489 OutDataTypeMode "Inherit from 'Constant value'"
490 OutDataType "sfix(16)"
491 ConRadixGroup "Use specified scaling"
506 Multiplication "Element-wise(K.*u)"
507 ParameterDataTypeMode "Same as input"
508 ParameterDataType "sfix(16)"
509 ParameterScalingMode "Best Precision: Matrix-wise"
510 ParameterScaling "2^0"
511 OutDataTypeMode "Same as input"
512 OutDataType "sfix(16)"
516 SaturateOnIntegerOverflow on
523 BusObject "BusObject"
524 BusOutputAsStruct off
528 OutDataType "sfix(16)"
532 LatchByDelayingOutsideSignal off
533 LatchByCopyingInsideSignal off
539 InitialConditionSource "internal"
542 UpperSaturationLimit "inf"
543 LowerSaturationLimit "-inf"
544 ShowSaturationPort off
546 AbsoluteTolerance "auto"
549 ContinuousStateAttributes "''"
554 OutputDimensions "-1"
555 OutputSignalType "auto"
560 BlockType "M-S-Function"
561 FunctionName "mlfile"
562 DisplayMFileStacktrace on
569 BusObject "BusObject"
576 BusObject "BusObject"
577 BusOutputAsStruct off
581 OutDataType "sfix(16)"
585 OutputWhenDisabled "held"
589 BlockType RandomNumber
597 BlockType RateTransition
601 OutPortSampleTime "-1"
604 BlockType RateLimiter
606 FallingSlewLimit "-1"
607 SampleTimeMode "continuous"
622 TickLabels "OneTimeTick"
638 NumberOfDimensions "1"
639 IndexMode "One-based"
644 BlockType "S-Function"
645 FunctionName "system"
646 SFunctionModules "''"
651 ShowPortLabels "FromPortIcon"
652 Permissions "ReadWrite"
653 PermitHierarchicalResolution "All"
654 TreatAsAtomicUnit off
655 SystemSampleTime "-1"
656 RTWFcnNameOpts "Auto"
657 RTWFileNameOpts "Auto"
658 RTWMemSecFuncInitTerm "Inherit from model"
659 RTWMemSecFuncExecute "Inherit from model"
660 RTWMemSecDataConstants "Inherit from model"
661 RTWMemSecDataInternal "Inherit from model"
662 RTWMemSecDataParameters "Inherit from model"
664 DataTypeOverride "UseLocalSettings"
665 MinMaxOverflowLogging "UseLocalSettings"
669 IconShape "rectangular"
671 CollapseMode "All dimensions"
674 OutDataTypeMode "Same as first input"
675 OutDataType "sfix(16)"
679 SaturateOnIntegerOverflow on
684 Criteria "u2 >= Threshold"
687 OutDataTypeMode "Inherit via internal rule"
689 SaturateOnIntegerOverflow on
694 BlockType ToWorkspace
695 VariableName "simulink_output"
705 StateMustResolveToSignalObject off
706 RTWStateStorageClass "Auto"
710 HorizontalAlignment "center"
711 VerticalAlignment "middle"
712 ForegroundColor "black"
713 BackgroundColor "white"
719 UseDisplayTextAsClickCallback off
729 Location [1684, 55, 2539, 624]
731 ModelBrowserVisibility off
732 ModelBrowserWidth 200
734 PaperOrientation "landscape"
735 PaperPositionMode "auto"
737 PaperUnits "centimeters"
738 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
740 ShowPageBoundaries off
742 ReportName "simulink-default.rpt"
747 Position [25, 14, 95, 48]
748 OpenFcn "path=diag([area.w area.h])*rand(2,8)\nsim('reg_"
750 MinAlgLoopOccurrences off
752 FunctionWithSeparateData off
754 MaskDisplay "disp('Random path')"
757 MaskIconRotate "none"
758 MaskIconUnits "autoscale"
761 Location [433, 403, 931, 703]
763 ModelBrowserVisibility off
764 ModelBrowserWidth 200
766 PaperOrientation "landscape"
767 PaperPositionMode "auto"
769 PaperUnits "centimeters"
770 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
772 ShowPageBoundaries off
779 Position [465, 70, 485, 90]
783 BlockType "S-Function"
786 Position [175, 88, 235, 177]
787 BackgroundColor "green"
788 FunctionName "sf_posreg"
789 Parameters "[2 2 10],1/20"
790 MaskDisplay "port_label('input', 1, 'ref')\nport_label('inpu"
791 "t', 2, 'pos')\nport_label('output', 1, '(w1,w2)')"
794 MaskIconRotate "none"
795 MaskIconUnits "autoscale"
801 Position [515, 66, 600, 94]
807 Position [260, 120, 290, 150]
808 Gain "[1 1]/desc.robot.wheelr"
809 ParameterDataTypeMode "Inherit via internal rule"
810 OutDataTypeMode "Inherit via internal rule"
811 SaturateOnIntegerOverflow off
817 Position [720, 210, 820, 270]
818 MinAlgLoopOccurrences off
820 FunctionWithSeparateData off
824 Location [478, 120, 998, 439]
826 ModelBrowserVisibility off
827 ModelBrowserWidth 200
829 PaperOrientation "landscape"
830 PaperPositionMode "auto"
832 PaperUnits "centimeters"
833 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
835 ShowPageBoundaries off
840 Position [25, 108, 55, 122]
841 IconDisplay "Port number"
846 Position [25, 223, 55, 237]
848 IconDisplay "Port number"
854 Position [410, 109, 440, 141]
856 Location [437, 662, 1088, 1030]
861 axes1 "%<SignalLabel>"
866 SaveName "ScopeData1"
867 DataFormat "StructureWithTime"
873 Position [295, 109, 330, 141]
875 ParameterDataTypeMode "Inherit via internal rule"
876 OutDataTypeMode "Inherit via internal rule"
877 SaturateOnIntegerOverflow off
881 RTWStorageClass "Auto"
882 DataLoggingNameMode "SignalName"
889 Position [250, 46, 255, 84]
896 RTWStorageClass "Auto"
897 DataLoggingNameMode "SignalName"
904 Position [250, 106, 255, 144]
913 Position [110, 36, 150, 74]
914 IndexOptions "Index vector (dialog)"
923 Position [110, 96, 150, 134]
924 IndexOptions "Index vector (dialog)"
933 Position [110, 236, 150, 274]
934 IndexOptions "Index vector (dialog)"
943 Position [110, 171, 150, 209]
944 IndexOptions "Index vector (dialog)"
953 Position [410, 49, 440, 81]
955 Location [431, 91, 1074, 488]
961 axes1 "%<SignalLabel>"
966 DataFormat "StructureWithTime"
999 Points [40, 0; 0, -115]
1020 Points [0, -15; 15, 0]
1023 DstBlock "Selector2"
1028 DstBlock "Selector3"
1037 DstBlock "Selector1"
1049 BlockType "M-S-Function"
1050 Name "Level-2 M-file\nS-Function"
1052 Position [725, 124, 785, 171]
1053 BackgroundColor "cyan"
1054 FunctionName "sfdrawrobot"
1056 MaskDisplay "disp('Drawer')\nport_label('input', 1, 'x')\npo"
1057 "rt_label('input', 2, 'y')\n"
1060 MaskIconRotate "none"
1061 MaskIconUnits "autoscale"
1064 BlockType "M-S-Function"
1065 Name "Level-2 M-file\nS-Function1"
1067 Position [725, 293, 790, 337]
1068 ForegroundColor "blue"
1069 FunctionName "sfdrawrobot"
1070 Parameters "desc,'--b'"
1071 MaskDisplay "disp('Drawer')\nport_label('input', 1, 'x')\npo"
1072 "rt_label('input', 2, 'y')\n"
1075 MaskIconRotate "none"
1076 MaskIconUnits "autoscale"
1079 BlockType "M-S-Function"
1080 Name "Level-2 M-file\nS-Function2"
1082 Position [715, 28, 780, 72]
1083 ForegroundColor "magenta"
1084 FunctionName "sfdrawrobot"
1085 Parameters "desc,'--m'"
1086 MaskDisplay "disp('Drawer')\nport_label('input', 1, 'x')\npo"
1087 "rt_label('input', 2, 'y')\n"
1090 MaskIconRotate "none"
1091 MaskIconUnits "autoscale"
1094 BlockType "S-Function"
1097 Position [430, 288, 610, 357]
1098 BackgroundColor "green"
1100 FunctionName "sf_mcl"
1101 Parameters "count, noise_xy, noise_angle, aeval_sigma"
1102 MaskPromptString "Number of samples|Move noise X,Y [m]|Move noise"
1103 " angle [rad]|Measure dispersion [rad]"
1104 MaskStyleString "edit,edit,edit,edit"
1105 MaskTunableValueString "off,on,on,on"
1106 MaskCallbackString "|||"
1107 MaskEnableString "on,on,on,on"
1108 MaskVisibilityString "on,on,on,on"
1109 MaskToolTipString "on,on,on,on"
1110 MaskVarAliasString ",,,"
1111 MaskVariables "count=@1;noise_xy=@2;noise_angle=@3;aeval_sigma"
1113 MaskDisplay "port_label('input', 1, '(dx,dy,da)')\nport_labe"
1114 "l('input', 2, '(th1,th2,th3)')\nport_label('output', 1, 'est_pos=(x,y,a)')\np"
1115 "ort_label('output', 2, 'particle bitmap')\ndisp('MCL')"
1118 MaskIconRotate "none"
1119 MaskIconUnits "autoscale"
1120 MaskValueString "3000|0.01|10/180*pi|5/180*pi"
1121 MaskTabNameString ",,,"
1125 Name "Manual Switch"
1127 Position [125, 137, 155, 173]
1128 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1129 SourceType "Manual Switch"
1130 ShowPortLabels "FromPortIcon"
1131 SystemSampleTime "-1"
1132 FunctionWithSeparateData off
1133 RTWMemSecFuncInitTerm "Inherit from model"
1134 RTWMemSecFuncExecute "Inherit from model"
1135 RTWMemSecDataConstants "Inherit from model"
1136 RTWMemSecDataInternal "Inherit from model"
1137 RTWMemSecDataParameters "Inherit from model"
1146 Position [205, 397, 280, 433]
1147 MinAlgLoopOccurrences off
1148 RTWSystemCode "Auto"
1149 FunctionWithSeparateData off
1150 MaskHideContents off
1153 Location [458, 185, 768, 279]
1155 ModelBrowserVisibility off
1156 ModelBrowserWidth 200
1158 PaperOrientation "landscape"
1159 PaperPositionMode "auto"
1161 PaperUnits "centimeters"
1162 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
1164 ShowPageBoundaries off
1169 Position [25, 43, 55, 57]
1170 IconDisplay "Port number"
1174 Name "Beacon Angles"
1176 Position [125, 35, 185, 65]
1177 MATLABFcn "mod(beacon_angles(u), 2*pi)"
1182 Position [255, 43, 285, 57]
1183 IconDisplay "Port number"
1184 BusOutputAsStruct off
1189 DstBlock "Beacon Angles"
1193 SrcBlock "Beacon Angles"
1202 Name "Measurement noise\nstd. deviation [deg]"
1204 Position [289, 460, 341, 480]
1206 NamePlacement "alternate"
1207 SourceBlock "simulink/Math\nOperations/Slider\nGain"
1208 SourceType "Slider Gain"
1209 ShowPortLabels "FromPortIcon"
1210 SystemSampleTime "-1"
1211 FunctionWithSeparateData off
1212 RTWMemSecFuncInitTerm "Inherit from model"
1213 RTWMemSecFuncExecute "Inherit from model"
1214 RTWMemSecDataConstants "Inherit from model"
1215 RTWMemSecDataInternal "Inherit from model"
1216 RTWMemSecDataParameters "Inherit from model"
1224 Position [220, 369, 280, 391]
1225 NamePlacement "alternate"
1232 Position [245, 269, 305, 291]
1233 NamePlacement "alternate"
1239 Name "Pos to deltas"
1241 Position [210, 296, 305, 334]
1242 MinAlgLoopOccurrences off
1243 RTWSystemCode "Auto"
1244 FunctionWithSeparateData off
1245 MaskHideContents off
1247 Name "Pos to deltas"
1248 Location [50, 111, 624, 360]
1250 ModelBrowserVisibility off
1251 ModelBrowserWidth 200
1253 PaperOrientation "landscape"
1254 PaperPositionMode "auto"
1256 PaperUnits "centimeters"
1257 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
1259 ShowPageBoundaries off
1264 Position [30, 103, 60, 117]
1265 IconDisplay "Port number"
1271 Position [190, 21, 230, 59]
1272 IndexOptions "Index vector (dialog)"
1281 Position [100, 92, 145, 128]
1282 NamePlacement "alternate"
1283 SourceBlock "simulink/Discrete/Difference"
1284 SourceType "Difference"
1285 ShowPortLabels "FromPortIcon"
1286 SystemSampleTime "-1"
1287 FunctionWithSeparateData off
1288 RTWMemSecFuncInitTerm "Inherit from model"
1289 RTWMemSecFuncExecute "Inherit from model"
1290 RTWMemSecDataConstants "Inherit from model"
1291 RTWMemSecDataInternal "Inherit from model"
1292 RTWMemSecDataParameters "Inherit from model"
1294 OutputDataTypeScalingMode "Inherit via internal rule"
1295 OutDataType "sfix(16)"
1304 Position [250, 24, 285, 56]
1306 ParameterDataTypeMode "Inherit via internal rule"
1307 OutDataTypeMode "Inherit via internal rule"
1308 SaturateOnIntegerOverflow off
1314 Position [315, 81, 320, 119]
1323 Position [460, 91, 465, 129]
1332 Position [350, 83, 435, 117]
1333 MATLABFcn "[cos(u(1)) -sin(u(1)); sin(u(1)) cos(u(1))]"
1340 Position [190, 91, 230, 129]
1341 IndexOptions "Index vector (dialog)"
1348 RTWStorageClass "Auto"
1349 DataLoggingNameMode "SignalName"
1356 Position [190, 151, 230, 189]
1357 IndexOptions "Index vector (dialog)"
1364 RTWStorageClass "Auto"
1365 DataLoggingNameMode "SignalName"
1371 Position [110, 23, 145, 57]
1377 Position [500, 103, 530, 117]
1378 IconDisplay "Port number"
1379 BusOutputAsStruct off
1395 SrcBlock "Unit Delay"
1401 SrcBlock "Difference"
1406 DstBlock "Speed angle"
1425 SrcBlock "Speed angle"
1438 SrcBlock "Rotate XY"
1446 DstBlock "Rotate XY"
1455 DstBlock "Unit Delay"
1459 DstBlock "Difference"
1466 BlockType RandomNumber
1467 Name "Random\nNumber"
1468 Position [350, 455, 380, 485]
1470 Variance "(1/180*pi)^2"
1471 Seed "abs(rand(3,1)*10000)"
1474 BlockType RateTransition
1475 Name "Rate Transition"
1476 Position [135, 394, 175, 436]
1477 OutPortSampleTime "1/3"
1480 BlockType RateTransition
1481 Name "Rate Transition1"
1482 Position [135, 494, 175, 536]
1487 BlockType "S-Function"
1490 Position [55, 94, 115, 126]
1491 BackgroundColor "green"
1492 FunctionName "sf_trgen"
1493 Parameters "path, desc.initpos, desc.wayconstraints"
1494 MaskDisplay "disp('Trajectory\\ngenerator')"
1497 MaskIconRotate "none"
1498 MaskIconUnits "autoscale"
1504 Position [310, 111, 435, 159]
1505 BackgroundColor "yellow"
1506 MinAlgLoopOccurrences off
1507 RTWSystemCode "Auto"
1508 FunctionWithSeparateData off
1509 MaskHideContents off
1510 MaskDisplay "disp('Robot\\n\\n')\nport_label('input', 1, 'u="
1511 "(w1,w2)')\nport_label('output', 1, 'x=(X,Y,th)')"
1514 MaskIconRotate "none"
1515 MaskIconUnits "autoscale"
1518 Name "Real robot position"
1519 PropagatedSignals "x,y,phi [m,m,rad]"
1520 RTWStorageClass "Auto"
1521 DataLoggingNameMode "SignalName"
1525 Location [121, 481, 955, 665]
1527 ModelBrowserVisibility off
1528 ModelBrowserWidth 200
1530 PaperOrientation "landscape"
1531 PaperPositionMode "auto"
1533 PaperUnits "centimeters"
1534 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
1536 ShowPageBoundaries off
1541 Position [15, 38, 45, 52]
1542 IconDisplay "Port number"
1546 RTWStorageClass "Auto"
1547 DataLoggingNameMode "SignalName"
1551 BlockType Integrator
1554 Position [530, 40, 560, 70]
1555 InitialCondition "desc.initpos"
1556 UpperSaturationLimit "[area.w area.h Inf]"
1557 LowerSaturationLimit "[0 0 -Inf]"
1561 Name "x,y,phi [m,m,rad]"
1562 RTWStorageClass "Auto"
1563 DataLoggingNameMode "SignalName"
1568 Name "Manual Switch"
1570 Position [250, 27, 280, 63]
1571 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1572 SourceType "Manual Switch"
1573 ShowPortLabels "FromPortIcon"
1574 SystemSampleTime "-1"
1575 FunctionWithSeparateData off
1576 RTWMemSecFuncInitTerm "Inherit from model"
1577 RTWMemSecFuncExecute "Inherit from model"
1578 RTWMemSecDataConstants "Inherit from model"
1579 RTWMemSecDataInternal "Inherit from model"
1580 RTWMemSecDataParameters "Inherit from model"
1589 Position [380, 36, 385, 74]
1598 Position [420, 121, 460, 159]
1600 IndexOptions "Index vector (dialog)"
1607 RTWStorageClass "Auto"
1608 DataLoggingNameMode "SignalName"
1613 Name "Wheel\nradius"
1614 Position [90, 27, 135, 63]
1616 ParameterDataTypeMode "Inherit via internal rule"
1617 OutDataTypeMode "Inherit via internal rule"
1618 SaturateOnIntegerOverflow off
1622 RTWStorageClass "Auto"
1623 DataLoggingNameMode "SignalName"
1630 Position [430, 40, 490, 70]
1631 MATLABFcn "kinematics"
1634 BlockType RateLimiter
1636 Position [190, 20, 220, 50]
1638 FallingSlewLimit "-3"
1639 SampleTimeMode "inherited"
1644 Position [320, 30, 350, 60]
1651 Position [725, 48, 755, 62]
1652 IconDisplay "Port number"
1653 BusOutputAsStruct off
1656 SrcBlock "kinematics"
1658 DstBlock "Integrator"
1662 Name "x,y,phi [m,m,rad]"
1663 SrcBlock "Integrator"
1680 DstBlock "kinematics"
1688 Points [-60, 0; 0, -75]
1697 DstBlock "Wheel\nradius"
1707 SrcBlock "Manual Switch"
1715 DstBlock "Manual Switch"
1721 SrcBlock "Wheel\nradius"
1730 Points [0, 25; 75, 0]
1731 DstBlock "Manual Switch"
1741 Position [305, 405, 325, 425]
1745 CollapseMode "All dimensions"
1747 OutDataTypeMode "Inherit via internal rule"
1748 SaturateOnIntegerOverflow off
1754 Position [365, 387, 395, 423]
1755 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1756 SourceType "Manual Switch"
1757 ShowPortLabels "FromPortIcon"
1758 SystemSampleTime "-1"
1759 FunctionWithSeparateData off
1760 RTWMemSecFuncInitTerm "Inherit from model"
1761 RTWMemSecFuncExecute "Inherit from model"
1762 RTWMemSecDataConstants "Inherit from model"
1763 RTWMemSecDataInternal "Inherit from model"
1764 RTWMemSecDataParameters "Inherit from model"
1773 Position [345, 287, 375, 323]
1774 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1775 SourceType "Manual Switch"
1776 ShowPortLabels "FromPortIcon"
1777 SystemSampleTime "-1"
1778 FunctionWithSeparateData off
1779 RTWMemSecFuncInitTerm "Inherit from model"
1780 RTWMemSecFuncExecute "Inherit from model"
1781 RTWMemSecDataConstants "Inherit from model"
1782 RTWMemSecDataInternal "Inherit from model"
1783 RTWMemSecDataParameters "Inherit from model"
1789 BlockType ToWorkspace
1791 Position [310, 45, 370, 75]
1792 VariableName "trajectory"
1795 SaveFormat "Structure With Time"
1798 BlockType "M-S-Function"
1799 Name "draw probability bitmap"
1801 Position [725, 393, 815, 427]
1802 ForegroundColor "gray"
1803 BackgroundColor "black"
1804 NamePlacement "alternate"
1805 FunctionName "sfdrawbitmap"
1808 SrcBlock "Controller"
1814 Name "Real robot position"
1815 SrcBlock "Subsystem"
1822 DstBlock "Level-2 M-file\nS-Function"
1833 Points [0, 70; -360, 0]
1836 DstBlock "Manual Switch"
1843 DstBlock "Rate Transition"
1847 DstBlock "Pos to deltas"
1860 SrcBlock "Manual Switch"
1862 DstBlock "Controller"
1866 SrcBlock "Rate Transition1"
1868 Points [-50, 0; 0, -370]
1869 DstBlock "Manual Switch"
1875 DstBlock "Subsystem"
1890 DstBlock "Level-2 M-file\nS-Function1"
1895 DstBlock "Rate Transition1"
1901 SrcBlock "Measurement"
1913 SrcBlock "Random\nNumber"
1916 DstBlock "Measurement noise\nstd. deviation [deg]"
1920 SrcBlock "Measurement noise\nstd. deviation [deg]"
1934 SrcBlock "Rate Transition"
1936 DstBlock "Measurement"
1942 Points [15, 0; 0, 70]
1943 DstBlock "draw probability bitmap"
1949 Points [5, 0; 0, -65]
1955 Points [0, -100; 205, 0; 0, -80]
1956 DstBlock "Level-2 M-file\nS-Function"
1961 SrcBlock "S-Function2"
1965 DstBlock "Controller"
1969 Points [0, -70; 130, 0]
1971 DstBlock "Level-2 M-file\nS-Function2"
1976 DstBlock "To Workspace"
1988 SrcBlock "Pos to deltas"
1994 SrcBlock "No odometry"
1996 Points [15, 0; 0, 15]
2003 # Finite State Machines
2005 # Stateflow Version 6.6 (R2007a) dated Jan 30 2007, 01:07:16
2014 created "29-Mar-2007 23:42:20"
2023 description "Default Simulink S-Function Target."