The goal of this project is to use the sensors in our snake robots to better estimate their state. By 'state' we mean their pose in the world (position and orientation) and parameters that describe their shape or internal configuration (gait parameters and/or joint angles). This is an important step towards making the snakes autonomous and towards providing better feedback information to a remote operator. The work so far has focused mainly on estimating the robot's orientation in the world by fusing data from the joint encoders, accelerometers and gyros in each module of the snake.
Overall, there are two big themes to this work:
Using the virtual chassis as the body frame for the snake lets us use really simple models to\ accurately describe the motion of the snake over time.
Using gait parameters as the state of the robot:
Virtual Chassis
A significant challenge with snake robots involves repre- senting motion. In particular, defining a body
frame in which to intuitively model external motion in the world is difficult. Since the internal shape
changes that a snake robot uses to locomote involve the entire body, no coordinate frame that is static
with respect to a single point on the robot intuitively represents position and orientation of the
entire robot throughout a complete gait cycle.
To illustrate this problem, consider a simple two-wheeled differential drive robot with a body frame fixed
at the center of the chassis. Remotely operating such a device is an easy task because the controls, which
are provided in the body coordinate frame, map intuitively into a world frame. In the case of highly
articulated mechanisms like the snakes, an operator can still control the snakes with a sense of the
robot’s position and orientation. However, the intuition for this frame lies solely with the operator, and
is drawn from observing the system as a whole rather than a single module. Similarly, we would like to
formally define a body frame that is based on the configuration of the entire system rather than one that
is fixed to some point. Additionally, the separation of the robot’s internal shape changes from its
external motions made possible by this body frame can allow much simpler motion models to accurately
describe the robot’s motion in the world.
The overall method of deriving the virtual chassis can be thought of as performing principal component analysis (PCA) on zero-mean data. Specifically, this is done by taking the singular value decomposition (SVD) of the positions of all of the robot’s modules with respect to the center of mass. Note that this body frame will be different with respect to the frame of the head module (and any other module in the snake) at every point in the gait cycle. What we gain in exchange for this complexity is a body frame that is instead consistent with respect to the overall shape snake across all positions of a gait cycle.
Gait Parameters
The parameterized gaits that we use with our snake robots enable an intuitive mapping between changes in
a handful of parameters and motion of the robot through the environment. Despite having this powerful
low-dimensional control framework for commanding motions for our snake robots, closing the loop using
this framework has proved to be difficult. To generate motions for the robot, at each timestep in the
controller gait parameters are dictated, from which the desired joint angles are generated for the
n-modules of the robot. Each module in the robot contains a low-level controller that tries to drive
its joint angle to the desired angle, and provides feedback on the module's actual joint angle.
The challenge comes in finding an intuitive way to incorporate this low-level feedback into our high-level gait-based control. In a sense, we need to find a way in which the low-level errors of individual joints can 'complain' in a meaningful way to a high-level controller built around gait parameters that specify whole-body motions. Essentially, our work closes the loop by running gait functions the other way - given a set of joint angles, we fit a parameterized gait function that best describes the shape of the robot. We fit gait parameters to the robot's feedback joint angles at each timestep using an extended Kalman filter (EKF). Doing this allows the controller to know the state of the snake in a language that it (and the operator) understands: gait parameters.
Videos
Papers