⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roblocks.mdl

📁 Robot tool box - provides many functions that are useful in robotics including such things as kinem
💻 MDL
📖 第 1 页 / 共 4 页
字号:
Library {  Name			  "roblocks"  Version		  7.1  MdlSubVersion		  0  SavedCharacterEncoding  "ISO-8859-1"  LibraryType		  "BlockLibrary"  SaveDefaultBlockParams  on  SampleTimeColors	  off  LibraryLinkDisplay	  "all"  WideLines		  off  ShowLineDimensions	  off  ShowPortDataTypes	  off  ShowLoopsOnError	  on  IgnoreBidirectionalLines off  ShowStorageClass	  off  ShowTestPointIcons	  on  ShowSignalResolutionIcons on  ShowViewerIcons	  on  SortedOrder		  off  ExecutionContextIcon	  off  ShowLinearizationAnnotations on  ScopeRefreshTime	  0.035000  OverrideScopeRefreshTime on  DisableAllScopes	  off  BlockNameDataTip	  off  BlockParametersDataTip  off  BlockDescriptionStringDataTip	off  ToolBar		  off  StatusBar		  off  BrowserShowLibraryLinks off  BrowserLookUnderMasks	  off  Created		  "Tue Nov  6 20:25:41 2001"  Creator		  "pic"  UpdateHistory		  "UpdateHistoryNever"  ModifiedByFormat	  "%<Auto>"  LastModifiedBy	  "pic"  ModifiedDateFormat	  "%<Auto>"  LastModifiedDate	  "Thu Apr 24 07:54:59 2008"  RTWModifiedTimeStamp	  0  ModelVersionFormat	  "1.%<AutoIncrement:26>"  ConfigurationManager	  "none"  SimulationMode	  "normal"  LinearizationMsg	  "none"  Profile		  off  ParamWorkspaceSource	  "MATLABWorkspace"  CovSaveName		  "covdata"  CovMetricSettings	  "dw"  CovNameIncrementing	  off  CovHtmlReporting	  on  covSaveCumulativeToWorkspaceVar on  CovSaveSingleToWorkspaceVar on  CovCumulativeReport	  off  CovReportOnPause	  on  CovModelRefEnable	  "Off"  ExtModeBatchMode	  off  ExtModeEnableFloating	  on  ExtModeTrigType	  "manual"  ExtModeTrigMode	  "normal"  ExtModeTrigPort	  "1"  ExtModeTrigElement	  "any"  ExtModeTrigDuration	  1000  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  ShowModelReferenceBlockVersion off  ShowModelReferenceBlockIO off  BlockDefaults {    Orientation		    "right"    ForegroundColor	    "black"    BackgroundColor	    "white"    DropShadow		    off    NamePlacement	    "normal"    FontName		    "Helvetica"    FontSize		    10    FontWeight		    "normal"    FontAngle		    "normal"    ShowName		    on  }  BlockParameterDefaults {    Block {      BlockType		      Clock      DisplayTime	      off    }    Block {      BlockType		      Demux      Outputs		      "4"      DisplayOption	      "none"      BusSelectionMode	      off    }    Block {      BlockType		      Inport      Port		      "1"      UseBusObject	      off      BusObject		      "BusObject"      BusOutputAsStruct	      off      PortDimensions	      "-1"      SampleTime	      "-1"      OutMin		      "[]"      OutMax		      "[]"      DataType		      "auto"      OutDataType	      "fixdt(1,16,0)"      OutScaling	      "[]"      OutDataTypeStr	      "Inherit: auto"      SignalType	      "auto"      SamplingMode	      "auto"      LatchByDelayingOutsideSignal off      LatchByCopyingInsideSignal off      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		      MATLABFcn      MATLABFcn		      "sin"      OutputDimensions	      "-1"      OutputSignalType	      "auto"      Output1D		      on      SampleTime	      "-1"    }    Block {      BlockType		      Mux      Inputs		      "4"      DisplayOption	      "none"      UseBusObject	      off      BusObject		      "BusObject"      NonVirtualBus	      off    }    Block {      BlockType		      Outport      Port		      "1"      UseBusObject	      off      BusObject		      "BusObject"      BusOutputAsStruct	      off      PortDimensions	      "-1"      SampleTime	      "-1"      OutMin		      "[]"      OutMax		      "[]"      DataType		      "auto"      OutDataType	      "fixdt(1,16,0)"      OutScaling	      "[]"      OutDataTypeStr	      "Inherit: auto"      SignalType	      "auto"      SamplingMode	      "auto"      OutputWhenDisabled      "held"      InitialOutput	      "[]"    }    Block {      BlockType		      Reference    }    Block {      BlockType		      "S-Function"      FunctionName	      "system"      SFunctionModules	      "''"      PortCounts	      "[]"      SFunctionDeploymentMode off    }    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"      MinMaxOverflowLogging   "UseLocalSettings"    }  }  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"  }  System {    Name		    "roblocks"    Location		    [48, 62, 845, 408]    Open		    on    ModelBrowserVisibility  off    ModelBrowserWidth	    200    ScreenColor		    "gray"    PaperOrientation	    "portrait"    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"    Block {      BlockType		      SubSystem      Name		      "Robot"      Ports		      [1, 3]      Position		      [35, 79, 150, 151]      BackgroundColor	      "red"      DropShadow	      on      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskDescription	      "Rigid-body dynamic model of robot."      MaskHelp		      "Simulates the forward (direct) rigid-body dynamics of the robot described by the given robot object.\n"      MaskPromptString	      "Robot object|Initial state"      MaskStyleString	      "edit,edit"      MaskTunableValueString  "on,on"      MaskCallbackString      "|"      MaskEnableString	      "on,on"      MaskVisibilityString    "on,on"      MaskToolTipString	      "on,on"      MaskVarAliasString      ","      MaskVariables	      "robot=@1;q0=@2;"      MaskInitialization      "n = robot.n;\nname = robot.name;\n"      MaskDisplay	      "port_label('input', 1, 'tau')\nport_label('output', 1, 'q')\nport_label('output', 2, 'qd')\nport_label('output', 3, 'qdd')\ntext(0.1, 0.9,  name, 'horizontalAlignment', 'left')\n"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      MaskValueString	      "robot|[0 0 0 0 0 0]"      MaskTabNameString	      ","      System {	Name			"Robot"	Location		[26, 97, 558, 325]	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			  "tau"	  Position		  [20, 98, 50, 112]	  IconDisplay		  "Port number"	  OutDataType		  "sfix(16)"	  OutScaling		  "2^0"	}	Block {	  BlockType		  Integrator	  Name			  "Integrator"	  Ports			  [1, 1]	  Position		  [265, 65, 295, 95]	  ShowName		  off	  Port {	    PortNumber		    1	    Name		    "qd"	    RTWStorageClass	    "Auto"	    DataLoggingNameMode	    "SignalName"	  }	}	Block {	  BlockType		  Integrator	  Name			  "Integrator1"	  Ports			  [1, 1]	  Position		  [345, 65, 375, 95]	  ShowName		  off	}	Block {	  BlockType		  Mux	  Name			  "Mux"	  Ports			  [3, 1]	  Position		  [105, 44, 115, 116]	  ShowName		  off	  Inputs		  "3"	  DisplayOption		  "bar"	}	Block {	  BlockType		  "S-Function"	  Name			  "S-Function"	  Ports			  [1, 1]	  Position		  [150, 65, 210, 95]	  FunctionName		  "slaccel"	  Parameters		  "robot"	  EnableBusSupport	  off	  Port {	    PortNumber		    1	    Name		    "qdd"	    RTWStorageClass	    "Auto"	    DataLoggingNameMode	    "SignalName"	  }	}	Block {	  BlockType		  Outport	  Name			  "q"	  Position		  [440, 73, 470, 87]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "qd"	  Position		  [440, 128, 470, 142]	  Port			  "2"	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "qdd"	  Position		  [440, 173, 470, 187]	  Port			  "3"	  IconDisplay		  "Port number"	}	Line {	  Name			  "qdd"	  Labels		  [0, 0]	  SrcBlock		  "S-Function"	  SrcPort		  1	  Points		  [35, 0]	  Branch {	    Points		    [0, 100]	    DstBlock		    "qdd"	    DstPort		    1	  }	  Branch {	    DstBlock		    "Integrator"	    DstPort		    1	  }	}	Line {	  SrcBlock		  "Mux"	  SrcPort		  1	  DstBlock		  "S-Function"	  DstPort		  1	}	Line {	  Name			  "qd"	  Labels		  [0, 0]	  SrcBlock		  "Integrator"	  SrcPort		  1	  Points		  [30, 0]	  Branch {	    Points		    [0, 55]	    DstBlock		    "qd"	    DstPort		    1	  }	  Branch {	    DstBlock		    "Integrator1"	    DstPort		    1	  }	  Branch {	    Points		    [0, -50; -285, 0; 0, 50]	    DstBlock		    "Mux"	    DstPort		    2	  }	}	Line {	  SrcBlock		  "tau"	  SrcPort		  1	  DstBlock		  "Mux"	  DstPort		  3	}	Line {	  SrcBlock		  "Integrator1"	  SrcPort		  1	  Points		  [25, 0]	  Branch {	    DstBlock		    "q"	    DstPort		    1	  }	  Branch {	    Points		    [0, -60; -325, 0; 0, 35]	    DstBlock		    "Mux"	    DstPort		    1	  }	}      }    }    Block {      BlockType		      SubSystem      Name		      "T2eul"      Ports		      [1, 3]      Position		      [705, 227, 755, 283]      BackgroundColor	      "red"      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskDescription	      "Convert transform to Euler angles."      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      System {	Name			"T2eul"	Location		[167, 513, 531, 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			  "T"	  Position		  [30, 63, 60, 77]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Demux	  Name			  "Demux"	  Ports			  [1, 3]	  Position		  [225, 13, 230, 127]	  BackgroundColor	  "black"	  ShowName		  off	  Outputs		  "3"	}	Block {	  BlockType		  MATLABFcn	  Name			  "MATLAB Fcn"	  Ports			  [1, 1]	  Position		  [105, 55, 165, 85]	  MATLABFcn		  "tr2eul(u)"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -