-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with rbt = sympybotics.RobotDynCode(rbtdef, verbose=True) #26
Comments
This seems to be due to change in new SymPy versions. Unfortunately, this project is unmaintained, although I'll accept PRs to fix issues. |
Thank you for your response. |
Viscouse friction, and Coulomb/constant friction |
Thank you for your response. |
No, it is not known in advance and cannot be "directly" estimated.
It is indirectly estimated as l_1 / m_1
…On Thu, Jan 30, 2020 at 10:29 PM ycho80 ***@***.***> wrote:
Thank you for your response.
I do not need to put the location of the center of mass for each link?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26?email_source=notifications&email_token=AACRNT5GWEWXFR2VJHR3CRTRANIDXA5CNFSM4KM5Z622YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKMZYNA#issuecomment-580492340>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACRNT5EEOAXWUU7LQ4M5CTRANIDXANCNFSM4KM5Z62Q>
.
|
Thank you. |
They are the x,y,z components of the "first moment of inertia" vector.
Such "first moment of inertia" vector is equal to the center-of-mass
position (x,y,z) multiplied by the value of the mass.
…On Thu, Jan 30, 2020 at 11:02 PM ycho80 ***@***.***> wrote:
Thank you.
Last question.
I_1x, I_1y and I_1z represent the length of the first link in terms of x,
y, and z ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26?email_source=notifications&email_token=AACRNTZTPCYDQDQYMTO6O23RANMAZA5CNFSM4KM5Z622YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKM4JVQ#issuecomment-580502742>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACRNT3TVMK2HEWPYDV7YOLRANMAZANCNFSM4KM5Z62Q>
.
|
Then, I don't need to put the length of the link as a parameter? |
Now, I totally understand it. |
Have you solved this problem? |
for anyone facing this problem, I had to install an older version of sympy |
if sympy.iterables.iterable(expr):return expr... |
Hi,
I am trying to run the example code step by step in the Python Shell.
When I put rbt = sympybotics.RobotDynCode(rbtdef, verbose=True), I got the following errors.
Please give me any advice to fix this issue.
generating geometric model
generating kinematic model
generating inverse dynamics code
Traceback (most recent call last):
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\SymPyBotics\example\kuka_dynamics.py", line 16, in
rbt = sympybotics.RobotDynCode(rbtdef, verbose=True)
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\lib\site-packages\sympybotics\robotmodel.py", line 58, in init
self.dyn.gen_invdyn(invdyn_se.collect)
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\lib\site-packages\sympybotics\dynamics\dynamics.py", line 22, in gen_invdyn
self.invdyn = rne(self.rbtdef, self.geom, ifunc)
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\lib\site-packages\sympybotics\dynamics\rne.py", line 29, in rne
fw_results = rne_forward(rbtdef, geom, ifunc)
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\lib\site-packages\sympybotics\dynamics\rne.py", line 15, in rne_forward
return rne_forward(rbtdef, geom, ifunc)
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\lib\site-packages\sympybotics\dynamics\rne_park.py", line 50, in rne_park_forward
V[i] = ifunc(Adj(geom.Tdh_inv[i], V[i - 1])) +
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\lib\site-packages\sympybotics\symcode\subexprs.py", line 170, in collect
out_exprs = list(map(self._parse, prep_exprs))
File "C:\Users\ymcho\AppData\Local\Programs\Python\Python37\lib\site-packages\sympybotics\symcode\subexprs.py", line 142, in _parse
if sympy.iterables.iterable(expr):
AttributeError: module 'sympy' has no attribute 'iterables'
The text was updated successfully, but these errors were encountered: