Project

General

Profile

Actions

Bug #247

closed

.catkin generation

Added by Olivier Stasse about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-

Description

Dear robotpkg team,
It seems that there is a problem related to ros workspace chaining.
The current generation of .catkin prevent to do it properly.

Symptoms:
Assuming that the binaries or the robotpkg installation directory is /opt/openrobots.
Assuming that we have installed a ros package from robotpkg (such as talos_simulation)

When creating locally a catkin workspace with CMAKE_PREFIX_PATH pointing to /opt/openrobots with:
export CMAKE_PREFIX_PATH=/opt/openrobots:$CMAKE_PREFIX_PATH
mkdir -p /tmp/catkin_ws/src
cd /tmp/catkin_ws/src
catkin_init_workspace
cd ..;catkin_make
cd devel
source setup.bash
env | grep ROS_PACKAGE_PATH

gives
ROS_PACKAGE_PATH=/tmp/catkin_ws/src:

but it should be:

ROS_PACKAGE_PATH=/tmp/catkin_ws/src:/opt/openrobots/share:/opt/ros/melodic/share

This is fixed by doing:
rm /opt/openrobots/.catkin
touch /opt/openrobots/.catkin

set the size of .catkin to 0 instead of 1.

IMHO this is due to
43: ${ECHO} >${CATKIN_MARKER}
in devel/ros-catkin/files
using touch instead of echo seems to do the trick.

What do you think ?

Thanks for your time and help.

Olivier.

Actions

Also available in: Atom PDF