How to add transforms3d python library into rosbuild farm? [closed]

asked 2021-12-06 06:37:11 -0500

hodnajit67 gravatar image

updated 2021-12-06 06:37:54 -0500

Hi, I try to use transforms3d python library in ROS2 Foxy (https://matthew-brett.github.io/trans...) for system test.

I put the dependency into package.xml:

<test_depend>python-transforms3d-pip</test_depend>

and included it into python written system test:

from transforms3d.quaternions import qmult, qinverse, quat2axangle

rosdep can install this dependency easily, but I faced an error if I try to use it with rosbuildfarm :(

10:10:21    - transforms3d
10:10:21  Traceback (most recent call last):
10:10:21    File "/usr/lib/python3/dist-packages/apt/cache.py", line 299, in __getitem__
10:10:21      rawpkg = self._cache[key]
10:10:21  KeyError: 'transforms3d'

It looks to me, that ros_buildfarm does not support installing libraries via pip?Is it ok? Or how to integrate this into ros buildfarm properly?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2021-12-06 09:18:02.596926

Comments

1

I'm going to close this as a duplicate of (at least) #q380279 and #q358667. There are a few more Q&As which discuss this topic.

For the specific dependency you mention, you may want to take a look at index.ros.org/p/tf_transformations, which I believe @David Lu released as he had a similar problem (in #q380279).

gvdhoorn gravatar image gvdhoorn  ( 2021-12-06 09:22:06 -0500 )edit

Thanks, you are right. I tried to find the answer in index.ros.org/p/tf_transformations, but I ended up using scipy.Rotation library instead, as there is no problem with this.

I was not able to find the answer quickly :/

hodnajit67 gravatar image hodnajit67  ( 2021-12-06 11:47:03 -0500 )edit