8 ParameterArgumentNames ""
9 ComputedModelVersion "1.262"
11 NumTestPointedSignals 0
13 SavedCharacterEncoding "iso-8859-2"
15 PostLoadFcn "figure(2); hold off\nfigure(1);\nsim('reg_mcl', 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 12:19:22 2008"
52 ModelVersionFormat "1.%<AutoIncrement:262>"
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"
625 TickLabels "OneTimeTick"
641 NumberOfDimensions "1"
642 IndexMode "One-based"
647 BlockType "S-Function"
648 FunctionName "system"
649 SFunctionModules "''"
654 ShowPortLabels "FromPortIcon"
655 Permissions "ReadWrite"
656 PermitHierarchicalResolution "All"
657 TreatAsAtomicUnit off
658 SystemSampleTime "-1"
659 RTWFcnNameOpts "Auto"
660 RTWFileNameOpts "Auto"
661 RTWMemSecFuncInitTerm "Inherit from model"
662 RTWMemSecFuncExecute "Inherit from model"
663 RTWMemSecDataConstants "Inherit from model"
664 RTWMemSecDataInternal "Inherit from model"
665 RTWMemSecDataParameters "Inherit from model"
667 DataTypeOverride "UseLocalSettings"
668 MinMaxOverflowLogging "UseLocalSettings"
672 IconShape "rectangular"
674 CollapseMode "All dimensions"
677 OutDataTypeMode "Same as first input"
678 OutDataType "sfix(16)"
682 SaturateOnIntegerOverflow on
687 Criteria "u2 >= Threshold"
690 OutDataTypeMode "Inherit via internal rule"
692 SaturateOnIntegerOverflow on
697 BlockType ToWorkspace
698 VariableName "simulink_output"
708 StateMustResolveToSignalObject off
709 RTWStateStorageClass "Auto"
713 HorizontalAlignment "center"
714 VerticalAlignment "middle"
715 ForegroundColor "black"
716 BackgroundColor "white"
722 UseDisplayTextAsClickCallback off
732 Location [1684, 55, 2539, 624]
734 ModelBrowserVisibility off
735 ModelBrowserWidth 200
737 PaperOrientation "landscape"
738 PaperPositionMode "auto"
740 PaperUnits "centimeters"
741 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
743 ShowPageBoundaries off
745 ReportName "simulink-default.rpt"
750 Position [25, 14, 95, 48]
751 OpenFcn "path=diag([area.w area.h])*rand(2,8)\nsim('reg_"
753 MinAlgLoopOccurrences off
755 FunctionWithSeparateData off
757 MaskDisplay "disp('Random path')"
760 MaskIconRotate "none"
761 MaskIconUnits "autoscale"
764 Location [433, 403, 931, 703]
766 ModelBrowserVisibility off
767 ModelBrowserWidth 200
769 PaperOrientation "landscape"
770 PaperPositionMode "auto"
772 PaperUnits "centimeters"
773 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
775 ShowPageBoundaries off
782 Position [465, 70, 485, 90]
786 BlockType "S-Function"
789 Position [175, 88, 235, 177]
790 BackgroundColor "green"
791 FunctionName "sf_posreg"
792 Parameters "[2 2 10],1/20"
793 MaskDisplay "port_label('input', 1, 'ref')\nport_label('inpu"
794 "t', 2, 'pos')\nport_label('output', 1, '(w1,w2)')"
797 MaskIconRotate "none"
798 MaskIconUnits "autoscale"
804 Position [515, 66, 600, 94]
810 Position [260, 120, 290, 150]
811 Gain "[1 1]/desc.robot.wheelr"
812 ParameterDataTypeMode "Inherit via internal rule"
813 OutDataTypeMode "Inherit via internal rule"
814 SaturateOnIntegerOverflow off
820 Position [720, 210, 820, 270]
821 MinAlgLoopOccurrences off
823 FunctionWithSeparateData off
827 Location [478, 120, 998, 439]
829 ModelBrowserVisibility off
830 ModelBrowserWidth 200
832 PaperOrientation "landscape"
833 PaperPositionMode "auto"
835 PaperUnits "centimeters"
836 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
838 ShowPageBoundaries off
843 Position [25, 108, 55, 122]
844 IconDisplay "Port number"
849 Position [25, 223, 55, 237]
851 IconDisplay "Port number"
857 Position [410, 109, 440, 141]
859 Location [437, 662, 1088, 1030]
864 axes1 "%<SignalLabel>"
869 SaveName "ScopeData1"
870 DataFormat "StructureWithTime"
876 Position [295, 109, 330, 141]
878 ParameterDataTypeMode "Inherit via internal rule"
879 OutDataTypeMode "Inherit via internal rule"
880 SaturateOnIntegerOverflow off
884 RTWStorageClass "Auto"
885 DataLoggingNameMode "SignalName"
892 Position [250, 46, 255, 84]
899 RTWStorageClass "Auto"
900 DataLoggingNameMode "SignalName"
907 Position [250, 106, 255, 144]
916 Position [110, 36, 150, 74]
917 IndexOptions "Index vector (dialog)"
926 Position [110, 96, 150, 134]
927 IndexOptions "Index vector (dialog)"
936 Position [110, 236, 150, 274]
937 IndexOptions "Index vector (dialog)"
946 Position [110, 171, 150, 209]
947 IndexOptions "Index vector (dialog)"
956 Position [410, 49, 440, 81]
958 Location [431, 91, 1074, 488]
964 axes1 "%<SignalLabel>"
969 DataFormat "StructureWithTime"
1000 SrcBlock "Selector3"
1002 Points [40, 0; 0, -115]
1023 Points [0, -15; 15, 0]
1026 DstBlock "Selector2"
1031 DstBlock "Selector3"
1040 DstBlock "Selector1"
1052 BlockType "M-S-Function"
1053 Name "Level-2 M-file\nS-Function"
1055 Position [725, 124, 785, 171]
1056 BackgroundColor "cyan"
1057 FunctionName "sfdrawrobot"
1059 MaskDisplay "disp('Drawer')\nport_label('input', 1, 'x')\npo"
1060 "rt_label('input', 2, 'y')\n"
1063 MaskIconRotate "none"
1064 MaskIconUnits "autoscale"
1067 BlockType "M-S-Function"
1068 Name "Level-2 M-file\nS-Function1"
1070 Position [725, 293, 790, 337]
1071 ForegroundColor "blue"
1072 FunctionName "sfdrawrobot"
1073 Parameters "desc,'--b'"
1074 MaskDisplay "disp('Drawer')\nport_label('input', 1, 'x')\npo"
1075 "rt_label('input', 2, 'y')\n"
1078 MaskIconRotate "none"
1079 MaskIconUnits "autoscale"
1082 BlockType "M-S-Function"
1083 Name "Level-2 M-file\nS-Function2"
1085 Position [715, 28, 780, 72]
1086 ForegroundColor "magenta"
1087 FunctionName "sfdrawrobot"
1088 Parameters "desc,'--m'"
1089 MaskDisplay "disp('Drawer')\nport_label('input', 1, 'x')\npo"
1090 "rt_label('input', 2, 'y')\n"
1093 MaskIconRotate "none"
1094 MaskIconUnits "autoscale"
1097 BlockType "S-Function"
1100 Position [430, 288, 610, 357]
1101 BackgroundColor "green"
1103 FunctionName "sf_mcl"
1104 Parameters "count, noise_xy, noise_angle, aeval_sigma"
1105 MaskPromptString "Number of samples|Move noise X,Y [m]|Move noise"
1106 " angle [rad]|Measure dispersion [rad]"
1107 MaskStyleString "edit,edit,edit,edit"
1108 MaskTunableValueString "off,on,on,on"
1109 MaskCallbackString "|||"
1110 MaskEnableString "on,on,on,on"
1111 MaskVisibilityString "on,on,on,on"
1112 MaskToolTipString "on,on,on,on"
1113 MaskVarAliasString ",,,"
1114 MaskVariables "count=@1;noise_xy=@2;noise_angle=@3;aeval_sigma"
1116 MaskDisplay "port_label('input', 1, '(dx,dy,da)')\nport_labe"
1117 "l('input', 2, '(th1,th2,th3)')\nport_label('output', 1, 'est_pos=(x,y,a)')\np"
1118 "ort_label('output', 2, 'particle bitmap')\ndisp('MCL')"
1121 MaskIconRotate "none"
1122 MaskIconUnits "autoscale"
1123 MaskValueString "3000|0.01|10/180*pi|5/180*pi"
1124 MaskTabNameString ",,,"
1128 Name "Manual Switch"
1130 Position [125, 137, 155, 173]
1131 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1132 SourceType "Manual Switch"
1133 ShowPortLabels "FromPortIcon"
1134 SystemSampleTime "-1"
1135 FunctionWithSeparateData off
1136 RTWMemSecFuncInitTerm "Inherit from model"
1137 RTWMemSecFuncExecute "Inherit from model"
1138 RTWMemSecDataConstants "Inherit from model"
1139 RTWMemSecDataInternal "Inherit from model"
1140 RTWMemSecDataParameters "Inherit from model"
1149 Position [205, 397, 280, 433]
1150 MinAlgLoopOccurrences off
1151 RTWSystemCode "Auto"
1152 FunctionWithSeparateData off
1153 MaskHideContents off
1156 Location [458, 185, 768, 279]
1158 ModelBrowserVisibility off
1159 ModelBrowserWidth 200
1161 PaperOrientation "landscape"
1162 PaperPositionMode "auto"
1164 PaperUnits "centimeters"
1165 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
1167 ShowPageBoundaries off
1172 Position [25, 43, 55, 57]
1173 IconDisplay "Port number"
1177 Name "Beacon Angles"
1179 Position [125, 35, 185, 65]
1180 MATLABFcn "mod(beacon_angles(u), 2*pi)"
1185 Position [255, 43, 285, 57]
1186 IconDisplay "Port number"
1187 BusOutputAsStruct off
1192 DstBlock "Beacon Angles"
1196 SrcBlock "Beacon Angles"
1205 Name "Measurement noise\nstd. deviation [deg]"
1207 Position [289, 460, 341, 480]
1209 NamePlacement "alternate"
1210 SourceBlock "simulink/Math\nOperations/Slider\nGain"
1211 SourceType "Slider Gain"
1212 ShowPortLabels "FromPortIcon"
1213 SystemSampleTime "-1"
1214 FunctionWithSeparateData off
1215 RTWMemSecFuncInitTerm "Inherit from model"
1216 RTWMemSecFuncExecute "Inherit from model"
1217 RTWMemSecDataConstants "Inherit from model"
1218 RTWMemSecDataInternal "Inherit from model"
1219 RTWMemSecDataParameters "Inherit from model"
1227 Position [220, 369, 280, 391]
1228 NamePlacement "alternate"
1235 Position [245, 269, 305, 291]
1236 NamePlacement "alternate"
1242 Name "Pos to deltas"
1244 Position [210, 296, 305, 334]
1245 MinAlgLoopOccurrences off
1246 RTWSystemCode "Auto"
1247 FunctionWithSeparateData off
1248 MaskHideContents off
1250 Name "Pos to deltas"
1251 Location [50, 111, 624, 360]
1253 ModelBrowserVisibility off
1254 ModelBrowserWidth 200
1256 PaperOrientation "landscape"
1257 PaperPositionMode "auto"
1259 PaperUnits "centimeters"
1260 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
1262 ShowPageBoundaries off
1267 Position [30, 103, 60, 117]
1268 IconDisplay "Port number"
1274 Position [190, 21, 230, 59]
1275 IndexOptions "Index vector (dialog)"
1284 Position [100, 92, 145, 128]
1285 NamePlacement "alternate"
1286 SourceBlock "simulink/Discrete/Difference"
1287 SourceType "Difference"
1288 ShowPortLabels "FromPortIcon"
1289 SystemSampleTime "-1"
1290 FunctionWithSeparateData "off"
1291 RTWMemSecFuncInitTerm "Inherit from model"
1292 RTWMemSecFuncExecute "Inherit from model"
1293 RTWMemSecDataConstants "Inherit from model"
1294 RTWMemSecDataInternal "Inherit from model"
1295 RTWMemSecDataParameters "Inherit from model"
1297 OutputDataTypeScalingMode "Inherit via internal rule"
1298 OutDataType "sfix(16)"
1307 Position [250, 24, 285, 56]
1309 ParameterDataTypeMode "Inherit via internal rule"
1310 OutDataTypeMode "Inherit via internal rule"
1311 SaturateOnIntegerOverflow off
1317 Position [315, 81, 320, 119]
1326 Position [460, 91, 465, 129]
1335 Position [350, 83, 435, 117]
1336 MATLABFcn "[cos(u(1)) -sin(u(1)); sin(u(1)) cos(u(1))]"
1343 Position [190, 91, 230, 129]
1344 IndexOptions "Index vector (dialog)"
1351 RTWStorageClass "Auto"
1352 DataLoggingNameMode "SignalName"
1359 Position [190, 151, 230, 189]
1360 IndexOptions "Index vector (dialog)"
1367 RTWStorageClass "Auto"
1368 DataLoggingNameMode "SignalName"
1374 Position [110, 23, 145, 57]
1380 Position [500, 103, 530, 117]
1381 IconDisplay "Port number"
1382 BusOutputAsStruct off
1398 SrcBlock "Unit Delay"
1404 SrcBlock "Difference"
1409 DstBlock "Speed angle"
1428 SrcBlock "Speed angle"
1441 SrcBlock "Rotate XY"
1449 DstBlock "Rotate XY"
1458 DstBlock "Unit Delay"
1462 DstBlock "Difference"
1469 BlockType RandomNumber
1470 Name "Random\nNumber"
1471 Position [350, 455, 380, 485]
1473 Variance "(1/180*pi)^2"
1474 Seed "abs(rand(3,1)*10000)"
1477 BlockType RateTransition
1478 Name "Rate Transition"
1479 Position [135, 394, 175, 436]
1480 OutPortSampleTime "1/3"
1483 BlockType RateTransition
1484 Name "Rate Transition1"
1485 Position [135, 494, 175, 536]
1490 BlockType "S-Function"
1493 Position [55, 94, 115, 126]
1494 BackgroundColor "green"
1495 FunctionName "sf_trgen"
1496 Parameters "path, desc.initpos, desc.wayconstraints"
1497 MaskDisplay "disp('Trajectory\\ngenerator')"
1500 MaskIconRotate "none"
1501 MaskIconUnits "autoscale"
1507 Position [310, 111, 435, 159]
1508 BackgroundColor "yellow"
1509 MinAlgLoopOccurrences off
1510 RTWSystemCode "Auto"
1511 FunctionWithSeparateData off
1512 MaskHideContents off
1513 MaskDisplay "disp('Robot\\n\\n')\nport_label('input', 1, 'u="
1514 "(w1,w2)')\nport_label('output', 1, 'x=(X,Y,th)')"
1517 MaskIconRotate "none"
1518 MaskIconUnits "autoscale"
1521 Name "Real robot position"
1522 PropagatedSignals "x,y,phi [m,m,rad]"
1523 RTWStorageClass "Auto"
1524 DataLoggingNameMode "SignalName"
1528 Location [121, 481, 955, 665]
1530 ModelBrowserVisibility off
1531 ModelBrowserWidth 200
1533 PaperOrientation "landscape"
1534 PaperPositionMode "auto"
1536 PaperUnits "centimeters"
1537 TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
1539 ShowPageBoundaries off
1544 Position [15, 38, 45, 52]
1545 IconDisplay "Port number"
1549 RTWStorageClass "Auto"
1550 DataLoggingNameMode "SignalName"
1554 BlockType Integrator
1557 Position [530, 40, 560, 70]
1558 InitialCondition "desc.initpos"
1559 UpperSaturationLimit "[area.w area.h Inf]"
1560 LowerSaturationLimit "[0 0 -Inf]"
1564 Name "x,y,phi [m,m,rad]"
1565 RTWStorageClass "Auto"
1566 DataLoggingNameMode "SignalName"
1571 Name "Manual Switch"
1573 Position [250, 27, 280, 63]
1574 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1575 SourceType "Manual Switch"
1576 ShowPortLabels "FromPortIcon"
1577 SystemSampleTime "-1"
1578 FunctionWithSeparateData "off"
1579 RTWMemSecFuncInitTerm "Inherit from model"
1580 RTWMemSecFuncExecute "Inherit from model"
1581 RTWMemSecDataConstants "Inherit from model"
1582 RTWMemSecDataInternal "Inherit from model"
1583 RTWMemSecDataParameters "Inherit from model"
1592 Position [380, 36, 385, 74]
1601 Position [420, 121, 460, 159]
1603 IndexOptions "Index vector (dialog)"
1610 RTWStorageClass "Auto"
1611 DataLoggingNameMode "SignalName"
1616 Name "Wheel\nradius"
1617 Position [90, 27, 135, 63]
1619 ParameterDataTypeMode "Inherit via internal rule"
1620 OutDataTypeMode "Inherit via internal rule"
1621 SaturateOnIntegerOverflow off
1625 RTWStorageClass "Auto"
1626 DataLoggingNameMode "SignalName"
1633 Position [430, 40, 490, 70]
1634 MATLABFcn "kinematics"
1637 BlockType RateLimiter
1639 Position [190, 20, 220, 50]
1641 FallingSlewLimit "-3"
1642 SampleTimeMode "inherited"
1647 Position [320, 30, 350, 60]
1654 Position [725, 48, 755, 62]
1655 IconDisplay "Port number"
1656 BusOutputAsStruct off
1659 SrcBlock "kinematics"
1661 DstBlock "Integrator"
1665 Name "x,y,phi [m,m,rad]"
1666 SrcBlock "Integrator"
1683 DstBlock "kinematics"
1691 Points [-60, 0; 0, -75]
1700 DstBlock "Wheel\nradius"
1710 SrcBlock "Manual Switch"
1718 DstBlock "Manual Switch"
1724 SrcBlock "Wheel\nradius"
1733 Points [0, 25; 75, 0]
1734 DstBlock "Manual Switch"
1744 Position [305, 405, 325, 425]
1748 CollapseMode "All dimensions"
1750 OutDataTypeMode "Inherit via internal rule"
1751 SaturateOnIntegerOverflow off
1757 Position [365, 387, 395, 423]
1758 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1759 SourceType "Manual Switch"
1760 ShowPortLabels "FromPortIcon"
1761 SystemSampleTime "-1"
1762 FunctionWithSeparateData off
1763 RTWMemSecFuncInitTerm "Inherit from model"
1764 RTWMemSecFuncExecute "Inherit from model"
1765 RTWMemSecDataConstants "Inherit from model"
1766 RTWMemSecDataInternal "Inherit from model"
1767 RTWMemSecDataParameters "Inherit from model"
1776 Position [345, 287, 375, 323]
1777 SourceBlock "simulink/Signal\nRouting/Manual Switch"
1778 SourceType "Manual Switch"
1779 ShowPortLabels "FromPortIcon"
1780 SystemSampleTime "-1"
1781 FunctionWithSeparateData off
1782 RTWMemSecFuncInitTerm "Inherit from model"
1783 RTWMemSecFuncExecute "Inherit from model"
1784 RTWMemSecDataConstants "Inherit from model"
1785 RTWMemSecDataInternal "Inherit from model"
1786 RTWMemSecDataParameters "Inherit from model"
1792 BlockType ToWorkspace
1794 Position [310, 45, 370, 75]
1795 VariableName "trajectory"
1798 SaveFormat "Structure With Time"
1801 BlockType "M-S-Function"
1802 Name "draw probability bitmap"
1804 Position [725, 393, 815, 427]
1805 ForegroundColor "gray"
1806 BackgroundColor "black"
1807 NamePlacement "alternate"
1808 FunctionName "sfdrawbitmap"
1811 SrcBlock "Controller"
1817 Name "Real robot position"
1818 SrcBlock "Subsystem"
1825 DstBlock "Level-2 M-file\nS-Function"
1836 Points [0, 70; -360, 0]
1839 DstBlock "Manual Switch"
1846 DstBlock "Rate Transition"
1850 DstBlock "Pos to deltas"
1863 SrcBlock "Manual Switch"
1865 DstBlock "Controller"
1869 SrcBlock "Rate Transition1"
1871 Points [-50, 0; 0, -370]
1872 DstBlock "Manual Switch"
1878 DstBlock "Subsystem"
1893 DstBlock "Level-2 M-file\nS-Function1"
1898 DstBlock "Rate Transition1"
1904 SrcBlock "Measurement"
1916 SrcBlock "Random\nNumber"
1919 DstBlock "Measurement noise\nstd. deviation [deg]"
1923 SrcBlock "Measurement noise\nstd. deviation [deg]"
1937 SrcBlock "Rate Transition"
1939 DstBlock "Measurement"
1945 Points [15, 0; 0, 70]
1946 DstBlock "draw probability bitmap"
1952 Points [5, 0; 0, -65]
1958 Points [0, -100; 205, 0; 0, -80]
1959 DstBlock "Level-2 M-file\nS-Function"
1964 SrcBlock "S-Function2"
1968 DstBlock "Controller"
1972 Points [0, -70; 130, 0]
1974 DstBlock "Level-2 M-file\nS-Function2"
1979 DstBlock "To Workspace"
1991 SrcBlock "Pos to deltas"
1997 SrcBlock "No odometry"
1999 Points [15, 0; 0, 15]
2006 # Finite State Machines
2008 # Stateflow Version 6.6 (R2007a) dated Jan 30 2007, 01:07:16
2017 created "29-Mar-2007 23:42:20"
2026 description "Default Simulink S-Function Target."