lbr-stack / lbr_fri_ros2_stack

ROS 1/2 integration for KUKA LBR IIWA 7/14 and Med 7/14
https://lbr-stack.readthedocs.io/en/latest/lbr_fri_ros2_stack/lbr_fri_ros2_stack/doc/lbr_fri_ros2_stack.html
Apache License 2.0
140 stars 41 forks source link

orocos_kdl -> orocos_kdl_vendor #128

Closed Tianhuanyu closed 10 months ago

Tianhuanyu commented 11 months ago

Hi, when I install lbr_fri_ros2_stack, I find packages had stderr output including fri_vendor lbr_demos_fri_ros2_advanced_python lbr_demos_fri_ros2_python lbr_demos_ros2_control_python.

Here is my environment: Python: 3.10.12 ROS version: Humble


Here is the Error Message

--- stderr: lbr_demos_fri_ros2_advanced_python /home/thy/.local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!

    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

It seems to fail to install KDL, showing the message after vcs install:

lbr_demos_fri_ros2_advanced_cpp: Cannot locate rosdep definition for [orocos_kdl]


Tianhuanyu commented 11 months ago

Try to install orocos using sudo apt-get install ros-humble-orocos and sudo apt-get install ros-humble-python-orocos

They didn't work.

Tianhuanyu commented 11 months ago

It works after giving: pip install setuptools==58.2.0

Now this message is gone: --- stderr: lbr_demos_fri_ros2_advanced_python /home/thy/.local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.

But still have stderr on fri_vendor

Tianhuanyu commented 11 months ago

Refering to This issue: https://github.com/ros2/ros2/issues/1310

It shows orocos_kdl is removed in favor of orocos_kdl_vendor.

Tianhuanyu commented 11 months ago

To skip orocos-dependt part, try:

colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --symlink-install --packages-skip lbr_demos_fri_ros2_advanced_python but still meet this error

--- stderr: fri_vendor
HEAD is now at 785a8d8 updated logo Found nanopb of version: 0.2.8 Found FRIClient of version: 1.15

Tianhuanyu commented 11 months ago

It seems to work though having errors in fri_vendor. So this is fine if we only see the stderr. You can treat this as a warning.(Tested from my side.)

mhubii commented 11 months ago

Refering to This issue: ros2/ros2#1310

It shows orocos_kdl is removed in favor of orocos_kdl_vendor.

The orocos dependency requires an update in:

For the advanced_cpp demo https://github.com/lbr-stack/lbr_fri_ros2_stack/tree/humble/lbr_demos/lbr_demos_fri_ros2_advanced_cpp