ROSCD goes to wrong workspace - ROS Melodic
At present, I have two ROS workspaces on my Ubuntu 18.04 system.
One is the root, located at: /opt/ros/melodic
The other is the workspace I actually use for my projects, located at: ~/catkinws_melodic
Whenever I use roscd
, it brings me to the first workspace (/opt/ros/melodic
), and I can only get to the second workspace ~/catkinws_melodic
if I specify a package along with roscd
(ex. roscd tbot
brings me to ~/catkinws_melodic/src/tbot
)
Is there a way to make roscd
by itself bring me to the workspace I use regularly, rather than the one located in the /opt
directory?
In my .bashrc
I have these two lines:
source /opt/ros/melodic/setup.bash
source /home/parallels/catkinws_melodic/devel/setup.bash
Also, here are my present environment variables:
ROS_ETC_DIR=/opt/ros/melodic/etc/ros
ROS_ROOT=/opt/ros/melodic/share/ros
ROS_MASTER_URI=http://localhost:11311
ROS_VERSION=1
ROS_PYTHON_VERSION=2
ROS_PACKAGE_PATH=/opt/ros/melodic/share:/home/parallels/catkinws_melodic/
ROSLISP_PACKAGE_DIRECTORIES=
ROS_DISTRO=melodic
Thanks for the help!!