Upgrade system package with workspace package

asked 2017-11-24 04:54:42 -0500

lalten gravatar image

I would like to use the latest rqt_bag that contains a fix for a NameError. I cloned the git repository to my catkin workspace and built the package.

When I execute the new ~/catkin_ws/devel/bin/rqt_bag, it still uses some system files:

Traceback (most recent call last):
  File "/opt/ros/lunar/lib/python2.7/dist-packages/rqt_bag/bag_widget.py", line 264, in _handle_load_clicked
    self.load_bag(filename[0])
  File "/opt/ros/lunar/lib/python2.7/dist-packages/rqt_bag/bag_widget.py", line 267, in load_bag
    qInfo("Loading '%s'..." % filename)
NameError: global name 'qInfo' is not defined

Can I shadow the system package somehow, or can I install the package as system package?

Do I need to set the CMAKE_INSTALL_PREFIX to something? to what?

edit retag flag offensive close merge delete

Comments

sudo cp -v -R ~/catkin_ws/src/rqt_bag/rqt_bag/src/rqt_bag/* /opt/ros/lunar/lib/python2.7/dist-packages/rqt_bag

does the trick, but i would still like to know how this would be done in a proper way.

lalten gravatar image lalten  ( 2017-11-24 05:22:16 -0500 )edit