|
|
####### Calculating WikiHand ####### Calculating WikiHand |
|
|
########################################## ########################################## |
square matrix calculated square matrix inverse calculated pseudoinverse calculated square matrix calculated square matrix inverse calculated pseudoinverse calculated |
Traceback (click to the left of this block for traceback) ... __SAGE__ Traceback (most recent call last):
File "", line 1, in <module>
File "/tmp/tmpfQx7Sd/___code___.py", line 164, in <module>
tau_fr_tendon=Ptheta.apply_map(abs)*(f_t_act_corr-f_t_act_fr) #Joint torque caused by tendon friction. Friction force can never be more than active force!! We use the abs of Ptheta since all tendons do friction work.
File "element.pyx", line 2467, in sage.structure.element.Matrix.__mul__ (sage/structure/element.c:16791)
File "coerce.pyx", line 739, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:6549)
File "action.pyx", line 195, in sage.matrix.action.MatrixVectorAction._call_ (sage/matrix/action.c:3592)
File "matrix0.pyx", line 3703, in sage.matrix.matrix0.Matrix._matrix_times_vector_ (sage/matrix/matrix0.c:20430)
File "expression.pyx", line 1812, in sage.symbolic.expression.Expression.__nonzero__ (sage/symbolic/expression.cpp:8206)
File "/sagenb/sage_install/sage-4.7.2/local/lib/python2.6/site-packages/sage/interfaces/maxima_lib.py", line 420, in _eval_line
if statement: result = ((result + '\n') if result else '') + max_to_string(maxima_eval("#$%s$"%statement))
File "ecl.pyx", line 693, in sage.libs.ecl.EclObject.__call__ (sage/libs/ecl.c:4660)
File "ecl.pyx", line 276, in sage.libs.ecl.ecl_safe_apply (sage/libs/ecl.c:2769)
RuntimeError: ECL says: Console interrupt
__SAGE__
|
(0, 1050.00000000000*cos(theta_3) + 900.000000000000, 900.000000000000, 450.000000000000) (0, 1050.00000000000*cos(theta_3) + 900.000000000000, 900.000000000000, 450.000000000000) |
Traceback (click to the left of this block for traceback) ... NameError: name 'theta1min' is not defined Traceback (most recent call last): p21=plot(vector(f_N_PIP(**param_dict)(theta_2=0,theta_3=0,theta_4=0,mu_t=0.1,mu_j=0.1,f_pre_MC13=10,f_pre_MC24=10,f_pre_PIP56=10,f_pre_DIP78=10))[1],(theta_1,theta1min,theta1max),label="PIP_y")
File "", line 1, in <module>
File "/tmp/tmpfaGnzo/___code___.py", line 4, in <module>
p1=plot(vector(f_N_MC(**param_dict)(theta_2=_sage_const_0 ,theta_3=_sage_const_0 ,theta_4=_sage_const_0 ,mu_t=_sage_const_0p1 ,mu_j=_sage_const_0p1 ,f_pre_MC13=_sage_const_10 ,f_pre_MC24=_sage_const_10 ,f_pre_PIP56=_sage_const_10 ,f_pre_DIP78=_sage_const_10 ))[_sage_const_0 ],(theta_1,theta1min,theta1max),label="MC_x")
NameError: name 'theta1min' is not defined
|
Traceback (click to the left of this block for traceback) ... SyntaxError: invalid syntax Traceback (most recent call last):
File "", line 1, in <module>
File "/tmp/tmp9hWakE/___code___.py", line 14
^
SyntaxError: invalid syntax
|
Traceback (click to the left of this block for traceback) ... NameError: name 'Tau_fr' is not defined Traceback (most recent call last): theta1max=30*deg
File "", line 1, in <module>
File "/tmp/tmppU5Akt/___code___.py", line 20, in <module>
print ((Tau_fr(**param_dict))(f_pre_MC13=_sage_const_10 ,f_pre_MC24=_sage_const_10 ,f_pre_PIP56=_sage_const_10 ,f_pre_DIP78=_sage_const_10 )).apply_map(attrcall('simplify')).n()
NameError: name 'Tau_fr' is not defined
|
|
|
calculating joint: '0' name: muEnl1t1 value is: -1/e^(mu_t*abs(-0.0555555555556*pi + theta_1)) + 1 ::::::::::::::::::::::debugme:::::::::::::::: -0.523598775598299 0.100000000000000 -1/e^(1/10*abs(-0.0555555555556*pi - 26714619/51021164)) + 1 Traceback (click to the left of this block for traceback) ... TypeError: cannot evaluate symbolic expression numerically calculating joint: '0'
name:
muEnl1t1
value is:
-1/e^(mu_t*abs(-0.0555555555556*pi + theta_1)) + 1
::::::::::::::::::::::debugme::::::::::::::::
-0.523598775598299 0.100000000000000
-1/e^(1/10*abs(-0.0555555555556*pi - 26714619/51021164)) + 1
Traceback (most recent call last): class saveToMat(object):
File "", line 1, in <module>
File "/tmp/tmpUVwm_R/___code___.py", line 120, in <module>
__temp=eval(muObjectName).calcValue((mu_enlacement[i])(**param_dict))
File "/tmp/tmpe3l3WH/___code___.py", line 97, in calcValue
self._result[self._k,_sage_const_0 ]=self._value(theta_1=item[_sage_const_0 ],mu_t=item[_sage_const_1 ],mu_j=item[_sage_const_1 ]).n()
File "expression.pyx", line 4053, in sage.symbolic.expression.Expression._numerical_approx (sage/symbolic/expression.cpp:17894)
TypeError: cannot evaluate symbolic expression numerically
|
0.0674319647572598 0.0674319647572598 |
Traceback (click to the left of this block for traceback) ... NameError: name 'tauFrT5data' is not defined Traceback (most recent call last): imagepath="/home_local/grebenst/images/"
File "", line 1, in <module>
File "/tmp/tmp6e3xaG/___code___.py", line 345, in <module>
plt.plot(tauFrT5data.row(_sage_const_5 ).list(),tauFrT5data.row(_sage_const_4 ).list(),label="$\\tau_3$",c='r')
NameError: name 'tauFrT5data' is not defined
|
Traceback (click to the left of this block for traceback) ... IndexError: row index out of range Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_96.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGx0LmZpZ3VyZSgpCnBsdC5wbG90KG11RW5sMVsyXS5yb3coMzApKQpwbHQuc2hvdygpCnBsdC5zYXZlZmlnKCJhc2Rzc2YiKQ=="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpjrE0Wo/___code___.py", line 4, in <module>
plt.plot(muEnl1[_sage_const_2 ].row(_sage_const_30 ))
File "matrix1.pyx", line 971, in sage.matrix.matrix1.Matrix.row (sage/matrix/matrix1.c:7275)
IndexError: row index out of range
|
(24963200/370198319, 104071777/1671087775, 23157137/405587608, 23061319/444478022, 26009970/557627143, 10991449/265654191, 12121631/335994122, 9532833/310015664, 27052127/1065351238, 15311608/765341581, 12011285/823253029, 4765247/521140500, 9685085/2640689358, 5202201/2834211431, 4570627/624247500, 29374166/2298811351, 6906098/379369377, 5840302/247465177, 34551244/1192771779, 33278901/970106540) ******** (-1/6*pi, -17/114*pi, -5/38*pi, -13/114*pi, -11/114*pi, -3/38*pi, -7/114*pi, -5/114*pi, -1/38*pi, -1/114*pi, 1/114*pi, 1/38*pi, 5/114*pi, 7/114*pi, 3/38*pi, 11/114*pi, 13/114*pi, 5/38*pi, 17/114*pi, 1/6*pi) (24963200/370198319, 104071777/1671087775, 23157137/405587608, 23061319/444478022, 26009970/557627143, 10991449/265654191, 12121631/335994122, 9532833/310015664, 27052127/1065351238, 15311608/765341581, 12011285/823253029, 4765247/521140500, 9685085/2640689358, 5202201/2834211431, 4570627/624247500, 29374166/2298811351, 6906098/379369377, 5840302/247465177, 34551244/1192771779, 33278901/970106540) ******** (-1/6*pi, -17/114*pi, -5/38*pi, -13/114*pi, -11/114*pi, -3/38*pi, -7/114*pi, -5/114*pi, -1/38*pi, -1/114*pi, 1/114*pi, 1/38*pi, 5/114*pi, 7/114*pi, 3/38*pi, 11/114*pi, 13/114*pi, 5/38*pi, 17/114*pi, 1/6*pi) |
instance created with parameters: (0.100000000000000, 0.100000000000000) instance created with parameters: (0.150000000000000, 0.150000000000000) instance created with parameters: (0.200000000000000, 0.200000000000000) instance created with parameters: (0.250000000000000, 0.250000000000000) instance created with parameters: (0.300000000000000, 0.300000000000000) instance created with parameters: (0.100000000000000, 0.100000000000000) instance created with parameters: (0.150000000000000, 0.150000000000000) instance created with parameters: (0.200000000000000, 0.200000000000000) instance created with parameters: (0.250000000000000, 0.250000000000000) instance created with parameters: (0.300000000000000, 0.300000000000000) |
|
|
Desired Torque: [0.000000000000000] [ 18.9748944697250] [ 900.000000000000] [ 450.000000000000] Friction Torque normal force: [0.000000000000000] [-396.885447934855] [-80.0282450138699] [-154.905944060097] Friction Torque tendon force: [-6.00331314798648] [-6.00331314798648] [-419.499005322727] [-340.426859564694] Friction Torque over all: [-6.00331314798648] [-402.888761082842] [-499.527250336597] [-495.332803624791] Desired Torque: [0.000000000000000] [ 18.9748944697250] [ 900.000000000000] [ 450.000000000000] Friction Torque normal force: [0.000000000000000] [-396.885447934855] [-80.0282450138699] [-154.905944060097] Friction Torque tendon force: [-6.00331314798648] [-6.00331314798648] [-419.499005322727] [-340.426859564694] Friction Torque over all: [-6.00331314798648] [-402.888761082842] [-499.527250336597] [-495.332803624791] |
Traceback (click to the left of this block for traceback) ... AttributeError: 'list' object has no attribute 'shape' Traceback (most recent call last): ax = fig.gca(projection='3d')
File "", line 1, in <module>
File "/tmp/tmp9cxbgn/___code___.py", line 36, in <module>
linewidth=_sage_const_0 , antialiased=False)
File "/home/grebi/bin/sage-4.7.1-linux-64bit-ubuntu_8.04.4_lts-x86_64-Linux/local/lib/python2.6/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 663, in plot_surface
rows, cols = Z.shape
AttributeError: 'list' object has no attribute 'shape'
|
\newcommand{\Bold}[1]{\mathbf{#1}}\left\{\verb|a| : 5, \verb|c| : 5, \verb|v| : 5\right\}
\newcommand{\Bold}[1]{\mathbf{#1}}\left\{\verb|a| : 5, \verb|c| : 5, \verb|v| : 5\right\}
|
[ faus == fein*e^(-mualpha) ] mue == -(fein*e^(-mualpha) - fein)/fein [ faus == fein*e^(-mualpha) ] mue == -(fein*e^(-mualpha) - fein)/fein |
mue == (faus*fein*e^mualpha - fein^2 - faus + fein)/fein mue == (faus*fein*e^mualpha - fein^2 - faus + fein)/fein |
[0.000000000000000] [ 1950.00000000000] [ 900.000000000000] [ 450.000000000000] ########################### [-59.4512195121951] [-59.4512195121951] [ 59.4512195121951] [ 59.4512195121951] [-127.358490566038] [ 127.358490566038] [-60.0000000000000] [ 60.0000000000000] ########################### [-118.902439024390] [-118.902439024390] [0.000000000000000] [0.000000000000000] [-254.716981132075] [0.000000000000000] [-120.000000000000] [0.000000000000000] ########################### [-123.902439024390] [-123.902439024390] [-5.00000000000000] [-5.00000000000000] [-259.716981132075] [-5.00000000000000] [-125.000000000000] [-5.00000000000000] ######Tau_test##################### (0.000000000000000, 1914.22211760352, 900.000000000000, 450.000000000000) ######Tau_test2##################### (0.000000000000000, 1914.22211760352, 900.000000000000, 450.000000000000) [0.000000000000000] [ 1950.00000000000] [ 900.000000000000] [ 450.000000000000] ########################### [-59.4512195121951] [-59.4512195121951] [ 59.4512195121951] [ 59.4512195121951] [-127.358490566038] [ 127.358490566038] [-60.0000000000000] [ 60.0000000000000] ########################### [-118.902439024390] [-118.902439024390] [0.000000000000000] [0.000000000000000] [-254.716981132075] [0.000000000000000] [-120.000000000000] [0.000000000000000] ########################### [-123.902439024390] [-123.902439024390] [-5.00000000000000] [-5.00000000000000] [-259.716981132075] [-5.00000000000000] [-125.000000000000] [-5.00000000000000] ######Tau_test##################### (0.000000000000000, 1914.22211760352, 900.000000000000, 450.000000000000) ######Tau_test2##################### (0.000000000000000, 1914.22211760352, 900.000000000000, 450.000000000000) |
Traceback (click to the left of this block for traceback) ... NameError: name 'test_dict' is not defined Traceback (most recent call last):
File "", line 1, in <module>
File "/tmp/tmphjiOQu/___code___.py", line 6, in <module>
print J_b(**test_dict)
NameError: name 'test_dict' is not defined
|
(0, f_tip*l_m*cos(theta_4) + f_tip*l_p*cos(theta_3 + theta_4) + f_tip*l_d, f_tip*l_m*cos(theta_4) + f_tip*l_d, f_tip*l_d) Traceback (click to the left of this block for traceback) ... TypeError: unsupported operand parent(s) for '+': 'Full MatrixSpace of 8 by 8 dense matrices over Symbolic Ring' and 'Vector space of dimension 4 over Symbolic Ring' (0, f_tip*l_m*cos(theta_4) + f_tip*l_p*cos(theta_3 + theta_4) + f_tip*l_d, f_tip*l_m*cos(theta_4) + f_tip*l_d, f_tip*l_d)
Traceback (most recent call last): SIGN_TAU=TAU.apply_map(sign)
File "", line 1, in <module>
File "/tmp/tmpMGjnJ1/___code___.py", line 10, in <module>
F_tendon=diag(f_tendon)*diag(mu_enlacement)+Tau_fr # The tendonforces contain the join torques!
File "element.pyx", line 1302, in sage.structure.element.RingElement.__add__ (sage/structure/element.c:11504)
File "coerce.pyx", line 766, in sage.structure.coerce.CoercionModel_cache_maps.bin_op (sage/structure/coerce.c:7337)
TypeError: unsupported operand parent(s) for '+': 'Full MatrixSpace of 8 by 8 dense matrices over Symbolic Ring' and 'Vector space of dimension 4 over Symbolic Ring'
|
******************** [ asdf 1 2 8 9] [ 0 1 v 8 2*x] [ 0 1 -99999 8 9] [ 0 1 -99999 8 7] [ 0 1 2 8*x 9] Traceback (click to the left of this block for traceback) ... NotImplementedError ********************
[ asdf 1 2 8 9]
[ 0 1 v 8 2*x]
[ 0 1 -99999 8 9]
[ 0 1 -99999 8 7]
[ 0 1 2 8*x 9]
Traceback (most recent call last):
File "", line 1, in <module>
File "/tmp/tmpLvpqcK/___code___.py", line 33, in <module>
exec compile(u'print a*b**-_sage_const_1
File "", line 1, in <module>
File "free_module_element.pyx", line 1525, in sage.modules.free_module_element.FreeModuleElement.__pow__ (sage/modules/free_module_element.c:8101)
NotImplementedError
|
|
|
|
|
[ 0 (f_tip*l_m*cos(theta_4) + f_tip*l_p*cos(theta_3 + theta_4) + f_tip*l_d)/d_MC (f_tip*l_m*cos(theta_4) + f_tip*l_d)/d_PIP f_tip*l_d/d_PIP] [ 0 (f_tip*l_m*cos(theta_4) + f_tip*l_p*cos(theta_3 + theta_4) + f_tip*l_d)/d_MC (f_tip*l_m*cos(theta_4) + f_tip*l_d)/d_PIP f_tip*l_d/d_PIP] |
Traceback (click to the left of this block for traceback) ... NameError: name 'b' is not defined Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_6.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cHJpbnQgYSpiLmludmVyc2UoKQpwcmludCBkWzFd"),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpuJ8uoI/___code___.py", line 3, in <module>
print a*b.inverse()
NameError: name 'b' is not defined
|
Traceback (click to the left of this block for traceback) ... AttributeError: 'list' object has no attribute 'apply_map' Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_7.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cHJpbnQgKGZfdF9hY3QpLmFwcGx5X21hcChhdHRyY2FsbCgndHJpZ19yZWR1Y2UnKSk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpq_FojX/___code___.py", line 2, in <module>
exec compile(u"print (f_t_act).apply_map(attrcall('trig_reduce'))" + '\n', '', 'single')
File "", line 1, in <module>
AttributeError: 'list' object has no attribute 'apply_map'
|
\left(0,\,f_{\mbox{tip}} l_{m} \cos\left(\theta_{4}\right) +
f_{\mbox{tip}} l_{p} \cos\left(\theta_{3} + \theta_{4}\right) +
f_{\mbox{tip}} l_{d},\,f_{\mbox{tip}} l_{m} \cos\left(\theta_{4}\right)
+ f_{\mbox{tip}} l_{d},\,f_{\mbox{tip}} l_{d}\right)
\left(0,\,f_{\mbox{tip}} l_{m} \cos\left(\theta_{4}\right) + f_{\mbox{tip}} l_{p} \cos\left(\theta_{3} + \theta_{4}\right) + f_{\mbox{tip}} l_{d},\,f_{\mbox{tip}} l_{m} \cos\left(\theta_{4}\right) + f_{\mbox{tip}} l_{d},\,f_{\mbox{tip}} l_{d}\right)
|
|
|
|
|
\left(\begin{array}{r}
0 \\
-{\left(\mbox{lp} s_{1} s_{2} + \mbox{lmc} s_{1}\right)} s_{2} +
{\left(c_{1} c_{2} \mbox{lp} + c_{1} \mbox{lmc}\right)} c_{2} \\
0
\end{array}\right)
\left(\begin{array}{r}
0 \\
-{\left(\mbox{lp} s_{1} s_{2} + \mbox{lmc} s_{1}\right)} s_{2} + {\left(c_{1} c_{2} \mbox{lp} + c_{1} \mbox{lmc}\right)} c_{2} \\
0
\end{array}\right)
|
extension vector h:
\left(\begin{array}{r}
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ -r_{M} \theta_{1} - r_{M} \theta_{2} + l_{1} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ r_{M} \theta_{1} - r_{M} \theta_{2} + l_{2} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ r_{M} \theta_{1} + r_{M} \theta_{2} + l_{3} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ -r_{M} \theta_{1} + r_{M} \theta_{2} + l_{4} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ -d_{i} \theta_{1} + r_{P} \theta_{3} + l_{5} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ -d_{a} \theta_{1} + r_{P} \theta_{3} + l_{6} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ d_{i} \theta_{1} + r_{D} \theta_{3} - r_{D} \theta_{4} +
l_{7} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ d_{a} \theta_{1} - r_{D} \theta_{3} + r_{D} \theta_{4} +
l_{8}
\end{array}\right)
##########################################
P(theta)
[(theta_1, theta_2, theta_3, theta_4) |--> -r_M (theta_1, theta_2,
theta_3, theta_4) |--> r_M (theta_1, theta_2, theta_3, theta_4)
|--> r_M (theta_1, theta_2, theta_3, theta_4) |--> -r_M (theta_1,
theta_2, theta_3, theta_4) |--> -d_i (theta_1, theta_2, theta_3,
theta_4) |--> -d_a (theta_1, theta_2, theta_3, theta_4) |--> d_i
(theta_1, theta_2, theta_3, theta_4) |--> d_a]
[(theta_1, theta_2, theta_3, theta_4) |--> -r_M (theta_1, theta_2,
theta_3, theta_4) |--> -r_M (theta_1, theta_2, theta_3, theta_4)
|--> r_M (theta_1, theta_2, theta_3, theta_4) |--> r_M
(theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2,
theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4)
|--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0]
[ (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2,
theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4)
|--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1,
theta_2, theta_3, theta_4) |--> r_P (theta_1, theta_2, theta_3,
theta_4) |--> r_P (theta_1, theta_2, theta_3, theta_4) |--> r_D
(theta_1, theta_2, theta_3, theta_4) |--> -r_D]
[ (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2,
theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4)
|--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1,
theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3,
theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> -r_D
(theta_1, theta_2, theta_3, theta_4) |--> r_D]
##########################################
\left(\begin{array}{rrrrrrrr}
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ -r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ r_{M} & \left( \theta_{1},
\theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} &
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ -r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ -d_{i} & \left( \theta_{1},
\theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -d_{a} &
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ d_{i} & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ d_{a} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ -r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ -r_{M} & \left( \theta_{1},
\theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} &
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2},
\theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1},
\theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left(
\theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0
\\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2},
\theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1},
\theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left(
\theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \
r_{P} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4}
\right) \ {\mapsto} \ r_{P} & \left( \theta_{1}, \theta_{2},
\theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{D} & \left(
\theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \
-r_{D} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2},
\theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1},
\theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left(
\theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0
& \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \
{\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3},
\theta_{4} \right) \ {\mapsto} \ -r_{D} & \left( \theta_{1},
\theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{D}
\end{array}\right)
extension vector h:
\left(\begin{array}{r}
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{M} \theta_{1} - r_{M} \theta_{2} + l_{1} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} \theta_{1} - r_{M} \theta_{2} + l_{2} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} \theta_{1} + r_{M} \theta_{2} + l_{3} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{M} \theta_{1} + r_{M} \theta_{2} + l_{4} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -d_{i} \theta_{1} + r_{P} \theta_{3} + l_{5} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -d_{a} \theta_{1} + r_{P} \theta_{3} + l_{6} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ d_{i} \theta_{1} + r_{D} \theta_{3} - r_{D} \theta_{4} + l_{7} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ d_{a} \theta_{1} - r_{D} \theta_{3} + r_{D} \theta_{4} + l_{8}
\end{array}\right)
##########################################
P(theta)
[(theta_1, theta_2, theta_3, theta_4) |--> -r_M (theta_1, theta_2, theta_3, theta_4) |--> r_M (theta_1, theta_2, theta_3, theta_4) |--> r_M (theta_1, theta_2, theta_3, theta_4) |--> -r_M (theta_1, theta_2, theta_3, theta_4) |--> -d_i (theta_1, theta_2, theta_3, theta_4) |--> -d_a (theta_1, theta_2, theta_3, theta_4) |--> d_i (theta_1, theta_2, theta_3, theta_4) |--> d_a]
[(theta_1, theta_2, theta_3, theta_4) |--> -r_M (theta_1, theta_2, theta_3, theta_4) |--> -r_M (theta_1, theta_2, theta_3, theta_4) |--> r_M (theta_1, theta_2, theta_3, theta_4) |--> r_M (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0]
[ (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> r_P (theta_1, theta_2, theta_3, theta_4) |--> r_P (theta_1, theta_2, theta_3, theta_4) |--> r_D (theta_1, theta_2, theta_3, theta_4) |--> -r_D]
[ (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> 0 (theta_1, theta_2, theta_3, theta_4) |--> -r_D (theta_1, theta_2, theta_3, theta_4) |--> r_D]
##########################################
\left(\begin{array}{rrrrrrrr}
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -d_{i} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -d_{a} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ d_{i} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ d_{a} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{M} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{P} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{P} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{D} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{D} \\
\left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ 0 & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ -r_{D} & \left( \theta_{1}, \theta_{2}, \theta_{3}, \theta_{4} \right) \ {\mapsto} \ r_{D}
\end{array}\right)
|
-1 -1 |
[ -r_M/(d_a^2 + d_i^2 + 4*r_M^2) -1/4/r_M -1/2*(d_a + d_i)*r_M/((d_a^2 + d_i^2 + 4*r_M^2)*r_P) 1/2*((d_a - d_i)*r_M*r_P - (d_a + d_i)*r_D*r_M)/((4*r_D*r_M^2 + (d_a^2 + d_i^2)*r_D)*r_P)] [ r_M/(d_a^2 + d_i^2 + 4*r_M^2) -1/4/r_M 1/2*(d_a + d_i)*r_M/((d_a^2 + d_i^2 + 4*r_M^2)*r_P) -1/2*((d_a - d_i)*r_M*r_P - (d_a + d_i)*r_D*r_M)/((4*r_D*r_M^2 + (d_a^2 + d_i^2)*r_D)*r_P)] [ r_M/(d_a^2 + d_i^2 + 4*r_M^2) 1/4/r_M 1/2*(d_a + d_i)*r_M/((d_a^2 + d_i^2 + 4*r_M^2)*r_P) -1/2*((d_a - d_i)*r_M*r_P - (d_a + d_i)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*r_D + 2*d_a*d_i*r_D + 3*d_i^2*r_D + 8*r_D*r_M^2 - (d_a^2 - d_i^2)*r_P)/((d_a^2 + d_i^2 + 4*r_M^2)*r_P^2) -1/2*((d_a^2 - d_a*d_i)*r_P - (d_a^2 + d_a*d_i)*r_D)/((4*r_D*r_M^2 + (d_a^2 + d_i^2)*r_D)*r_P) + 1/4*(8*r_D^2*r_M^2 - 2*(d_a^2 - d_i^2)*r_D*r_P + (3*d_a^2 + 2*d_a*d_i + 3*d_i^2)*r_D^2 + (3*d_a^2 - 2*d_a*d_i + 3*d_i^2 + 8*r_M^2)*r_P^2)/((4*r_D*r_M^2 + (d_a^2 + d_i^2)*r_D)*r_P^2) - 1/4*(3*d_a^2*r_D + 2*d_a*d_i*r_D + 3*d_i^2*r_D + 8*r_D*r_M^2 - (d_a^2 - d_i^2)*r_P)/((d_a^2 + d_i^2 + 4*r_M^2)*r_P^2)] |
|
File: /sage/local/lib/python2.6/site-packages/sage/rings/arith.py Type: <type ‘function’> Definition: rational_reconstruction(a, m, algorithm=’fast’) Docstring:
|
WARNING: Output truncated! full_output.txt Calculating Joint: 4 4 Multiplications [ -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1)) + (cos(theta_2) - 1)*l_1*sin(theta_1) - (l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_2)*cos(theta_1) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4))*(l_1 + l_2 + l_3)] [ ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2)) - (cos(theta_2) - 1)*l_1*cos(theta_1) + (l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_1)*sin(theta_2) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4))*(l_1 + l_2 + l_3)] [ 0 0 1 0] [ 0 0 0 1] Calculating Joint: 4 4 Multiplications [ -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) ... 1] Calculating Joint: 4 4 Multiplications [ -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1)) + (cos(theta_2) - 1)*l_1*sin(theta_1) - (l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_2)*cos(theta_1) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4))*(l_1 + l_2 + l_3)] [ ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2)) - (cos(theta_2) - 1)*l_1*cos(theta_1) + (l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_1)*sin(theta_2) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4))*(l_1 + l_2 + l_3)] [ 0 0 1 0] [ 0 0 0 1] Jacobian column vector [(l_1 + l_2 + l_3)*cos(theta_1 + theta_2 + theta_3 + theta_4) + l_1 + l_2 + l_3] [ (l_1 + l_2 + l_3)*sin(theta_1 + theta_2 + theta_3 + theta_4)] [ 0] [ (l_1 + l_2 + l_3)*null] [ (l_1 + l_2 + l_3)*null] [ (l_1 + l_2 + l_3)*null + 1] WARNING: Output truncated! full_output.txt Calculating Joint: 4 4 Multiplications [ -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1)) + (cos(theta_2) - 1)*l_1*sin(theta_1) - (l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_2)*cos(theta_1) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4))*(l_1 + l_2 + l_3)] [ ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2)) - (cos(theta_2) - 1)*l_1*cos(theta_1) + (l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_1)*sin(theta_2) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4))*(l_1 + l_2 + l_3)] [ 0 0 1 0] [ 0 0 0 1] Calculating Joint: 4 4 Multiplications [ -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) ... 1] Calculating Joint: 4 4 Multiplications [ -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1)) + (cos(theta_2) - 1)*l_1*sin(theta_1) - (l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_2)*cos(theta_1) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4))*(l_1 + l_2 + l_3)] [ ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*cos(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*sin(theta_4) -((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) - ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4) 0 (cos(theta_4) - 1)*((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*(l_1 + l_2 + l_3) + (cos(theta_3) - 1)*(l_1 + l_2)*(sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2)) - (cos(theta_2) - 1)*l_1*cos(theta_1) + (l_1 + l_2)*(sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*(l_1 + l_2 + l_3)*sin(theta_4) + l_1*sin(theta_1)*sin(theta_2) - (((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*cos(theta_3) - (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*sin(theta_3))*sin(theta_4) + ((sin(theta_1)*cos(theta_2) + sin(theta_2)*cos(theta_1))*sin(theta_3) + (sin(theta_1)*sin(theta_2) - cos(theta_1)*cos(theta_2))*cos(theta_3))*cos(theta_4))*(l_1 + l_2 + l_3)] [ 0 0 1 0] [ 0 0 0 1] Jacobian column vector [(l_1 + l_2 + l_3)*cos(theta_1 + theta_2 + theta_3 + theta_4) + l_1 + l_2 + l_3] [ (l_1 + l_2 + l_3)*sin(theta_1 + theta_2 + theta_3 + theta_4)] [ 0] [ (l_1 + l_2 + l_3)*null] [ (l_1 + l_2 + l_3)*null] [ (l_1 + l_2 + l_3)*null + 1] |
Traceback (click to the left of this block for traceback) ... NameError: name 'Joint' is not defined Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_3.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("Sm9pbnQuU2tldyh2ZWN0b3IoWzAsbF8xLDBdKSk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpcdaOhc/___code___.py", line 3, in <module>
exec compile(u'Joint.Skew(vector([_sage_const_0 ,l_1,_sage_const_0 ]))
File "", line 1, in <module>
NameError: name 'Joint' is not defined
|
|
|
|
|