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

📄 demo6.mdl

📁 Robot tool box - provides many functions that are useful in robotics including such things as kinem
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  SrcPort		  1	  DstBlock		  "uv"	  DstPort		  1	}	Line {	  SrcBlock		  "T"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}      }    }    Block {      BlockType		      MATLABFcn      Name		      "cond()"      Ports		      [1, 1]      Position		      [155, 95, 215, 125]      MATLABFcn		      "cond(u)"    }    Block {      BlockType		      Constant      Name		      "desired\nimage plane\ncoordinates"      Position		      [530, 289, 615, 341]      BackgroundColor	      "lightBlue"      Value		      "[256 456;456 456;456 256;256 256]"      VectorParams1D	      off    }    Block {      BlockType		      Display      Name		      "feature error"      Ports		      [1]      Position		      [635, 345, 725, 515]      Orientation	      "left"      Format		      "bank"      Decimation	      "1"      Lockdown		      off    }    Block {      BlockType		      Display      Name		      "feature error\nnorm"      Ports		      [1]      Position		      [940, 350, 1030, 380]      Decimation	      "1"      Lockdown		      off    }    Block {      BlockType		      Scope      Name		      "feature error1"      Ports		      [1]      Position		      [900, 424, 930, 456]      Floating		      off      Location		      [20, 67, 344, 306]      Open		      on      NumInputPorts	      "1"      ZoomMode		      "yonly"      List {	ListType		AxesTitles	axes1			"%<SignalLabel>"      }      YMin		      "10"      YMax		      "55"      SaveName		      "ScopeData1"      DataFormat	      "StructureWithTime"      SampleTime	      "0"    }    Block {      BlockType		      Reference      Name		      "fkine"      Ports		      [1, 1]      Position		      [440, 187, 490, 243]      BackgroundColor	      "red"      SourceBlock	      "roblocks/fkine"      SourceType	      ""      ShowPortLabels	      "FromPortIcon"      SystemSampleTime	      "-1"      FunctionWithSeparateData off      RTWMemSecFuncInitTerm   "Inherit from model"      RTWMemSecFuncExecute    "Inherit from model"      RTWMemSecDataConstants  "Inherit from model"      RTWMemSecDataInternal   "Inherit from model"      RTWMemSecDataParameters "Inherit from model"      robot		      "p560"    }    Block {      BlockType		      Reference      Name		      "ijacob"      Ports		      [1, 1]      Position		      [155, 165, 220, 235]      BackgroundColor	      "red"      SourceBlock	      "roblocks/ijacob"      SourceType	      ""      ShowPortLabels	      "FromPortIcon"      SystemSampleTime	      "-1"      FunctionWithSeparateData off      RTWMemSecFuncInitTerm   "Inherit from model"      RTWMemSecFuncExecute    "Inherit from model"      RTWMemSecDataConstants  "Inherit from model"      RTWMemSecDataInternal   "Inherit from model"      RTWMemSecDataParameters "Inherit from model"    }    Block {      BlockType		      Reference      Name		      "jacobn"      Ports		      [1, 1]      Position		      [35, 168, 100, 232]      BackgroundColor	      "red"      SourceBlock	      "roblocks/jacobn"      SourceType	      ""      ShowPortLabels	      "FromPortIcon"      SystemSampleTime	      "-1"      FunctionWithSeparateData off      RTWMemSecFuncInitTerm   "Inherit from model"      RTWMemSecFuncExecute    "Inherit from model"      RTWMemSecDataConstants  "Inherit from model"      RTWMemSecDataInternal   "Inherit from model"      RTWMemSecDataParameters "Inherit from model"      robot		      "p560"    }    Block {      BlockType		      Display      Name		      "manip jac condition"      Ports		      [1]      Position		      [235, 95, 325, 125]      Decimation	      "1"      Lockdown		      off    }    Block {      BlockType		      MATLABFcn      Name		      "pinv"      Ports		      [1, 1]      Position		      [845, 200, 905, 230]      BackgroundColor	      "lightBlue"      MATLABFcn		      "pinv(u)"      Output1D		      off    }    Block {      BlockType		      Reference      Name		      "plot"      Ports		      [1]      Position		      [440, 27, 520, 83]      BackgroundColor	      "red"      SourceBlock	      "roblocks/plot"      SourceType	      ""      ShowPortLabels	      "FromPortIcon"      SystemSampleTime	      "-1"      FunctionWithSeparateData off      RTWMemSecFuncInitTerm   "Inherit from model"      RTWMemSecFuncExecute    "Inherit from model"      RTWMemSecDataConstants  "Inherit from model"      RTWMemSecDataInternal   "Inherit from model"      RTWMemSecDataParameters "Inherit from model"      robot		      "p560"    }    Block {      BlockType		      Display      Name		      "visjac\ncondition"      Ports		      [1]      Position		      [920, 80, 1010, 110]      Decimation	      "1"      Lockdown		      off    }    Block {      BlockType		      SubSystem      Name		      "visual\nJacobian"      Ports		      [1, 1]      Position		      [695, 189, 765, 241]      BackgroundColor	      "lightBlue"      DropShadow	      on      MinAlgLoopOccurrences   off      PropExecContextOutsideSubsystem off      RTWSystemCode	      "Auto"      FunctionWithSeparateData off      Opaque		      off      RequestExecContextInheritance off      MaskHideContents	      off      MaskPromptString	      "Camera params|Assumed depth (m)"      MaskStyleString	      "edit,edit"      MaskTunableValueString  "on,on"      MaskCallbackString      "|"      MaskEnableString	      "on,on"      MaskVisibilityString    "on,on"      MaskToolTipString	      "on,on"      MaskVarAliasString      ","      MaskVariables	      "camdata=@1;z=@2;"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "[8e-3 80e3 80e3 256 256]|2"      MaskTabNameString	      ","      System {	Name			"visual\nJacobian"	Location		[186, 604, 495, 730]	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			  "uv"	  Position		  [25, 33, 55, 47]	  IconDisplay		  "Port number"	}	Block {	  BlockType		  MATLABFcn	  Name			  "MATLAB Fcn"	  Ports			  [1, 1]	  Position		  [105, 25, 165, 55]	  MATLABFcn		  "visjac(u,camdata,z)"	  OutputDimensions	  "[8 6]"	  Output1D		  off	}	Block {	  BlockType		  Outport	  Name			  "J"	  Position		  [210, 33, 240, 47]	  IconDisplay		  "Port number"	}	Line {	  SrcBlock		  "MATLAB Fcn"	  SrcPort		  1	  DstBlock		  "J"	  DstPort		  1	}	Line {	  SrcBlock		  "uv"	  SrcPort		  1	  DstBlock		  "MATLAB Fcn"	  DstPort		  1	}      }    }    Line {      Name		      "q"      Labels		      [0, 0]      SrcBlock		      "Rate\ncontrolled\nrobot\naxes"      SrcPort		      1      Points		      [0, 0; 30, 0]      Branch {	DstBlock		"fkine"	DstPort			1      }      Branch {	Points			[0, -160]	DstBlock		"plot"	DstPort			1      }      Branch {	Labels			[2, 0]	Points			[0, -160; -375, 0]	DstBlock		"jacobn"	DstPort			1      }    }    Line {      SrcBlock		      "jacobn"      SrcPort		      1      Points		      [0, 0; 20, 0]      Branch {	DstBlock		"ijacob"	DstPort			1      }      Branch {	Points			[0, -90]	DstBlock		"cond()"	DstPort			1      }    }    Line {      Labels		      [1, 0]      SrcBlock		      "Product"      SrcPort		      1      DstBlock		      "Rate\ncontrolled\nrobot\naxes"      DstPort		      1    }    Line {      SrcBlock		      "camera"      SrcPort		      1      Points		      [15, 0; 25, 0]      Branch {	DstBlock		"visual\nJacobian"	DstPort			1      }      Branch {	DstBlock		"Sum"	DstPort			1      }    }    Line {      SrcBlock		      "fkine"      SrcPort		      1      DstBlock		      "camera"      DstPort		      1    }    Line {      SrcBlock		      "visual\nJacobian"      SrcPort		      1      Points		      [30, 0]      Branch {	DstBlock		"pinv"	DstPort			1      }      Branch {	Points			[0, -120]	DstBlock		"MATLAB Fcn2"	DstPort			1      }    }    Line {      SrcBlock		      "Sum"      SrcPort		      1      DstBlock		      "MATLAB Fcn"      DstPort		      1    }    Line {      SrcBlock		      "pinv"      SrcPort		      1      DstBlock		      "Product1"      DstPort		      1    }    Line {      SrcBlock		      "desired\nimage plane\ncoordinates"      SrcPort		      1      DstBlock		      "Sum"      DstPort		      2    }    Line {      Name		      "feature vel"      Labels		      [0, 0]      SrcBlock		      "MATLAB Fcn"      SrcPort		      1      Points		      [50, 0]      Branch {	Points			[95, 0; 0, -70]	DstBlock		"Product1"	DstPort			2      }      Branch {	Points			[0, 50]	Branch {	  DstBlock		  "MATLAB Fcn1"	  DstPort		  1	}	Branch {	  Points		  [0, 65]	  Branch {	    DstBlock		    "feature error"	    DstPort		    1	  }	  Branch {	    Labels		    [0, 0; 2, 0]	    Points		    [0, 10]	    DstBlock		    "feature error1"	    DstPort		    1	  }	}      }    }    Line {      SrcBlock		      "ijacob"      SrcPort		      1      DstBlock		      "Product"      DstPort		      1    }    Line {      SrcBlock		      "MATLAB Fcn2"      SrcPort		      1      DstBlock		      "visjac\ncondition"      DstPort		      1    }    Line {      SrcBlock		      "cond()"      SrcPort		      1      DstBlock		      "manip jac condition"      DstPort		      1    }    Line {      SrcBlock		      "MATLAB Fcn1"      SrcPort		      1      DstBlock		      "feature error\nnorm"      DstPort		      1    }    Line {      SrcBlock		      "Product1"      SrcPort		      1      Points		      [40, 0; 0, 310; -550, 0]      Branch {	DstBlock		"Gain1"	DstPort			1      }      Branch {	Points			[0, -135]	DstBlock		"Cartesian velocity dmd"	DstPort			1      }    }    Line {      SrcBlock		      "Gain1"      SrcPort		      1      Points		      [-55, 0; 0, -310]      DstBlock		      "Product"      DstPort		      2    }    Annotation {      Name		      "Image-based visual servo control"      Position		      [164, 19]      FontSize		      18      FontWeight	      "bold"    }    Annotation {      Name		      "desired camera velocity"      Position		      [837, 529]    }  }}

⌨️ 快捷键说明

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