ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Ok I have roscore in /opt/ros/hydro/bin
, and if I source /opt/ros/hydro/setup.zsh
then it works, or if I manually add /opt/ros/hydro/bin
to my $PATH, then it crashes because $PYTHONPATH is not setup correctly.
However, the problem is that sourcing either catkin_ws/devel/setup.zsh
or rosbuild/setup.zsh
breaks my general ROS enviromental variables, it overwrites them. For example I lose from $PYTHONPATH dist-packages, /opt/ros/hydro/bin
from the $PATH, and so on.
Does anyone have similar issue ?
2 | No.2 Revision |
Ok I have roscore in /opt/ros/hydro/bin
, and if I source /opt/ros/hydro/setup.zsh
then it works, or if I manually add /opt/ros/hydro/bin
to my $PATH, then it crashes because $PYTHONPATH is not setup correctly.
However, the problem is that sourcing either catkin_ws/devel/setup.zsh
or rosbuild/setup.zsh
breaks my general ROS enviromental variables, it overwrites them. For example I lose from $PYTHONPATH dist-packages, /opt/ros/hydro/bin
from the $PATH, and so on.
Does anyone have similar issue ?
UPDATE:
I just don't want to edit all enviromental variables by hand after sourcing catkin_ws/rosbuild setup files, so there has to be one solution to it.