jsk-ros-pkg / euslime

Emacs SLIME for Euslisp
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

When I execute install.bash, some packages' paths are modified by euslime #3

Closed mqcmd196 closed 4 years ago

mqcmd196 commented 4 years ago

Hi! I executed these commands.

source /opt/ros/melodic/setup.bash
source ~/semi_ws/devel/setup.bash

Then I executed this commands,

rospack find pr2eus

terminal shows

/home/user/semi_ws/src/jsk_pr2eus/pr2eus

However after these commands, I executed

source ~/euslime_ws/install/setup.bash
rospack find pr2eus

and terminal shows,

/opt/ros/melodic/share/pr2eus

I want to use pr2eus in semi_ws/src/jsk_pr2eus on euslime. How can I fix this trouble?

Thanks.

Affonso-Gui commented 4 years ago

When you build a workspace it remembers all the packages sourced at the build time (this is a ROS thing and is not specifically related to euslime).

To use euslime with the pr2eus from source do:

Usually to avoid this kind of confusion it is recommended to have only one workspace. However, I do like to keep the euslime in a separate one, specially because it needs to be configured as an install one (it is possible to build it with devel as well, with a few hacks).

mqcmd196 commented 4 years ago

I understood what catkin build did and succeeded in using pr2eus from source.

Thanks!