Giter Club home page Giter Club logo

Comments (6)

heuristicus avatar heuristicus commented on June 29, 2024

You're probably missing the python3-pykdl package, or ros-noetic-tf2-kdl. You can install it with apt.

For reference, here are some kdl packages I have on a machine which does not have this module missing.

dpkg -l | ag kdl
ii  liborocos-kdl-dev:amd64                                     1.4.0-7ubuntu1                                amd64        Kinematics and Dynamics Library development files
ii  liborocos-kdl1.4                                            1.4.0-7ubuntu1                                amd64        Kinematics and Dynamics Library runtime
ii  python3-pykdl:amd64                                         1.4.0-7ubuntu1                                amd64        Kinematics and Dynamics Library Python library
ii  ros-noetic-eigen-conversions                                1.13.2-1focal.20220926.184700                 amd64        Conversion functions between: - Eigen and KDL - Eigen and geometry_msgs.
ii  ros-noetic-kdl-conversions                                  1.13.2-1focal.20220926.190946                 amd64        Conversion functions between KDL and geometry_msgs types.
ii  ros-noetic-kdl-parser                                       1.14.2-1focal.20220926.195001                 amd64        The Kinematics and Dynamics Library (KDL) defines a tree structure to represent the kinematic and dynamic parameters of a robot mechanism.
ii  ros-noetic-tf2-kdl                                          0.7.5-1focal.20220926.225132                  amd64        KDL binding for tf2

from spot_ros.

BCaran avatar BCaran commented on June 29, 2024

When I try to install it with sudo apt, I got error that there is no python3-pykdl.

from spot_ros.

BCaran avatar BCaran commented on June 29, 2024

I fixed this issuse with installing Ubuntu 20.04 for Jetson Xavier AGX and installing ROS Noetic.

from spot_ros.

heuristicus avatar heuristicus commented on June 29, 2024

If you were not using noetic before, that may have been another part of the problem - this package does not support melodic or older versions of ROS.

It may be possible to use melodic with the instructions at https://github.com/heuristicus/spot_ros#building-for-melodic, but prefer use of noetic.

from spot_ros.

BCaran avatar BCaran commented on June 29, 2024

I did some research and problem is that PyKDL is now merged together for Python2 and Python3.

Usage of Noetic works like charm because Python 3 is official interpreter.

from spot_ros.

danchoy avatar danchoy commented on June 29, 2024

To resolve this problem, I utilized Ubuntu 18.04 with Python versions 3.69 and 2.7.
It was necessary to manually install all required modules.
Additionally, the current version of orocos_kdl on Github was not compatible with my environment,
so I opted to clone the previous version.

cd ~/catkin_ws/src
sudo apt update
sudo apt install libeigen3-dev libcppunit-dev
sudo apt install python3-psutil python3-future
python3 -m pip install psutil
python3 -m pip install future
git clone -b release-1.5 https://github.com/orocos/orocos_kinematics_dynamics.git
cd orocos_kinematics_dynamics/python_orocos_kdl
git submodule update --init
catkin build orocos_kdl
catkin build python_orocos_kdl

from spot_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.