pinocchio: Error when building from source (python bindings)
Hi,
I have been trying to build pinocchio from source both from the master and devel branches but I haven’t succeed. After the make command, I always got the following error:
In file included from /home/alejandro/phd_software/pinocchio_source/pinocchio/build/include/pinocchio/bindings/python/multibody/joint/joints-variant.hpp:11:0,
from /home/alejandro/phd_software/pinocchio_source/pinocchio/bindings/python/multibody/joint/expose-joints.cpp:7:
/home/alejandro/phd_software/pinocchio_source/pinocchio/build/include/pinocchio/bindings/python/multibody/joint/joints-models.hpp: In function ‘pinocchio::JointModelComposite& pinocchio::python::addJoint_proxy(pinocchio::JointModelComposite&, const JointModelVariant&, const SE3&)’:
/home/alejandro/phd_software/pinocchio_source/pinocchio/build/include/pinocchio/bindings/python/multibody/joint/joints-models.hpp:79:118: error: call of overloaded ‘apply_visitor(pinocchio::python::JointModelCompositeAddJointVisitor, const JointModelVariant&)’ is ambiguous
return boost::apply_visitor(JointModelCompositeAddJointVisitor(joint_composite,joint_placement), jmodel_variant);
^
Do you have any idea on what is causing that error? Thanks in advance
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 25 (13 by maintainers)
Thank you very much @jcarpent. Built, tested, and working. I’ll now try to build with python interface and see what happens.
Ok I will have a look and do the appropriate modifications. Thanks for reporting this new issue.
Dear @jcarpent. I have been testing the aba algorithm and forward kinematics interfacing casadi. Almost everything is working fine. However, since I need to calculate the casadi expressions which define the pose of a robot’s end-effector, I must update the frame placements like this:
or just:
pinocchio::framesForwardKinematics(casadi_model,casadi_data,q_casadi);taking into account that I already defined:But, whenever I uncomment the
pinocchio::updateFramePlacements(casadi_model,casadi_data)call, my script is not compiling. Both errors are related to the filepinocchio/algorithm/frames.hxx. The first one is:and the second one isrelated to the operator*
Attached there are both the compilation log and my test script.
Thank you very much @jcarpent. I was able to build pinocchio’s
develbranch from source (haven’t tried with python interface). I think that I will test it tomorrow morning and let you know how it goes.Thanks, I will try with that and see what happens.