ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

pepijndevos's profile - activity

2023-02-22 05:53:27 -0500 received badge  Good Question (source)
2021-03-21 10:02:01 -0500 received badge  Nice Question (source)
2020-08-29 20:40:13 -0500 received badge  Favorite Question (source)
2019-10-07 02:49:42 -0500 received badge  Notable Question (source)
2019-10-07 02:49:42 -0500 received badge  Popular Question (source)
2018-12-17 17:25:19 -0500 received badge  Famous Question (source)
2018-09-22 11:32:54 -0500 marked best answer ImportError when running catkin_make_isolated

I'm following the source installation on Debian Stretch on an armel platform. When I come to the final step of running catkin_make_isolated, I get the following error:

$ ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
Traceback (most recent call last):
  File "./src/catkin/bin/catkin_make_isolated", line 12, in <module>
    from catkin.builder import build_workspace_isolated
  File "./src/catkin/bin/../python/catkin/builder.py", line 66, in <module>
    from catkin_pkg.terminal_color import ansi, disable_ANSI_colors, fmt, sanitize
ImportError: No module named terminal_color

It seems this is due to a version mismatch, but I'm not sure where exactly. I'm running this in a Docker file, so it should be very reproducible:

FROM ev3dev/ev3dev-stretch-ev3-generic

RUN echo "robot ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

RUN apt-get install --yes --no-install-recommends python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential 

RUN rosdep init
USER robot
RUN rosdep update

RUN mkdir /home/robot/ros_catkin_ws
WORKDIR /home/robot/ros_catkin_ws

RUN rosinstall_generator robot --rosdistro melodic --deps --exclude roslisp --tar > melodic-robot.rosinstall
RUN wstool init -j8 src melodic-robot.rosinstall

RUN rosdep install --os=debian:stretch --from-paths src --ignore-src --rosdistro melodic -y

RUN ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
2018-08-27 23:28:01 -0500 received badge  Student (source)
2018-08-15 03:18:55 -0500 received badge  Famous Question (source)
2018-07-27 06:35:39 -0500 marked best answer Which programming language have mature and maintained client libraries?

Looking at http://wiki.ros.org/Client%20Libraries it appears as if a lot of languages have ROS client libraries. However, upon closer inspection, half of the ones I looked at have not been updated in years and provide only the bare minimum features.

Are there any bindings outside Python and C++ that are mature enough to be used in anything more than a toy project?

2018-07-27 01:35:27 -0500 asked a question Which programming language have mature and maintained client libraries?

Which programming language have mature and maintained client libraries? Looking at http://wiki.ros.org/Client%20Librarie

2018-07-27 01:26:42 -0500 marked best answer How can I generate pkg-config files for my package?

I have a Catkin package that generates several binaries and libraries, but unlike some other packages, pkg-config can't find them.

ROS seems to have set the path to both my Kinetic installation, as well as my workspace.

echo $PKG_CONFIG_PATH 
somelocation/workspace/devel/lib/pkgconfig:somelocation/ros_catkin_ws/install_isolated/lib/pkgconfig

When I ask pkg-config --list-all about it, it does know about all of the ROS libraries, and also about things I installed in my own workspace, like joy and uuid. But it does not find the libraries I wrote myself.

I went over to the CMakeLists.txt of joy to see if I could find anything obvious that has to be done to generate the correct files, but can't see anything. There is no .pc file in the repo either. I also tried to google around, but all results are about using external packages inside ROS, not about using ROS package outside it.

Currently I'm just doing this, but that apparently does not get you any pkg-config files. Full source: https://github.com/RoboTeamTwente/rob...

  add_library(Skill
        $<TARGET_OBJECTS:treegen>
        $<TARGET_OBJECTS:tactics>
        $<TARGET_OBJECTS:utils>
        $<TARGET_OBJECTS:skills>
        $<TARGET_OBJECTS:conditions>
        )
  add_dependencies(Skill 
        ${${PROJECT_NAME}_EXPORTED_TARGETS}
        ${catkin_EXPORTED_TARGETS}
        )

When I run this, there is no output

$ pkg-config --list-all | grep -i skill

So what is the correct way to tell pkg-config about my library, just like joy and uuid?

2018-07-27 01:26:23 -0500 received badge  Notable Question (source)
2018-07-23 12:07:47 -0500 received badge  Popular Question (source)
2018-07-23 11:27:34 -0500 commented question How can I generate pkg-config files for my package?

Ok. Thanks!

2018-07-23 08:48:00 -0500 commented question How can I generate pkg-config files for my package?

Ah! Catkin makes a pkg-config entry for the whole roboteam_tactics, rather than any individual libraries I define. If I

2018-07-23 05:58:30 -0500 commented question How can I generate pkg-config files for my package?

I've added a link to the source code: https://github.com/RoboTeamTwente/roboteam_tactics/blob/libskill/CMakeLists.txt I'

2018-07-23 05:58:04 -0500 edited question How can I generate pkg-config files for my package?

How can I generate pkg-config files for my package? I have a Catkin package that generates several binaries and librarie

2018-07-23 05:58:04 -0500 received badge  Editor (source)
2018-07-23 05:57:16 -0500 commented question How can I generate pkg-config files for my package?

I've added a link to the source code: https://github.com/RoboTeamTwente/roboteam_tactics/blob/master/CMakeLists.txt

2018-07-23 05:56:48 -0500 edited question How can I generate pkg-config files for my package?

How can I generate pkg-config files for my package? I have a Catkin package that generates several binaries and librarie

2018-07-23 02:54:20 -0500 asked a question How can I generate pkg-config files for my package?

How can I generate pkg-config files for my package? I have a Catkin package that generates several binaries and librarie

2018-07-17 18:40:02 -0500 received badge  Famous Question (source)
2018-07-17 18:40:02 -0500 received badge  Notable Question (source)
2018-06-23 08:31:08 -0500 received badge  Popular Question (source)
2018-06-23 05:51:36 -0500 commented answer How can I install ROS Melodic with Python3?

The installation worked after installing empy, but it seems messages are not properly generated. On python 3 there is no

2018-06-23 05:11:46 -0500 marked best answer How can I install ROS Melodic with Python3?

I need to use ROS with a library that does not support Python 2, which is over a decade old at this point. I'm finding mixed information about Python 3 support in ROS Melodic.

I'm installing from source using the instructions on the wiki. I used Python 3 to install the initial packages

sudo pip3 install -U rosdep rosinstall_generator wstool rosinstall

After setting up my locale correctly, I got up to the point where wstool has initialised the standalone workspace. But after that I run rosdep to install all the dependencies, and I see a lot of Python 2 packages scrolling by.

rosdep install --os=debian:stretch --from-paths src --ignore-src --rosdistro melodic --skip-keys=sbcl -y

Is there a way ROS Melodic can run on Python 3?

It might be worth mentioning that I could not care less about what the whole system runs on, as long as I can have a single Python 3 node to receive some messages and use this particular Python library. So if I can install rospy on Python 3 that should be enough I think?

2018-06-23 05:11:46 -0500 received badge  Scholar (source)
2018-06-22 06:02:48 -0500 asked a question How can I install ROS Melodic with Python3?

How can I install ROS Melodic with Python3? I need to use ROS with a library that does not support Python 2, which is ov

2018-06-21 15:57:25 -0500 received badge  Notable Question (source)
2018-06-20 17:22:06 -0500 received badge  Popular Question (source)
2018-06-17 07:45:46 -0500 received badge  Supporter (source)
2018-06-14 16:49:20 -0500 commented question ImportError when running catkin_make_isolated

Debian gives me a really old version of catkin_pkg. I did a pip install -U catkin_pkg and that soled that particular iss

2018-06-14 12:36:03 -0500 asked a question ImportError when running catkin_make_isolated

ImportError when running catkin_make_isolated I'm following the source installation on Debian Stretch on an armel platfo