IEEE Robotics & Automation Magazine - December 2022 - 94

body modules. These modules are used to interact with the
environment to propel the robot, thereby resulting in a highly
complex system with which to be controlled. A biomorphic
approach, i.e., a gait equation [1], [2], is widely used to control
the locomotion of snake-like robots as it can easily mimic
snake-like motions by shaping its body as a sinusoid curve.
The gait equation can be regarded as a process to simplify
parametric representations of snake-like trajectories. Crespi
and Ijspeert adopted a heuristic optimization algorithm to
rapidly adjust the travel speed of an amphibious snake robot
[8]. Tesch et al. used the Bayesian optimization approach to
regulate open-loop gait parameters for snake robots, which
made the robot move faster and more reliably [9]. However,
all these works were confined by the parameterized gait-generation
system and have a very limited effect on further
improving the energy efficiency of a gait. Moreover, this
open-loop method is also time consuming and inefficient
[10] for fine-tuning gait parameters to achieve expected control
objectives.
Gait Optimization With RL-Based Methods
As an intelligent trial-and-error learning method, RL brings
new solutions for free gait-generation tasks without knowing
precise models or prior knowledge. RL technologies were
used to fine-tune parameters for motor skills in a modelbased
manner, which can either be the controllable model of
the system [11] or another abstracted gait generator such as
the central pattern generator (CPG) [12]. Shi et al. [13] developed
a simplified snake-like robot with two actuated joints
and implemented a controller based on a deep Q-network
algorithm. They demonstrated that their method could produce
meaningful gaits. Similar to the concept in [14], Liu et al.
proposed an RL-based controller to modulate the activity of a
CPG controller for generating goal-reaching and tracking
behaviors for a soft, snake-like robot in simulations [15].
Chatterjee et al. proposed a policy-improvement method to
choose different control parameters for a snake-like robot
with screw-drive units [16]. Sartoretti et al. presented an
RL-based approach to adapt the shape parameters of a snakelike
robot in response to external sensing [17].
Sim-to-Real Transfer
To narrow simulation-reality gaps, researchers have attempted
to improve simulation fidelity by building up accurate models
and refine them using real data. For instance, to match the
performance of the real system, an actuator can be modeled
and refined using its real data [18]. Researchers have also
worked on improving the robustness of a learned policy to
variations of system properties and perception information,
thereby enabling it to be feasible and adaptive in real-world
systems [19]. The task to transfer a policy learned from simulation
to the real world is treated as an instance of domain
adaption, where the source domain (simulation) is modeled
as close as possible to the target domain (real world) [7].
Robotic arms are the most common agents to deploy learned
policy from simulations as the kinematics and dynamics can
94 * IEEE ROBOTICS & AUTOMATION MAGAZINE * DECEMBER 2022
be accurately modeled. Christiano et al. controlled a robotic
arm using learned policy from simulation, of which the
inverse dynamics (from observations to actions) of that robot
was learned from the data generated by the forward dynamics
(from actions to observations) in simulations [20].
Domain randomization is another technique for sim-toreal
transfer based on the introduction of higher variance in
the domain-specific-but task-irrelevant-features of the
training data. Peng et al. propose introducing variability in the
dynamics of the simulation by sampling values for strategic
features (e.g., friction, mass, and damping coefficients) during
the training phase [21]. They argued that although modeling
the simulation in accordance with the real environment is
important for the sim-to-real policy transfer, a complete and
accurate model is often impossible due to many reasons, such
as unforeseen forces, left-out environmental characteristics,
calibration issues, and so on. In the meantime, Wulfmeier et al.
argued that an unfavorable domain in randomization can lead
to poor performance of the policy that is transferred from simulation
[22]. They proposed another idea to tackle systematic
model discrepancies: aligning the distributions over visited
states between the simulated and the real-world agent. They
demonstrated their argument by performing experiments
between two simulations with either different parameterizations
or completely different simulation engines to create situations
of misaligned and unknown system dynamics.
Robot and Model
Snake-Like Robot
Our planar snake-like robot adopts a modularized design
manner, which consists of eight identical actuated body modules
and one head module to slither forward (see Figure 1).
Each module is connected to the adjacent module by an actuated
joint, which can rotate 90° in both the left and right
directions. Each body module is composed of an actuation
system, the control system, housing components, and a pair
of passive wheels to imitate the anisotropic friction property
of the snake skin. The actuation system consists of a servo,
gearbox, and an angular sensor to feed back the angular position
of the output joint. The dc servo has a maximum torque
of 12.8 Kg cm and drives a gearbox with a reduction factor of
3.71. The angular sensor is a Hall effect encoder that is used
to measure the angular position of the output shaft of each
module. The control system is a customized STM32 microcontroller.
The STM32 runs three tasks: controlling the servo,
reading the joint angle, and communicating with the other
modules. A real-time operation system is executed on the
control system, and the control loop is set as 20 Hz. Table 1
summarizes the technical specifications of the robot.
Simulation Model
We model the snake-like robot as close as the real-world
counterpart and simulate it in Multi-Joint dynamics with
Contact (MuJoCo). As the fundamental component of a
motion's behavior, the dynamic model plays a great role in

IEEE Robotics & Automation Magazine - December 2022

Table of Contents for the Digital Edition of IEEE Robotics & Automation Magazine - December 2022

Contents
IEEE Robotics & Automation Magazine - December 2022 - Cover1
IEEE Robotics & Automation Magazine - December 2022 - Cover2
IEEE Robotics & Automation Magazine - December 2022 - Contents
IEEE Robotics & Automation Magazine - December 2022 - 2
IEEE Robotics & Automation Magazine - December 2022 - 3
IEEE Robotics & Automation Magazine - December 2022 - 4
IEEE Robotics & Automation Magazine - December 2022 - 5
IEEE Robotics & Automation Magazine - December 2022 - 6
IEEE Robotics & Automation Magazine - December 2022 - 7
IEEE Robotics & Automation Magazine - December 2022 - 8
IEEE Robotics & Automation Magazine - December 2022 - 9
IEEE Robotics & Automation Magazine - December 2022 - 10
IEEE Robotics & Automation Magazine - December 2022 - 11
IEEE Robotics & Automation Magazine - December 2022 - 12
IEEE Robotics & Automation Magazine - December 2022 - 13
IEEE Robotics & Automation Magazine - December 2022 - 14
IEEE Robotics & Automation Magazine - December 2022 - 15
IEEE Robotics & Automation Magazine - December 2022 - 16
IEEE Robotics & Automation Magazine - December 2022 - 17
IEEE Robotics & Automation Magazine - December 2022 - 18
IEEE Robotics & Automation Magazine - December 2022 - 19
IEEE Robotics & Automation Magazine - December 2022 - 20
IEEE Robotics & Automation Magazine - December 2022 - 21
IEEE Robotics & Automation Magazine - December 2022 - 22
IEEE Robotics & Automation Magazine - December 2022 - 23
IEEE Robotics & Automation Magazine - December 2022 - 24
IEEE Robotics & Automation Magazine - December 2022 - 25
IEEE Robotics & Automation Magazine - December 2022 - 26
IEEE Robotics & Automation Magazine - December 2022 - 27
IEEE Robotics & Automation Magazine - December 2022 - 28
IEEE Robotics & Automation Magazine - December 2022 - 29
IEEE Robotics & Automation Magazine - December 2022 - 30
IEEE Robotics & Automation Magazine - December 2022 - 31
IEEE Robotics & Automation Magazine - December 2022 - 32
IEEE Robotics & Automation Magazine - December 2022 - 33
IEEE Robotics & Automation Magazine - December 2022 - 34
IEEE Robotics & Automation Magazine - December 2022 - 35
IEEE Robotics & Automation Magazine - December 2022 - 36
IEEE Robotics & Automation Magazine - December 2022 - 37
IEEE Robotics & Automation Magazine - December 2022 - 38
IEEE Robotics & Automation Magazine - December 2022 - 39
IEEE Robotics & Automation Magazine - December 2022 - 40
IEEE Robotics & Automation Magazine - December 2022 - 41
IEEE Robotics & Automation Magazine - December 2022 - 42
IEEE Robotics & Automation Magazine - December 2022 - 43
IEEE Robotics & Automation Magazine - December 2022 - 44
IEEE Robotics & Automation Magazine - December 2022 - 45
IEEE Robotics & Automation Magazine - December 2022 - 46
IEEE Robotics & Automation Magazine - December 2022 - 47
IEEE Robotics & Automation Magazine - December 2022 - 48
IEEE Robotics & Automation Magazine - December 2022 - 49
IEEE Robotics & Automation Magazine - December 2022 - 50
IEEE Robotics & Automation Magazine - December 2022 - 51
IEEE Robotics & Automation Magazine - December 2022 - 52
IEEE Robotics & Automation Magazine - December 2022 - 53
IEEE Robotics & Automation Magazine - December 2022 - 54
IEEE Robotics & Automation Magazine - December 2022 - 55
IEEE Robotics & Automation Magazine - December 2022 - 56
IEEE Robotics & Automation Magazine - December 2022 - 57
IEEE Robotics & Automation Magazine - December 2022 - 58
IEEE Robotics & Automation Magazine - December 2022 - 59
IEEE Robotics & Automation Magazine - December 2022 - 60
IEEE Robotics & Automation Magazine - December 2022 - 61
IEEE Robotics & Automation Magazine - December 2022 - 62
IEEE Robotics & Automation Magazine - December 2022 - 63
IEEE Robotics & Automation Magazine - December 2022 - 64
IEEE Robotics & Automation Magazine - December 2022 - 65
IEEE Robotics & Automation Magazine - December 2022 - 66
IEEE Robotics & Automation Magazine - December 2022 - 67
IEEE Robotics & Automation Magazine - December 2022 - 68
IEEE Robotics & Automation Magazine - December 2022 - 69
IEEE Robotics & Automation Magazine - December 2022 - 70
IEEE Robotics & Automation Magazine - December 2022 - 71
IEEE Robotics & Automation Magazine - December 2022 - 72
IEEE Robotics & Automation Magazine - December 2022 - 73
IEEE Robotics & Automation Magazine - December 2022 - 74
IEEE Robotics & Automation Magazine - December 2022 - 75
IEEE Robotics & Automation Magazine - December 2022 - 76
IEEE Robotics & Automation Magazine - December 2022 - 77
IEEE Robotics & Automation Magazine - December 2022 - 78
IEEE Robotics & Automation Magazine - December 2022 - 79
IEEE Robotics & Automation Magazine - December 2022 - 80
IEEE Robotics & Automation Magazine - December 2022 - 81
IEEE Robotics & Automation Magazine - December 2022 - 82
IEEE Robotics & Automation Magazine - December 2022 - 83
IEEE Robotics & Automation Magazine - December 2022 - 84
IEEE Robotics & Automation Magazine - December 2022 - 85
IEEE Robotics & Automation Magazine - December 2022 - 86
IEEE Robotics & Automation Magazine - December 2022 - 87
IEEE Robotics & Automation Magazine - December 2022 - 88
IEEE Robotics & Automation Magazine - December 2022 - 89
IEEE Robotics & Automation Magazine - December 2022 - 90
IEEE Robotics & Automation Magazine - December 2022 - 91
IEEE Robotics & Automation Magazine - December 2022 - 92
IEEE Robotics & Automation Magazine - December 2022 - 93
IEEE Robotics & Automation Magazine - December 2022 - 94
IEEE Robotics & Automation Magazine - December 2022 - 95
IEEE Robotics & Automation Magazine - December 2022 - 96
IEEE Robotics & Automation Magazine - December 2022 - 97
IEEE Robotics & Automation Magazine - December 2022 - 98
IEEE Robotics & Automation Magazine - December 2022 - 99
IEEE Robotics & Automation Magazine - December 2022 - 100
IEEE Robotics & Automation Magazine - December 2022 - 101
IEEE Robotics & Automation Magazine - December 2022 - 102
IEEE Robotics & Automation Magazine - December 2022 - 103
IEEE Robotics & Automation Magazine - December 2022 - 104
IEEE Robotics & Automation Magazine - December 2022 - 105
IEEE Robotics & Automation Magazine - December 2022 - 106
IEEE Robotics & Automation Magazine - December 2022 - 107
IEEE Robotics & Automation Magazine - December 2022 - 108
IEEE Robotics & Automation Magazine - December 2022 - 109
IEEE Robotics & Automation Magazine - December 2022 - 110
IEEE Robotics & Automation Magazine - December 2022 - 111
IEEE Robotics & Automation Magazine - December 2022 - 112
IEEE Robotics & Automation Magazine - December 2022 - 113
IEEE Robotics & Automation Magazine - December 2022 - 114
IEEE Robotics & Automation Magazine - December 2022 - 115
IEEE Robotics & Automation Magazine - December 2022 - 116
IEEE Robotics & Automation Magazine - December 2022 - 117
IEEE Robotics & Automation Magazine - December 2022 - 118
IEEE Robotics & Automation Magazine - December 2022 - 119
IEEE Robotics & Automation Magazine - December 2022 - 120
IEEE Robotics & Automation Magazine - December 2022 - 121
IEEE Robotics & Automation Magazine - December 2022 - 122
IEEE Robotics & Automation Magazine - December 2022 - 123
IEEE Robotics & Automation Magazine - December 2022 - 124
IEEE Robotics & Automation Magazine - December 2022 - 125
IEEE Robotics & Automation Magazine - December 2022 - 126
IEEE Robotics & Automation Magazine - December 2022 - 127
IEEE Robotics & Automation Magazine - December 2022 - 128
IEEE Robotics & Automation Magazine - December 2022 - 129
IEEE Robotics & Automation Magazine - December 2022 - 130
IEEE Robotics & Automation Magazine - December 2022 - 131
IEEE Robotics & Automation Magazine - December 2022 - 132
IEEE Robotics & Automation Magazine - December 2022 - 133
IEEE Robotics & Automation Magazine - December 2022 - 134
IEEE Robotics & Automation Magazine - December 2022 - 135
IEEE Robotics & Automation Magazine - December 2022 - 136
IEEE Robotics & Automation Magazine - December 2022 - 137
IEEE Robotics & Automation Magazine - December 2022 - 138
IEEE Robotics & Automation Magazine - December 2022 - 139
IEEE Robotics & Automation Magazine - December 2022 - 140
IEEE Robotics & Automation Magazine - December 2022 - 141
IEEE Robotics & Automation Magazine - December 2022 - 142
IEEE Robotics & Automation Magazine - December 2022 - 143
IEEE Robotics & Automation Magazine - December 2022 - 144
IEEE Robotics & Automation Magazine - December 2022 - 145
IEEE Robotics & Automation Magazine - December 2022 - 146
IEEE Robotics & Automation Magazine - December 2022 - 147
IEEE Robotics & Automation Magazine - December 2022 - 148
IEEE Robotics & Automation Magazine - December 2022 - 149
IEEE Robotics & Automation Magazine - December 2022 - 150
IEEE Robotics & Automation Magazine - December 2022 - 151
IEEE Robotics & Automation Magazine - December 2022 - 152
IEEE Robotics & Automation Magazine - December 2022 - 153
IEEE Robotics & Automation Magazine - December 2022 - 154
IEEE Robotics & Automation Magazine - December 2022 - 155
IEEE Robotics & Automation Magazine - December 2022 - 156
IEEE Robotics & Automation Magazine - December 2022 - 157
IEEE Robotics & Automation Magazine - December 2022 - 158
IEEE Robotics & Automation Magazine - December 2022 - 159
IEEE Robotics & Automation Magazine - December 2022 - 160
IEEE Robotics & Automation Magazine - December 2022 - 161
IEEE Robotics & Automation Magazine - December 2022 - 162
IEEE Robotics & Automation Magazine - December 2022 - 163
IEEE Robotics & Automation Magazine - December 2022 - 164
IEEE Robotics & Automation Magazine - December 2022 - Cover3
IEEE Robotics & Automation Magazine - December 2022 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2023
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2022
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2021
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2020
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2019
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2018
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2017
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2016
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2015
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2014
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2013
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2012
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_june2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_march2011
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_december2010
https://www.nxtbook.com/nxtbooks/ieee/roboticsautomation_september2010
https://www.nxtbookmedia.com