Closed juanjqo closed 5 years ago
Hello, @juanjqo,
It should work now. Note that n_links
was replaced by get_dim_configuration_space
Also, we are going to remove dummy joints soon so dummy
, set_dummy
, and n_dummy
are no longer available.
I formatted your comment to change it from
quote
to
code
to make it easier to read. :)
@mmmarinho
Thanks. However, now, I have another problem with those attributes.
Using the same minimal example,
print(robot.reference_frame)
returns:
<bound method PyCapsule.reference_frame of <dqrobotics.robot_modeling.DQ_SerialManipulator object at 0x7fb074b97f10>>
Is this expected? I was expecting a default dq as DQ([1,0,0,0,0,0,0,0]) (as in Matlab).
Cheers,
Juancho
Hello!
It is a method, not an attribute. print(robot.reference_frame())
Should work.
You're right! Thank you!
Hi @mmmarinho
I had working a kinematic control in Python two weeks ago. The last version breaks my current implementation. I understand that DQ robotics is experimental in Python and I'm updating my code. However, some attributes are missing in DQ_SerialManipulator, specifically:
reference_frame
base_frame
n_links
Of course, the legacy attribute 'set_base' is not working either. Temporally, I'm performing some DQ operations manually avoiding 'set_bases' definitions and it is working. =)
Version: dqrobotics 0.1.1.10 Ubuntu 18.04 LTS
Best regards,
Juancho.
Minimal example: