SGn=SGjacohand
SGn : | CEll list of hand plus 3 fingers |
loadweb JACO_robot.mat
SGjacohand; SGH=ans
This algorithm is designed to compile a model of the JACO robotic hand and its fingers using data from a .mat file. Below is a detailed explanation of the algorithm and its parameters:
SGjacohand
. It operates on data loaded from a file.JACO_robot.mat
. This file contains the necessary data structures for the JACO hand model.JC61
and JCF
, are loaded from the file and stored in a cell array SG
.SGTframeChain
. The chain is specified by a sequence of movements and rotations, represented as a string: [1 'F' 2 'B' 1 'F2' 2 'B' 1 'F3' 2 'B']
.SGTchain
is called with the following parameters:
SG
: The cell array containing the hand and finger data.[nan 0 pi pi]
: An array of angles for the kinematic chain, where nan
represents an undefined angle, and pi
represents 180 degrees.0
: A parameter likely representing an initial state or configuration.Fchain
: The kinematic chain defined earlier.SGTchain
is stored in SGn
, which represents the compiled model of the JACO hand and fingers.nargout==0
), it proceeds to visualize the model:
SGfigure(-30,30)
: Initializes a figure for plotting with specified view angles.SGplotalpha(SGn,'w')
: Plots the model with a specified color or transparency.axis off
: Turns off the axis display for a cleaner visualization.view(-129,21)
: Sets the view angle for the 3D plot.camlightTL
: Adds lighting to the plot for better visualization.zoompatch('',0,0)
: Adjusts the zoom level of the plot.SGn
: A cell list containing the hand and three fingers of the JACO robotic hand model.