fixed a bug in ROS installation, updated README

Sourcing .bashrc from install_ros.sh didn't have any effect, since
.bashrc needs to be sourced from an interactive shell. Because of this,
it was required to restart the terminal for ROS to work. Now, the ROS
startup scripts are sourced directly from the installation script,
thus eliminating the need to restart the terminal.

Added instructions to README to check the installation success.
This commit is contained in:
pavel committed 2018-05-27 12:26:45 +02:00
1 parent 3600e44115
commit 5bea6e542a
2 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -24,8 +24,8 @@ sudo rosdep init
rosdep update
echo "Environment setup"
source /opt/ros/indigo/setup.bash
echo "source /opt/ros/indigo/setup.bash" >>${HOME}/.bashrc
source ${HOME}/.bashrc
echo "Get rosinstall"
sudo apt install python-rosinstall -y