Closed Lejou closed 2 years ago
Hi, iDynTree mantainer here. I think this repo was written against a really old version of iDynTree, the correct way of importing Gazebo with a modern version of iDynTree is:
import idyntree.bindings as iDynTree
see for example https://github.com/robotology/idyntree/blob/v5.1.0/examples/python/KinDynComputationsTutorial.py#L11 . I am afraid that this is not the only incompatibility between this repo and the latest version of iDynTree.
Got it. Thank you, Traversaro!
I am very grateful for your reply and your contribution of this work!
If you want to use this project, ideally start using only versions of all modules that where available in march 2017, also ros and ubuntu. Pull requests for any changes for compatibility updates are of course welcome ;)
Version: ROS noetic
I compile the idyntree with the guidance in https://github.com/robotology/robotology-superbuild , with python-binding . However, when I run: ./trajectory.py .... I get the error:
Then,I doubt that the module was not exported in the $PYTHONPATH, so I turn on a terminal and run python3 to verify the pythonpath. However, iDynTree was still not found while the module with the name "idyntree" was found. How could this happen? Is there something wrong with the installation of iDynTree? Why the module name could be different?
I would appreciate any help from you!