Skip to content

Melodic #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Melodic #2

wants to merge 5 commits into from

Conversation

maciejzj
Copy link
Member

@maciejzj maciejzj commented Apr 7, 2020

No description provided.

Copy link
Member Author

@maciejzj maciejzj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments.

}
],
"version": 4
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As GitHub suggests a newline is missing at the end of file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that GitHub doesn't warn about it everywhere (here not). However generally all files on Unix likes should have an empty line at the bottom.
Git sometimes warns about this too.

"python.autoComplete.extraPaths": [
"/opt/ros/melodic/lib/python2.7/dist-packages"
]
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As GitHub suggests a newline is missing at the end of file.

echo -e "${GREEN}Gazebo installation done${NOCOLOR}"
# read -p "Do you wish to install simulator (Gazebo) [Y/n]" -n 1 -s ans && echo
# [ "${ans}" != "n" ] && install_gazebo
# echo -e "${GREEN}Gazebo installation done${NOCOLOR}"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be deleted.

python-wstool
build-essential
ros-melodic-ros-control
ros-melodic-ros-controllers
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline missing.


sudo apt update
sudo apt -y install --no-install-recommends `cat pkglist-ros`

echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant with

grep "${SOURCE_ROS}" ${HOME}/.bashrc 2> /dev/null || \

Afaik source is needed to the run commands below. The best would be to place source /opt/ros.... on this line. And leave mentioned line in other file as is.


sudo apt update
sudo apt -y install --no-install-recommends `cat pkglist-ros`

echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If what I wrote above is ok this would be not needed.

echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc

sudo apt install python-rosdep
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this go to the pkglist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants