Closed kunpengyao closed 3 years ago
Hi, nice that you like the work!
forward_kinematics(q)
where q
is the symbol for the generalized coordinates of your system.urdfdom
/urdf_parser_py
, and should not affect the calculation, but feel free to verify by comparing against e.g. an output from PyKDL. Many thanks for your answer. I think my first question is more related to CasADi instead of this package.
Hello, thanks for sharing this nice work! I am interested in using this package to solve one problem I am working on. I have following questions: (1) I see that in the example, it is possible to use
forward_kinematics([0.3, 0.3, 0.3, 0., 0.3, 0.7])
to evaluate the symbolic form. However, I wonder how can I export the symbolic expression to a local file? I want to perform extra symbolic operation of the expression, for example, calculate the manipulability index, which can be obtained based on the end-effector Jacobian. (2) If there is a way to use any symbolic expression directly in a CasADi optimization problem? For example, using the symbolic expression of the forward kinematic as an objective function, and treat joint angles as variables, to solve a simple IK problem. I could not find any clues in the example. (3) I received information when I load urdf model usingrobot_parser.from_file(urdf_path)
: "Unknown tag xx in xx". I think such tags haven't been considered. However, will they by any chance affect the calculation? Many thanks.