Configuring the ROS
Development Environment
Textbook
P. 22~39
1
Contents
I. ROS Installation
II. ROS Development Environment
III. ROS Operation Test
Textbook
P. 22~39
2
ROS Installation & Test
3
ROS 1 Line Installation (1line is a little longer…)
wget https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_tools/master/install_ros_kinetic.sh
&& chmod 755 ./install_ros_kinetic.sh && bash ./install_ros_kinetic.sh
4
ROS 1 Line Installation (1line is a little longer…)
wget https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_tools/master/install_ros_kinetic.sh
&& chmod 755 ./install_ros_kinetic.sh && bash ./install_ros_kinetic.sh
How about it, easy?
5
ROS Manual Installation
• ROS Installation
• http://wiki.ros.org/kinetic/Installation/Ubuntu
• ROS Environment Setting
• http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
6
ROS Environment Setting
‘ $ nano ~/.bashrc ’ or ‘ $ eb ’
alias eb =‘nano ~/.bashrc'
alias sb ='source ~/.bashrc'
alias cw ='cd ~/catkin_ws'
alias cs ='cd ~/catkin_ws/src'
alias cm ='cd ~/catkin_ws && catkin_make'
source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash
export ROS_MASTER_URI=http://localhost:11311
export ROS_HOSTNAME=localhost
#export ROS_MASTER_URI=http://192.168.1.100:11311
#export ROS_HOSTNAME=192.168.1.100
7
ROS Operation Test
• turtlesim package
roscore
rosrun turtlesim turtlesim_node
rosrun turtlesim turtle_teleop_key
rosrun rqt_graph rqt_graph
8
Integrated Development Environment (IDE)
Available on ROS
9
Integrated Development Environment(IDE) available on ROS
• http://wiki.ros.org/IDEs
• Recommendation 1 : Qtcreator + Qt Creator Plugin for ROS
• Install: sudo apt-get install qtcreator
• Advantage: Can be Used as ‘CmakeLists.txt’, Easy to develop ‘rqt plug-in’ & ‘GUI’
• Recommendation 2 : Visual Studio Code + ROS Extension
• Install: https://code.visualstudio.com/
• Advantage: A light text editor oriented, Fast
• Similar to ‘Atom’, ‘Sublime Text’, ‘Clion’ etc.
• Recommendation 3 : Eclipse
• Install: http://www.eclipse.org/
• Advantage: A familiar IDE that many people use (but, Heavy!)
http://wiki.ros.org/IDEs 10
Integrated Development Environment(IDE) available on ROS
11
Question Time!
Advertisement #1
Download link
Language:
English, Chinese, Japanese, Korean
“ROS Robot Programming”
A Handbook is written by TurtleBot3 Developers
Advertisement #2
AI Research Starts Here
ROS Official Platform
TurtleBot3 is a new generation mobile robot that’s modular, compact and
customizable. Let's explore ROS and create exciting applications for education,
research and product development.
Direct Link
Advertisement #3
www.robotsource.org
The ‘RobotSource’ community is the space for people making robots.
We hope to be a community where we can share knowledge about robots, share
robot development information and experiences, help each other and collaborate
together. Through this community, we want to realize open robotics without disti
nguishing between students, universities, research institutes and companies.
Join us in the Robot community ~
END.