Difference between revisions of "Matlab Fanuc Robot Control"
From ESE497 Wiki
Jump to navigationJump to searchLine 8: | Line 8: | ||
*** Verify Tool Frame 2 is set to [0,0,95.3] so that the TCP is at the end of the gripper | *** Verify Tool Frame 2 is set to [0,0,95.3] so that the TCP is at the end of the gripper | ||
** Launch LV_COM_FRM on Teaching Pendant following instructions at [[Fanuc_How_Tos,_FAQ,_etc.#FAQ|Fanuc_How_Tos,_FAQ,_etc.#FAQ]] | ** Launch LV_COM_FRM on Teaching Pendant following instructions at [[Fanuc_How_Tos,_FAQ,_etc.#FAQ|Fanuc_How_Tos,_FAQ,_etc.#FAQ]] | ||
− | ** Download FanucLabviewKinect.zip from [[]] | + | ** Download FanucLabviewKinect.zip from [[Matlab Fanuc Kinect|Matlab Fanuc Kinect]] |
* Open and run LabVIEW\MatlabLabVIEWFanuc.vi | * Open and run LabVIEW\MatlabLabVIEWFanuc.vi | ||
* Open and run matlab\MatlabLabVIEWFanuc.m | * Open and run matlab\MatlabLabVIEWFanuc.m | ||
<mediaplayer width=720 height=504>FILE:2015-10-02_16.53.54.flv</mediaplayer> | <mediaplayer width=720 height=504>FILE:2015-10-02_16.53.54.flv</mediaplayer> | ||
* [[media:LV_COM_FRM.ls|Teaching Pendant Source]] | * [[media:LV_COM_FRM.ls|Teaching Pendant Source]] |
Revision as of 18:51, 27 October 2015
Example of moving the robot to a specific location from Matlab:
- Place marker and metal can exactly as shown above
- Turn on Robot
- Menu -> Setup -> Frames
- Verify Tool Frame 1 is set to [0,0,0]
- Verify Tool Frame 2 is set to [0,0,95.3] so that the TCP is at the end of the gripper
- Launch LV_COM_FRM on Teaching Pendant following instructions at Fanuc_How_Tos,_FAQ,_etc.#FAQ
- Download FanucLabviewKinect.zip from Matlab Fanuc Kinect
- Menu -> Setup -> Frames
- Open and run LabVIEW\MatlabLabVIEWFanuc.vi
- Open and run matlab\MatlabLabVIEWFanuc.m
<mediaplayer width=720 height=504>FILE:2015-10-02_16.53.54.flv</mediaplayer>