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

📄 roblocks.mdl

📁 Robot tool box - provides many functions that are useful in robotics including such things as kinem
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  OutputDimensions	  "3"	}	Block {	  BlockType		  Outport	  Name			  "a"	  Position		  [265, 23, 295, 37]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "b"	  Position		  [255, 63, 285, 77]	  Port			  "2"	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "c"	  Position		  [255, 103, 285, 117]	  Port			  "3"	  IconDisplay		  "Port number"	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  3	  DstBlock		  "c"	  DstPort		  1	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  2	  DstBlock		  "b"	  DstPort		  1	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  1	  DstBlock		  "a"	  DstPort		  1	}	Line {	  SrcBlock		  "MATLAB Fcn"	  SrcPort		  1	  DstBlock		  "Demux"	  DstPort		  1	}	Line {	  SrcBlock		  "T"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "T2rpy"      Ports		      [1, 3]      Position		      [705, 147, 755, 203]      BackgroundColor	      "red"      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskDescription	      "Convert transform to roll/pitch/yaw angles."      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      System {	Name			"T2rpy"	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		  "tr2rpy(u)"	  OutputDimensions	  "3"	}	Block {	  BlockType		  Outport	  Name			  "roll"	  Position		  [265, 23, 295, 37]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "pitch"	  Position		  [255, 63, 285, 77]	  Port			  "2"	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "yaw"	  Position		  [255, 103, 285, 117]	  Port			  "3"	  IconDisplay		  "Port number"	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  3	  DstBlock		  "yaw"	  DstPort		  1	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  2	  DstBlock		  "pitch"	  DstPort		  1	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  1	  DstBlock		  "roll"	  DstPort		  1	}	Line {	  SrcBlock		  "MATLAB Fcn"	  SrcPort		  1	  DstBlock		  "Demux"	  DstPort		  1	}	Line {	  SrcBlock		  "T"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "T2xyz"      Ports		      [1, 3]      Position		      [700, 77, 750, 133]      BackgroundColor	      "red"      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskDescription	      "Convert transform to xyz scalars"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      System {	Name			"T2xyz"	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		  "transl(u)"	  OutputDimensions	  "3"	}	Block {	  BlockType		  Outport	  Name			  "x"	  Position		  [265, 23, 295, 37]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "y"	  Position		  [255, 63, 285, 77]	  Port			  "2"	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Outport	  Name			  "z"	  Position		  [255, 103, 285, 117]	  Port			  "3"	  IconDisplay		  "Port number"	}	Line {	  SrcBlock		  "T"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}	Line {	  SrcBlock		  "MATLAB Fcn"	  SrcPort		  1	  DstBlock		  "Demux"	  DstPort		  1	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  1	  DstBlock		  "x"	  DstPort		  1	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  2	  DstBlock		  "y"	  DstPort		  1	}	Line {	  SrcBlock		  "Demux"	  SrcPort		  3	  DstBlock		  "z"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "eul2T"      Ports		      [3, 1]      Position		      [630, 228, 680, 282]      BackgroundColor	      "red"      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskDescription	      "Convert Euler angles to transform."      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      System {	Name			"eul2T"	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			  "a"	  Position		  [25, 33, 55, 47]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Inport	  Name			  "b"	  Position		  [25, 68, 55, 82]	  Port			  "2"	  IconDisplay		  "Port number"	}	Block {	  BlockType		  Inport	  Name			  "c"	  Position		  [25, 103, 55, 117]	  Port			  "3"	  IconDisplay		  "Port number"	}	Block {	  BlockType		  MATLABFcn	  Name			  "MATLAB Fcn"	  Ports			  [1, 1]	  Position		  [120, 60, 180, 90]	  MATLABFcn		  "eul2tr(u)"	  OutputDimensions	  "[4 4]"	  Output1D		  off	}	Block {	  BlockType		  Mux	  Name			  "Mux"	  Ports			  [3, 1]	  Position		  [85, 20, 90, 130]	  ShowName		  off	  Inputs		  "3"	  DisplayOption		  "bar"	}	Block {	  BlockType		  Outport	  Name			  "T"	  Position		  [225, 68, 255, 82]	  IconDisplay		  "Port number"	}	Line {	  SrcBlock		  "c"	  SrcPort		  1	  DstBlock		  "Mux"	  DstPort		  3	}	Line {	  SrcBlock		  "MATLAB Fcn"	  SrcPort		  1	  DstBlock		  "T"	  DstPort		  1	}	Line {	  SrcBlock		  "Mux"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}	Line {	  SrcBlock		  "a"	  SrcPort		  1	  DstBlock		  "Mux"	  DstPort		  1	}	Line {	  SrcBlock		  "b"	  SrcPort		  1	  DstBlock		  "Mux"	  DstPort		  2	}      }    }    Block {      BlockType		      SubSystem      Name		      "fkine"      Ports		      [1, 1]      Position		      [425, 262, 475, 318]      BackgroundColor	      "red"      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskDescription	      "Robot forward kinematics."      MaskHelp		      "Compute homogeneous transform for robot end-effector given joint angles."      MaskPromptString	      "Robot object"      MaskStyleString	      "edit"      MaskTunableValueString  "on"      MaskEnableString	      "on"      MaskVisibilityString    "on"      MaskToolTipString	      "on"      MaskVariables	      "robot=@1;"      MaskDisplay	      "port_label('input', 1, 'q')\nport_label('output', 1, 'T')\ntext(0.9, 0.9, robot.name,  'horizontalAlignment', 'right')\n"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "normalized"      MaskValueString	      "robot"      System {	Name			"fkine"	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			  "q"	  Position		  [55, 68, 85, 82]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  MATLABFcn	  Name			  "MATLAB Fcn"	  Ports			  [1, 1]	  Position		  [120, 60, 180, 90]	  MATLABFcn		  "fkine(robot,u)"	  OutputDimensions	  "[4 4]"	  Output1D		  off	}	Block {	  BlockType		  Outport	  Name			  "T"	  Position		  [225, 68, 255, 82]	  IconDisplay		  "Port number"	}	Line {	  SrcBlock		  "q"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}	Line {	  SrcBlock		  "MATLAB Fcn"	  SrcPort		  1	  DstBlock		  "T"	  DstPort		  1	}      }    }    Block {      BlockType		      SubSystem      Name		      "ijacob"      Ports		      [1, 1]      Position		      [525, 170, 590, 240]      BackgroundColor	      "red"      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskDescription	      "Robot inverse Jacobian for world coordinates.\n\nOnly valid for square jacobians (ie/ 6DOF robots)"      MaskDisplay	      "text(0.4, 0.7, 'J', 'verticalAlignment', 'top', 'horizontalAlignment', 'left')\ntext(0.65, 0.65, '-1', 'verticalAlignment', 'bottom', 'horizontalAlignment', 'right')\nport_label('input', 1, 'J');\nport_label('output', 1, 'Ji')\n"      MaskIconFrame	      on

⌨️ 快捷键说明

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