Created
April 21, 2019 11:27
-
-
Save plusangel/84939e9dc43cbfc2a7a7f857e32698e5 to your computer and use it in GitHub Desktop.
bashrc for ROS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ROS1 | |
export ROS_DISTRO=melodic | |
source /opt/ros/$ROS_DISTRO/setup.bash | |
source /home/user/catkin_ws/devel/setup.bash | |
# ROS2 | |
export ROS_DISTRO=crystal | |
source /opt/ros/$ROS_DISTRO/setup.bash | |
source /home/user/ros2_ws/install/local_setup.bash | |
# bridge | |
source /opt/ros/melodic/setup.bash | |
source /opt/ros/crystal/local_setup.bash | |
source /home/user/catkin_ws/devel/setup.bash | |
source /home/user/ros2_ws/install/local_setup.bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
. /home/user/.bashrc_ros1
. /home/user/.bashrc_ros2