0% found this document useful (0 votes)
90 views16 pages

03 Configuring The ROS Development Environment

The document discusses configuring the ROS development environment. It covers installing ROS through either a one-line installation or manual installation process. It also discusses setting up the ROS environment by editing the bashrc file and setting environment variables. Finally, it provides a test of the ROS operation by running sample turtlesim nodes and graphical tools. Integrated development environments for ROS development include QtCreator, Visual Studio Code, and Eclipse.

Uploaded by

aDun iDei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views16 pages

03 Configuring The ROS Development Environment

The document discusses configuring the ROS development environment. It covers installing ROS through either a one-line installation or manual installation process. It also discusses setting up the ROS environment by editing the bashrc file and setting environment variables. Finally, it provides a test of the ROS operation by running sample turtlesim nodes and graphical tools. Integrated development environments for ROS development include QtCreator, Visual Studio Code, and Eclipse.

Uploaded by

aDun iDei
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

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.

You might also like