Professional Documents
Culture Documents
Turtlebot 2 Autonomous Navigation Under The Virtual World Gazebo
Turtlebot 2 Autonomous Navigation Under The Virtual World Gazebo
net/publication/322656676
CITATIONS READS
0 1,105
3 authors:
Denis Pomorski
Université de Lille
116 PUBLICATIONS 818 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Zennir Youcef on 25 August 2020.
Abstract — In this paper we use the simulated version of intervention of human being whose role is limited to
Turtlebot 2, mobile wheeled robot composed of two supervision [1] [2]. Autonomous navigation requires a
differential wheels, under Gazebo world. We choose this number of heterogeneous capabilities, including the ability to
kind of robot because of its simpler architecture which execute elementary goal-achieving actions, like reaching a
makes it possible to study its own navigation. The purpose given location; to react in real time to unexpected events, like
of this study is to release an autonomous navigation; we the sudden appearance of an obstacle; to build, use and
have planned as a first step different trajectories and try maintain a map of the environment; to determine the robot's
to follow them. Our navigation strategy is based on its position with respect to this map; to form plans that pursue
odometer information, according to the robot positions specific goals or avoid undesired situations; and to adapt to
and orientation errors. Velocities commands are sent to changes in the environment [3]. An autonomous navigation
make the robot follow the chosen trajectory. system consists of three main steps: Environment perception
Keywords — autonomous navigation; Gazebo environment; and localization, trajectory planning and robot control as
trajectory following; Turtlebot 2. shown in the following figure.
I. INTRODUCTION
Nowadays, the use of robotics is widespread,
encompassing the different areas of life, which are found
everywhere in homes, in the fields, at the bottom of the sea,
in space especially in industrial zones like industrial robot
manipulators, whose main objective is to facilitate worker
tasks, increase productivity while preserving human and
material safety within these hazardous environments.
As the progress in this area is continuous and progressive,
the major challenge facing the industrial world is how to
benefit of this progress and integrate mobile robots to move Fig. 1. Autonomous navigation system.
products, especially in places that threaten the lives of
workers such as chemistry laboratories, therefore improved A. Navigation strategies
control of autonomous robots navigation is required, in this
Diverse mobile robot navigation strategies are adopted to
context this study has been proposed.
allow mobile robot to move, avoid obstacles and reach the
In this paper, we are going to realize a planned navigation goal, Trullier et al have classified them into five categories
of the differential wheeled mobile robot, Turtlebot 2 [4]:
simulated under Gazebo environment, by a speeds command
1) Approach of an object: This basic capacity makes it
to control the robot positions compared of the trajectory
possible to move towards a visible object from the current
followed, wishing to achieve our desired objective in future
works. position of the robot. It is generally performed by a gradient
rise based on the perception of the object. This strategy uses
II. AUTONOMOUS MOBILE ROBOTS NAVIGATION reflex actions, in which each perception is directly associated
Autonomous systems are systems that develop, for with an action.
themselves, the laws and strategies according to which they 2) Guidance: This ability seems to be used by certain
regulate their behavior: they are self-governing as well as insects; it allows to reaches a goal that is not a directly visible
self-regulating. Therefore, autonomous mobile robots material object but a point of space characterized by the
navigation means that these robots have the ability to spatial configuration of a set of remarkable objects. This
navigate automatically by their own selves without the strategy also uses reflex actions.
The International Conference on Advanced Engineering in Petrochemical Industry (ICAEPI’17)
November 28-30, 2017, Skikda, Algeria.
3) Action associated with a location: This strategy makes Map-based positioning often includes improving global maps
it possible to reach a goal from positions for which this goal based on the new sensory observations in a dynamic
or the landmarks that characterize its location are invisible. It environment and integrating local maps into the global map
requires an internal representation of the environment which to cover previously unexplored areas. The maps used in
consists of defining places as zones of space in which navigation include two major types: Geometric maps and
perceptions remain similar, and associating an action to be topological maps. Geometric maps represent the world in a
performed at each of these places. The sequence of actions global coordinate system, while topological maps represent
defines a road that allows reaching the goal. the world as a network of nodes and arcs [3].
4) Topological navigation: It is an extension of the C. Reactive Navigation
previous strategy which memorizes in the internal model the Reactive navigation differs from planned navigation in
spatial relations between the different places. These that, while a mission is assigned or a goal location is known,
relationships indicate the possibility of moving from one the robot does not plan its path but rather navigates itself by
place to another. Therefore the internal model is a graph that reacting to its immediate environment in real time. Reactive
makes it possible to calculate different paths between two methods share a number of important features:
arbitrary places. This model, however, allows only the First, sensors are tightly coupled to actuators
planning of displacements among the known places and through fairly simple computational mechanisms.
following the known paths.
Second, complexity is managed by decomposing the
5) Metric navigation: This strategy allows the robot to
problem according to tasks rather than functions [3].
plan paths within unexplored areas of its environment. It In this paper we use the Turtlebot 2 robot simulated in
memorizes for this the relative metric positions of the Gazebo to make a planned autonomous navigation; we
different places, in addition to the possibility of passing from represent as a first step different trajectories and try to follow
one to the other. By simple composition of vectors these them.
relative positions can calculate a trajectory, going from one
place to another, even if the possibility of this displacement III. ROBOT DESCRIPTION
has not been memorized in the link form. The TurtleBot 2 is one of the non-holonomic robots
B. Systems and Methods for mobile robot navigation officially proposed by Willow Garage to develop in the
operating system dedicated to robotics: ROS. It is equipped
1) Odometry and Other Dead-Reckoning Methods: with a Kinect sensor, a Netbook, trays for the installation of
Odometry is one of the most commonly adopted navigation these two components and a Kobuki base as shown in
methods for mobile robot positioning. This method uses figure 1.
encoders to measure wheel rotation and/or steering
orientation. It provides good short-term accuracy, an
inexpensive facility, and allows high sampling rates.
2) Inertial Navigation: This method uses gyroscopes and
sometimes accelerometers to measure rate of rotation and
acceleration. Measurements are integrated once (or twice) to
yield position. Inertial sensors are thus unsuitable for accurate
positioning over an extended period of time.
3) Active Beacon Navigation Systems: This method
computes the absolute position of the robot from measuring
the direction of incidence of three or more actively
transmitted beacons. The transmitters, usually using light or Fig. 2. Components of Turtlebot 2.
radio frequencies must be located at known sites in the
environment. The Kobuki base is a mobile wheeled robot with two
4) Landmark Navigation: In this method distinctive differential wheels and a castor wheel, it also contains
artificial landmarks are placed at known locations in the proximity sensors, encoders on the wheels and a gyrometer
environment. The advantage of artificial landmarks is that for each axis [5].
they can be designed for optimal detectability even under The Turtlebot 2 is moved by the following model: We
adverse environmental conditions. but this approach is consider that (𝑋, 𝑌) is the global coordinate system and (𝑋𝑅,
computationally intensive and not very accurate. 𝑌𝑅) is the local coordinate system of the robot. The position
5) Map-based Positioning: In this method information of the robot P(𝑥, 𝑦, θ) is represented in Cartesian coordinates
acquired from the robot's onboard sensors is compared to a in the global coordinate system.
map or world model of the environment. If features from the
sensor-based map and the world model map match, then the The relationship between the robot frame and the global
vehicle's absolute location can be estimated. frame is given by the basic transformation matrix:
The International Conference on Advanced Engineering in Petrochemical Industry (ICAEPI’17)
November 28-30, 2017, Skikda, Algeria.
cosθ sinθ 0
𝑅(θ) = [−sinθ cosθ 0]
0 0 1
The figure below shows the relationship between the two
frames.
Fig. 4. Turtlebot 2 position and orientation error vectors.
Y
The robot Cartesian is given by:
YR XR 𝑥̇ = 𝑣 cos θ
{ 𝑦̇ = 𝑣 sin θ (4)
ϴ
y θ̇ = 𝑤
Where x, y and θ are measured relative to the global
frame.
The robot position can also be represented by the polar
X coordinates with a distance error 𝜌>0:
x ρ̇ = −𝑣 cos(β − θ) = −𝑣 cos α
sin α
Fig. 3. Turtlebot 2 representation in a Cartesian coordinate system. { β̇ = 𝑣 (5)
ρ
ρ
YR XR
α
ϴ
Current position (P)
The International Conference on Advanced Engineering in Petrochemical Industry (ICAEPI’17)
November 28-30, 2017, Skikda, Algeria.
𝑣 = K ρ ρ cos α avec K ρ > 0
{ 𝑉1̇ = ρ (− K ρ ρ cos 2 α) 𝑥 = 9. (cos(2𝑡) + 1) . cos(𝑡)
{ (18)
𝑦 = 9. (cos(2𝑡) + 1) . sin(𝑡)
𝑉1̇ = − K ρ ρ cos α ≤ 0 2 2
Circle trajectory:
(11)
𝑥 = 18. cos(𝑡)
This means that the term 𝑉1̇ is always non-increasing over {
𝑦 = 18. sin(𝑡)
(19)
time, therefore it converges asymptotically to a non-negative
finite limit. Likewise, the second term can be non-positive Ellipse trajectory:
𝑥=𝑡
thus the angular velocity is put in the form: {𝑦 = 𝑥 2 − 19 (20)
𝑤 = K ρ sin α cos α + 𝐾𝛼 with 𝐾𝛼 > 0 (12)
𝑥 = 18. (cos(2𝑡) − 1) . cos(𝑡)
K ρ sin α cos α { (21)
𝑉2̇ = α ( −K ρ sin α cos α − 𝐾𝛼 α − ρ ) (13) 𝑦 = 18. (cos(−2𝑡) + 1) . sin(𝑡)
ρ
𝑣 = K ρ ρ cos α
{ (16)
𝑤 = K ρ sin α cos α + 𝐾𝛼 α
A. Infinite trajectory
Reference Turtlebot motion (𝒗, 𝒘)
trajectory controller Trajectory following
Turtlebot The following figure shows the Turtlebot 2 follows the
desired trajectory:
(𝒙𝒄 , 𝒚𝒄 , 𝜽𝒄 )
Fig. 8. Turtlebot 2 follows the infinite trajectory. Fig. 11. Ellipse trajectory following by Turtlebot 2.
Trajectory tracing
The following figure shows the Turtlebot tracing the
trajectory during its navigation:
B. Circle trajectory