Terrestrial animals often must self-right from an upside-down orientation on the ground to survive. Here, we compared self-righting strategies of the Madagascar hissing, American and discoid cockroaches on a challenging flat, rigid, low-friction surface to quantify the mechanical principles. All three species almost always self-righted (97% probability) when given time (30 s), frequently self-righted (63%) on the first attempt, and on that attempt did so in 1 s or less. When successful, two of the three species gained and used pitch and/or roll rotational kinetic energy to overcome potential energy barriers (American 63% of all attempts and discoid 78%). By contrast, the largest, heaviest, wingless cockroach (Madagascar hissing) relied far less on the energy of motion and was the slowest to self-right. Two of the three species used rolling strategies to overcome low potential energy barriers. Successful righting attempts had greater rolling rotation than failed attempts as the center of mass rose to the highest position. Madagascar hissing cockroaches rolled using body deformation (98% of all trials) and the American cockroach rolled using leg forces (93%). By contrast, the discoid cockroach overcame higher and a wider range of potential energy barriers with simultaneous pitching and rolling using the wings (46% of all trials) and legs (49%) equally to self-right. Our quantification revealed the performance advantages of using rotational kinetic energy to overcome the potential energy barrier and rolling more to lower it, while maintaining diverse strategies for ground-based self-righting.

Righting oneself from upside down on the ground is a prevalent locomotor transition that many animals must perform to survive. Even on flat, level ground with high friction, legged locomotion can induce large pitch and roll moments (Ting et al., 1994) that can result in overturning. During locomotion in complex terrain with inclinations (Minetti et al., 2002), uneven topology (Chiari et al., 2017; Daley and Biewener, 2006; Sponberg and Full, 2008), low friction (Clark and Higham, 2011), uncertain contact (Spagna et al., 2007), flowable ground (Li et al., 2012) and cluttered obstacles (Li et al., 2015, 2017), overturning is even more likely. Other forms of terrestrial locomotion such as jumping (Faisal and Matheson, 2001; Libby et al., 2012) and climbing (Jusufi et al., 2008), as well as flying (Faisal and Matheson, 2001) and swimming (Vosatka, 1970), can suffer instability and loss of body control resulting in overturning. Non-locomotor behaviors such as fighting and courtship can also produce overturning (Mann et al., 2006; Willemsen and Hailey, 2003). Under these circumstances, animals must be able to self-right promptly to avoid predation, starvation and dehydration, as well as to sense, locomote and reproduce.

Small animals like insects are particularly susceptible to overturning, because they are more sensitive to perturbations resulting from small body inertia (Walter and Carrier, 2002) and terrain irregularities that are negligible to larger animals (Kaspari and Weiser, 1999). Ground-based self-righting has been studied in many insect species, including beetles (Evans, 1973; Frantsevich, 2004; Frantsevich and Mokrushov, 1980), cockroaches (Camhi, 1977; Delcomyn, 1987; Full et al., 1995; Reingold and Camhi, 1977; Sherman et al., 1977; Zill, 1986), stick insects (Graham, 1979), locusts (Faisal and Matheson, 2001) and springtails (Brackenbury, 1990). Many self-righting strategies have been described (Brackenbury, 1990; Camhi, 1977; Evans, 1973; Faisal and Matheson, 2001; Frantsevich, 2004; Full et al., 1995; Zill, 1986), including: (1) using appendages (legs, wings, tail and antennae) and head to grasp, pivot, push or pull; (2) deforming the body; and (3) jumping with elastic energy storage and release. Some insects use multiple strategies and transition among them to self-right (Frantsevich, 2004). In addition, insects can use diverse body rotation including pitching, diagonal rotations (simultaneous pitching and rolling) and rolling (Brackenbury, 1990; Camhi, 1977; Delcomyn, 1987; Evans, 1973; Frantsevich, 2004; Frantsevich and Mokrushov, 1980; Full et al., 1995; Reingold and Camhi, 1977; Sherman et al., 1977; Zill, 1986). Furthermore, neural control and motor patterns of self-righting have been investigated in a variety of insect species (Camhi, 1977; Delcomyn, 1987; Faisal and Matheson, 2001; Frantsevich and Mokrushov, 1980; Graham, 1979; Reingold and Camhi, 1977; Sherman et al., 1977; Zill, 1986). Although these strategies have been well described, the mechanical principles of ground-based self-righting of small animals remain less understood. Here, we quantified the performance and body rotation of self-righting cockroaches and modeled the mechanical challenges to gain insight into what governs a small animal's use of various strategies and body rotation.

Previous observations and modeling in turtles have provided insight into the mechanics of how body and appendage morphology affects ground-based self-righting of larger animals (Ashe, 1970; Domokos and Várkonyi, 2008). Ground-based self-righting is the change of body orientation during which the body overcomes gravitational potential energy barriers (Domokos and Várkonyi, 2008). Based on this concept, a planar geometric model explained how shell shape and appendage length together determine whether turtles use active or passive strategies to self-right in the transverse plane (Domokos and Várkonyi, 2008). Turtles primarily rely on passive rotations of unstable shells and/or active, quasi-static pushing of their necks and legs to overcome large, primary potential energy barriers. To assist self-righting, turtles also use head and leg bobbing to gain modest amounts of rotational kinetic energy to overcome small, secondary potential energy barriers (Domokos and Várkonyi, 2008). In addition, the dependence of potential energy barriers on body rotation explained why many turtles almost always self-right via body rolling in the transverse plane on level, flat surfaces (Domokos and Várkonyi, 2008; Malashichev, 2016; Rubin et al., 2018; Stancher et al., 2006). Turtles have shells longer in the fore–aft than in the lateral direction, so body pitching overcomes higher potential energy barriers than body rolling does. Because turtles cannot gain sufficient body rotational kinetic energy to overcome the large potential energy barriers required for self-righting using pitching, they roll to self-right.

Here, inspired by these insights, we took the next step in understanding the mechanical principles of ground-based self-righting of small animals. First, we hypothesized that small insects' self-righting strategies can be dynamic, being able to gain and use pitch and/or roll rotational kinetic energy to overcome primary potential energy barriers. Dynamic behavior is plausible because many insects like cockroaches and beetles are capable of rapid locomotion and generating large impulses relative to body weight (Koditschek et al., 2004; Sponberg and Full, 2008; Ting et al., 1994; Zurek and Gilbert, 2014). Second, we hypothesized that, given the diverse three-dimensional body rotations possible, insects roll more when they succeed in self-righting than when they fail because increased rolling lowers potential energy barriers.

To test our hypotheses, we studied self-righting on a flat, rigid, low-friction surface of three species of cockroaches, the Madagascar hissing cockroach [Gromphadorhina portentosa (Schaum 1853)], the American cockroach [Periplaneta americana (Linnaeus 1758)] and the discoid cockroach (Blaberus discoidalis Audinet-Serville 1839), which differ in body size, body shape, leg length and availability of wings (Fig. 1). The selection of multiple species (Chiari et al., 2017; Domokos and Várkonyi, 2008) from a common super order (Dictyoptera) (Bell et al., 2007) enabled us to observe a greater number of strategies and body rotations, but with phylogenetic control that allows comparison. We used high-speed imaging to measure the animals' self-righting performance and body rotation. We used a locomotor transition ethogram analysis to quantify probability distribution of and transitions between self-righting strategies. We developed a simple geometric model to examine how the animal body moved to overcome barriers on a potential energy landscape. We compared successful and failed attempts to reveal what factors among body deformation and body and appendage behaviors contributed to successful self-righting (Rubin et al., 2018).

Fig. 1.

Interspecies comparison of body and appendage morphology and definition of digitized markers and variables. (A) Madagascar hissing cockroach. (B) American cockroach. (C) Discoid cockroach. The animals are scaled to the same width in top and front views to illustrate differences in body elongation and flatness (Table 1). The body shape of each species is well approximated by an ellipsoid, with length, width and thickness of 2a, 2b and 2c, respectively. The four colored points in the top view are the four digitized markers. (D,E) Schematic diagrams of a self-righting animal, showing the four digitized markers – head (H), abdomen (A), left (L), right (R) – and definitions of body pitch (β), body roll (γ), body flexion (θ), head twisting (φH) and abdomen twisting (φA). A′ and L′ are downward projections of A and L to the same height levels of H and R, respectively. M is a point midway between L and R. is the plane normal of the estimated sagittal plane. H″ and A″ are projections of H and A into the sagittal plane. In the example shown (discoid cockroach using wings), the body is flexing, the head is twisting to the right and the abdomen is twisting to the left.

Fig. 1.

Interspecies comparison of body and appendage morphology and definition of digitized markers and variables. (A) Madagascar hissing cockroach. (B) American cockroach. (C) Discoid cockroach. The animals are scaled to the same width in top and front views to illustrate differences in body elongation and flatness (Table 1). The body shape of each species is well approximated by an ellipsoid, with length, width and thickness of 2a, 2b and 2c, respectively. The four colored points in the top view are the four digitized markers. (D,E) Schematic diagrams of a self-righting animal, showing the four digitized markers – head (H), abdomen (A), left (L), right (R) – and definitions of body pitch (β), body roll (γ), body flexion (θ), head twisting (φH) and abdomen twisting (φA). A′ and L′ are downward projections of A and L to the same height levels of H and R, respectively. M is a point midway between L and R. is the plane normal of the estimated sagittal plane. H″ and A″ are projections of H and A into the sagittal plane. In the example shown (discoid cockroach using wings), the body is flexing, the head is twisting to the right and the abdomen is twisting to the left.

Table 1.

Sample size and morphological measurements

Sample size and morphological measurements
Sample size and morphological measurements

Animals

We used six Madagascar hissing cockroaches, seven American cockroaches and seven discoid cockroaches. We used adult males because females were often gravid and under different load-bearing conditions. Prior to experiments, we kept the cockroaches in individual plastic containers at room temperature (28°C) on a 12 h:12 h light:dark cycle and provided water and food (fruit and dog chow) ad libitum. See Table 1 for animal body mass and body and leg dimensions.

The Madagascar hissing and American cockroaches are both relatively elongate and have similar body aspect ratios (body length versus body width versus body thickness) (Table 1, Fig. 1A,B). By contrast, the discoid cockroach is less elongate (ANOVA, P<0.05) and flatter (ANOVA, P<0.05) (Table 1, Fig. 1C). The American and discoid cockroaches have wings, whereas the Madagascar hissing cockroaches are wingless.

Experimental setup and protocol

We used a low-friction, level, flat, rigid surface as the righting arena. The surface was covered with low-friction cardstock, with static friction coefficient µ=0.10±0.01 (mean±1 s.d.) between the ground and dorsal surface of the animal body (measured by the inclined plane method). Side walls around the arena prevented animals from escaping. Four 500 W work lights above and three fluorescent lights around the righting arena provided lighting for the high-speed cameras. The temperature during experiments was 36.5°C. Two webcams (Logitech C920) recorded the entire duration of the experiments from top and side views at 30 frames s−1. Four synchronized high-speed cameras (AOS and Fastec) recorded up to 30 s of each trial from four sides of the arena at 250 frames s−1 and 800×600 resolution.

For every trial, we held the animal in an upside-down orientation by grasping the edges of its pronotum and gently released it from a small height (<0.5 cm) above the center of the area. The small drop was to ensure that the animal did not begin leg searching, a common strategy used for self-righting, before it was set upside down on the ground. From high-speed videos, we verified that kinetic energy from the small drop dissipated so that the animal was stationary before it initiated the self-righting response. If the animal did not right within 30 s, it was picked up and placed back into its container to rest. We tested all individuals of all three species by alternating individuals and species to ensure sufficient time (>10 min) for each individual to rest between trials to minimize the effect of fatigue (Camhi, 1977).

Sample size

Excluding trials in which the animals touched the side walls when attempting to self-right, we collected a total of 176 trials from a total of 20 individuals from the three species of cockroaches, with approximately 9 trials from each individual. Because the animal often needed more than one attempt to self-right, from the 176 trials, we identified a total of 378 attempts (see definition below), including 168 successful attempts and 210 failed attempts. See Table 1 for details of sample size.

Definition of attempts

Because the animal was allowed up to 30 s for each trial, much longer than the duration of a typical self-righting attempt (Fig. S1A), the animal could make more than one attempt in a trial. Thus, for each trial, we observed the videos to record how many attempts the animal made and whether each attempt was successful, and measured the duration of each attempt.

We defined an attempt as the entire process during which the animal moved its body and appendages to eventually generate a pitching and/or rolling motion, because change in body yaw did not contribute to self-righting. We separated two consecutive attempts by when the animal returned to an upside-down orientation between the two pitching and/or rolling motions. By this definition, each failed attempt included not only the duration of the body pitching and/or rolling motion but also the duration prior to it during which the body and appendages moved to generate the attempt. We note that attempts by this definition may and often do include multiple movement cycles of wing opening/closing or leg pushing or flailing, which often occur at higher frequencies than body pitching and/or rolling motion. We did not use wing or leg motion to define attempts because they do not necessarily generate body pitching or rolling, which are defining features towards self-righting.

We then separated attempts into successful and failed ones depending on whether they resulted in self-righting. Each trial could have up to one successful attempt preceded by zero to several failed attempts.

Performance analysis

For each trial, we recorded whether the animal succeeded in self-righting within 30 s. We also recorded whether the animal succeeded in self-righting on the first attempt of each trial. For each successful trial, we recorded the total number of attempts it took the animal to self-right. We measured total self-righting time, defined as the duration from the instant the animal's dorsal surface touched the surface in an upside-down orientation to the instant when all its six legs touched the ground after the body became upright. We also measured successful attempt time, defined as the duration of the successful attempt of each successful trial. We calculated the probabilities of self-righting within 30 s and on the first attempt, as the ratio of their occurrence to the total number of trials for each species.

Strategy transition analysis

To quantify the transitions between strategies during self-righting, we performed a locomotor ethogram analysis for each trial (Li et al., 2015). For each species, we first recorded the sequence of locomotor strategies and the outcome (either successful self-righting or failure). We then calculated the animal's probabilities of entering various self-righting strategies, transitioning between them, and attaining a final outcome. The probability of each transition between nodes was defined as the ratio of the number of occurrences of that transition to the total number of trials of each species. To quantify the often-repeated failed attempts before the final successful attempt, we also counted for each trial the number of times the animal consecutively pitched and/or rolled using the same strategy. We then averaged this number across all trials of each species to obtain the probability of self-transitions.

Body rotation and deformation analysis

To quantify body rotation and deformation during self-righting, for each attempt, we digitized four markers on the animal's body (Fig. 1D,E) at the start and end of the attempt and when the body center of mass (CoM) was highest. The instance when the body CoM was highest was determined from high-speed videos by observing when the body stopped pitching and/or rolling upward and began pitching and/or rolling downward.

The four markers included: a head marker at the tip of the head (H), an abdomen marker at the tip of the abdomen (A), a left marker on the left side of the abdomen (L), and a right marker on the right side of the abdomen (R). Both the left and right markers were located at about 60% body length from the head, close to the fore–aft position of the CoM (Kram et al., 1997). Each marker was digitized in at least two high-speed videos from different views using DLTdv5 (Hedrick, 2008), which were used to reconstruct 3D positions using DLTcal5 (Hedrick, 2008) and a custom 27-point calibration object. The position midway (M) between the left and right markers was calculated.

We approximated the CoM position using the average position of all four markers. Using positions of the tips of the head (H) and abdomen (A), we calculated body pitch and body yaw relative to the ground. Using positions of the left (L) and right (R) points on the sides of the abdomen, we calculated body roll relative to the ground. In addition, we calculated body flexion θ as the angle within the sagittal plane formed between the in-plane components (H|| and A||) of two vectors H and A, which started from the midway point (M) and pointed to the head (H) and abdomen (A) markers, respectively. H⊥ and A⊥ are components of H and A perpendicular to the sagittal plane. A negative body flexion meant body hyperextension. Further, we calculated head and abdomen twisting, φH and φA, as the angles between the sagittal plane and the vectors H and A, respectively. Sagittal plane was approximated by a plane whose normal vector was the vector from the left (L) to the right (R) marker. See Fig. 1D,E for details. Equations are summarized below.

CoM position:
formula
(1)
formula
(2)
formula
(3)
body orientation:
formula
(4)
formula
(5)
formula
(6)
body flexion:
formula
(7)
head twisting:
formula
(8)
abdomen twisting:
formula
(9)
where:
formula
(10)
formula
(11)
formula
(12)
formula
(13)
formula
(14)

To study how the animal moved in each attempt to self-right, we calculated the changes in these variables from the start of each attempt to when the body CoM was highest. When doing this, we used absolute values of pitch, roll and yaw considering symmetry of the animal's ellipsoidal body. We also set head and abdomen twisting at the start of the attempt to be always non-negative, considering lateral symmetry of the animal.

Body and appendage behavior analysis

To further identify what contributed to successful self-righting, for each attempt, we recorded the following events (or lack thereof) to quantify the animal's body and appendage behaviors. (1) Dynamic: whether the animal's body rotation was dynamic, being able to gain and use pitch and/or roll rotational kinetic energy to overcome potential energy barriers. Dynamic behavior was determined by observing whether the animal's body was still moving upward when its appendage (wings or legs) or arching body used for self-righting had stopped pushing against the ground. A wing stopped pushing against the ground when its distal section lifted off the ground as the body pitched and/or rolled. A leg stopped pushing against the ground when its distal segments, which engaged the surface for self-righting, slipped, reducing vertical force production (Full et al., 1995). An arching body stopped pushing against the ground when the body hyperextension began decreasing. When any of these occurred, the body could only continue to move upward if it still had rotational kinetic energy. (2) Body lift-off: whether the body lifted off from the surface. (3) Body hold: whether the body was held in the air after pitching up so that the abdomen remained raised, when using the wings to self-right. (4) Body sliding: whether the body slid on the ground as it pitched/rolled toward self-righting. (5) Leg assist: whether the legs assisted by pushing against the surface to generate body pitching and/or rolling towards self-righting, when using the wings to self-right. (6) Leg slip: whether the leg engaging the surface to self-right (as both the primary and assisting mechanisms) slipped on the surface. (7) Accelerate: whether the assisting leg accelerated body pitching and/or rolling motion towards self-righting. (8) Overshoot: whether there was any overshooting in body pitching and/or rolling motion beyond the upright orientation that must be corrected by the legs.

We calculated the probability of each of these body and appendage behaviors as the ratio of the occurrence of each to the total number of attempts for each strategy, separated by whether the attempt was successful or not.

All data analyses were performed using Microsoft Excel and MATLAB.

Statistics

Before pooling trials, for each species, we performed a mixed-design ANOVA (for continuous variables) or a chi-square test (for binomial variables), both with trial number as a fixed factor and individual as a random factor to account for individual variability. We found no effect of trial for any measurements relevant to a trial (P>0.05, ANOVA or P>0.05, chi-square test), including number of attempts to self-right, self-righting probabilities, righting times and transition probabilities. Thus, we pooled all trials from each individual to calculate their means and confidence intervals (for binomial variables) or standard deviations (for continuous variables).

Before pooling attempts, for each species, we performed a mixed-design ANOVA (for continuous variables) or a chi-square test (for binomial variables), both with attempt number as a fixed factor and individual as a random factor to account for individual variability. We found no effect of attempt for most (72 out of 84) measurements relevant to an attempt (P>0.05, ANOVA or P>0.05, chi-square test), including attempt time, changes in body pitch, roll and yaw, CoM height, body flexion, head and abdomen twisting, and body and leg behavior probabilities. Thus, we pooled all attempts for each of the self-righting strategies, separated by whether the attempt was successful or not, to calculate their means and confidence intervals (for binomial variables) or standard deviations (for continuous variables).

To test whether measurements relevant to an attempt differed between successful and failed attempts, for each species using each strategy, we used a mixed-design ANOVA (for continuous variables) or a chi-square test (for binomial variables), with the successful/failure record as a fixed factor and individual as a random factor to account for individual variability.

To test whether measurements relevant to the strategy used (winged or legged) differed between winged and legged attempts, for each species separated by whether the attempt was successful or not, we used a mixed-design ANOVA or a chi-square test (for binomial variables), with the strategy used as a fixed factor and individual as a random factor to account for individual variability.

To test whether measurements relevant to successful trials differed between species, we used a mixed-design ANOVA (for continuous variables) or a chi-square test (for binomial variables), with species as a fixed factor and individual as a nested, random factor to account for individual variability.

Wherever possible, we used Tukey's honestly significant difference test (HSD) to perform post hoc analysis. All the statistical tests followed McDonald (2009) and were performed using JMP.

Potential energy landscape model using simple body geometry

To visualize how the animal rotated during self-righting attempts and how this differed between strategies and species, we used a simple geometric model to calculate the potential energy landscape of the body (Fig. 2). Because the animal rarely lifted off the ground during self-righting for all three species (7 out of 378 attempts; Fig. S3B), as a first-order approximation, we considered the animal body as an ellipsoid with its lowest point in contact with a horizontal, flat surface (Fig. 2A–C). Ellipsoid length 2a, width 2b and thickness 2c were body length, width and thickness from morphological measurements (Table 1). We approximated the CoM position with the ellipsoid's geometric center (Kram et al., 1997).

Fig. 2.

Potential energy landscape from the simplegeometric model. (A–C) An ellipsoid approximating the animal body in contact with the ground, pitching (A), rolling (B) or rotating diagonally (simultaneous pitching and rolling; C). Dashed line shows rotation axis. Diagonal rotation shown is about a fixed axis within the horizontal ground plane for simplicity; actual diagonal rotation of the animal may be about a time-varying axis. Red, blue and yellow arrows on each ellipsoidal body show its three major axes to illustrate body rotation. Vector g shows the direction of gravity. (D) Potential energy landscape, shown as center of mass (CoM) height as a function of body pitch and body roll (using Euler angles with yaw–pitch–roll convention), calculated from the geometric model. We used absolute values of body pitch and roll considering symmetry of the ellipsoid. Downward and upward arrows indicate an upside-down and upright body orientation, respectively. Cyan, green, yellow and magenta curves with arrows are representative trajectories for pure pitching, two different diagonal rotations and pure rolling, all about a fixed axis in the horizontal plane, to illustrate the fact that more body rolling decreases the potential energy barrier. White curves on the landscape are iso-height contours. Small yellow arrows on the landscape are gradients. Model results shown were obtained using the discoid cockroach's body dimensions as an example.

Fig. 2.

Potential energy landscape from the simplegeometric model. (A–C) An ellipsoid approximating the animal body in contact with the ground, pitching (A), rolling (B) or rotating diagonally (simultaneous pitching and rolling; C). Dashed line shows rotation axis. Diagonal rotation shown is about a fixed axis within the horizontal ground plane for simplicity; actual diagonal rotation of the animal may be about a time-varying axis. Red, blue and yellow arrows on each ellipsoidal body show its three major axes to illustrate body rotation. Vector g shows the direction of gravity. (D) Potential energy landscape, shown as center of mass (CoM) height as a function of body pitch and body roll (using Euler angles with yaw–pitch–roll convention), calculated from the geometric model. We used absolute values of body pitch and roll considering symmetry of the ellipsoid. Downward and upward arrows indicate an upside-down and upright body orientation, respectively. Cyan, green, yellow and magenta curves with arrows are representative trajectories for pure pitching, two different diagonal rotations and pure rolling, all about a fixed axis in the horizontal plane, to illustrate the fact that more body rolling decreases the potential energy barrier. White curves on the landscape are iso-height contours. Small yellow arrows on the landscape are gradients. Model results shown were obtained using the discoid cockroach's body dimensions as an example.

The simple geometric model allowed us to visualize the state of an ellipsoidal body on a potential energy landscape (Fig. 2D). For an elongate ellipsoid body, self-righting by pitching overcomes the highest potential energy barrier (Fig. 2A), whereas self-righting by rolling overcomes the lowest barrier (Fig. 2B). Self-righting by a diagonal body rotation (Frantsevich, 2004), with simultaneous pitching and rolling, overcomes an intermediate barrier (e.g. Fig. 2C, an ideal diagonal rotation about a fixed axis in the horizontal plane between pitch and roll axes). Body yawing did not affect CoM height or barrier height (yawing is relative to the world frame because we used the yaw–pitch–roll convention of Euler angles).

Self-righting attempts

For all three species, self-righting on a flat, rigid, low-friction surface was a challenging task and often required more than one attempt to succeed (Table 1, Fig. 3A; 24%, 29% and 48% of all trials had multiple attempts for the Madagascar hissing, American and discoid cockroaches, respectively). Repeated attempts were consistent with previous observations in the discoid cockroach (Full et al., 1995). The Madagascar hissing, American and discoid cockroaches needed an average of 1.3, 1.8 and 3.2 attempts to self-right. The difference was significant only between the Madagascar and discoid cockroaches (P<0.05, ANOVA, Tukey HSD).

Fig. 3.

Self-righting performance. (A) Number of attempts to achieve self-righting. (B) Self-righting probability within 30 s and on the first attempt. Error bars represent 95% confidence intervals. (C) Total time to achieve self-righting. (D) Time to achieve self-righting on the first attempt. From left to right: Madagascar hissing, American and discoid cockroaches. In A, C and D, data are shown using violin plots. Black and red lines show the mean and median, respectively. Width of graph shows the frequency of the data along the y-axis. Braces show whether there is a significant difference (*P<0.05, ANOVA) or not (n.s.). See Table 1 for sample size.

Fig. 3.

Self-righting performance. (A) Number of attempts to achieve self-righting. (B) Self-righting probability within 30 s and on the first attempt. Error bars represent 95% confidence intervals. (C) Total time to achieve self-righting. (D) Time to achieve self-righting on the first attempt. From left to right: Madagascar hissing, American and discoid cockroaches. In A, C and D, data are shown using violin plots. Black and red lines show the mean and median, respectively. Width of graph shows the frequency of the data along the y-axis. Braces show whether there is a significant difference (*P<0.05, ANOVA) or not (n.s.). See Table 1 for sample size.

For all three species, we found no dependence on trial number and only a few cases of dependence on attempt number (see Materials and Methods, ‘Statistics’). The lack of dependence on trial number showed that there was only a minor effect of history dependence, if any, on self-righting and that the animal's motion and use of strategies was stochastic and unpredictable (Full et al., 1995) over consecutive attempts.

Self-righting probability

All three species self-righted with high probability when given time (30 s in our experiments; Fig. 3B, white bar; averaging 97% for all three species) and self-righted on the first attempt in over half of all trials (Fig. 3B, gray bar; averaging 63% for all species) with no significant difference across species (P>0.05, chi-square test).

Self-righting time

All three species were capable of self-righting rapidly. The fastest self-righting took only 0.14 s for the American cockroach, 0.31 s for the discoid cockroach and 0.46 s for the Madagascar hissing cockroach. The median total time to achieve self-righting including failed attempts was 1.1, 0.6 and 1.6 s for the Madagascar hissing, American and discoid cockroaches, respectively (Fig. 3C). The maximal time was 19.9, 3.9 and 17.7 s for the Madagascar hissing, American and discoid cockroaches, respectively. The difference was only significant between the American and discoid cockroaches (P<0.05, ANOVA, Tukey HSD). The mean self-righting time on the first attempt (Fig. 3D) was 1.0 s for the Madagascar hissing cockroach, longer than the American cockroach's 0.6 s (P<0.05, ANOVA, Tukey HSD), although neither differed from the discoid cockroach's 0.9 s.

Self-righting strategies

Body arching

The Madagascar hissing cockroach's self-righting relied primarily on changing body shape assisted by the legs (Fig. 4A; Movie 1). When lying upside down (Fig. 4Ai), the animal hyperextended its body into an arch to raise the CoM (Fig. 4Aii) (Camhi, 1977), similar to some beetles (Frantsevich, 2004). The narrow base of support between the head and tip of the abdomen in contact with the ground and lateral perturbations from flailing legs induced the body to roll (Fig. 4Aiii). As the body fell onto one side, rolling stopped as a result of resistance from the legs and the metastable body shape in the transverse plane (Camhi, 1977), resembling that of medium-height turtle shells (Domokos and Várkonyi, 2008). Then, the legs on the lowered side kept pushing, resulting in skidding and yawing on the surface, while the body continued to hyperextend (Fig. 4Aiv). When a body arching attempt failed, the animal sometimes quickly flexed its body straight (occurring at a 25% probability per attempt) to reverse the direction of body rolling using rotational kinetic energy gained as a consequence of falling of the CoM to start another body arching attempt. When one of the pushing legs eventually managed to wedge under the body, its thrust rolled the body further over the protruding legs to overcome their secondary potential energy barriers to achieve self-righting (Fig. 4Av).

Fig. 4.

Representative snapshots of self-righting strategies. (A) Madagascar hissing cockroach using body arching. (B) American cockroach using wings. (C) Discoid cockroach using wings. (D) American cockroach using legs. (E) Discoid cockroach using legs. i–v are five snapshots moving forward in time.

Fig. 4.

Representative snapshots of self-righting strategies. (A) Madagascar hissing cockroach using body arching. (B) American cockroach using wings. (C) Discoid cockroach using wings. (D) American cockroach using legs. (E) Discoid cockroach using legs. i–v are five snapshots moving forward in time.

Wing use

Both the American and discoid cockroaches can self-right primarily using the wings (Fig. 4B,C; Movie 2). When lying upside down (Fig. 4Bi,Ci), the animal separated its wings laterally and pronated them so that their outer edges pushed against the surface while the head remained in contact as a pivot, which pitched the abdomen upward (Fig. 4Bii,Cii) and often resulted in additional body rolling. When a winged attempt failed, the animal closed its wings to pitch back downward and sometimes started the same process again in another attempt (occurring at a 3% probability per attempt for the American cockroach and an average of 1.1 times per attempt for the discoid cockroaches). When a winged attempt succeeded, the animal fell with additional body pitching and/or rolling to become upright (Fig. 4Biii–v,Ciii–v). The legs flailed in this process, resulting in small lateral perturbations. Flailing legs frequently hit and pushed against the ground (91% of attempts), providing impulses to change body rotation.

Leg use

The American and discoid cockroaches can also self-right primarily using the legs (Fig. 4D,E; Movie 3). When lying upside down, these insects always continuously kicked their legs outward in an attempt to push against the ground (Reingold and Camhi, 1977; Zill, 1986). Frequent slipping of the legs (55% of attempts) as a result of the low friction of the surface resulted in continuous body sliding (41% of attempts). In failed attempts, body rolling and pitching induced by kicking the legs were not sufficient to achieve self-righting, and the animal started the same process in another attempt (occurring at a 51% and 21% probability per attempt for the American and discoid cockroaches, respectively). When a legged attempt succeeded (Fig. 4Di,Ei), two legs engaged the surface simultaneously (Fig. 4Dii,Eii), typically a hindleg and a contralateral middle leg (76% and 93% of attempts for the American and all attempts for the discoid cockroaches, respectively). The two legs pushed to thrust the body forward, pitched it head up, and rolled it such that the abdomen cleared the surface to self-right (Fig. 4Diii–v,Eiii–v).

Probability of dynamic self-righting

For both the American and discoid cockroaches using both wings and legs, self-righting attempts were often dynamic (Fig. 5; American: 67% of winged attempts, 55% of legged attempts, 56% of all attempts; discoid: 37% of winged attempts, 80% of legged attempts, 51% of all attempts), i.e. these two species of cockroach were able to gain and use pitch and/or roll rotational kinetic energy in an attempt to overcome potential energy barriers. By contrast, self-righting of the Madagascar hissing cockroach using body arching was never dynamic (0%; Fig. 5).

Fig. 5.

Probability of self-righting dynamically. A dynamic attempt is one in which the animal is able to gain and use pitch and/or roll rotational kinetic energy in an attempt to overcome potential energy barriers, whether the attempt is successful or not. See Table 1 for sample size.

Fig. 5.

Probability of self-righting dynamically. A dynamic attempt is one in which the animal is able to gain and use pitch and/or roll rotational kinetic energy in an attempt to overcome potential energy barriers, whether the attempt is successful or not. See Table 1 for sample size.

Self-righting transitions

All three species attempted more than one strategy and often transitioned between them to self-right, even though not all of them led to successful righting on the flat, rigid, low-friction surface (Fig. 6). Self-righting of both the Madagascar hissing and American cockroaches was more stereotypical and they primarily used one successful strategy, in contrast to the discoid cockroach, which used two successful strategies nearly equally.

Fig. 6.

Self-righting locomotor transitionethograms. (A) Madagascar hissing cockroach. (B) American cockroach. (C) Discoid cockroach. Arrow widths are proportional to transition probabilities between nodes, with probability values shown by numbers. Transition probabilities are defined as the ratio of the number of occurrences of each transition to the total number of trials for each species. Red arrows and numbers are for self-transition and represent the average number of times that cockroaches continued with the same strategy during each trial. A self-transition probability greater than one means that on average it occurred more than once for each trial. The sum of transition probabilities out of each node equals that into the node, except for the start with a total probability of 1 going out, and righting and failure with a total probability of 1 into both together. See Table 1 for sample size.

Fig. 6.

Self-righting locomotor transitionethograms. (A) Madagascar hissing cockroach. (B) American cockroach. (C) Discoid cockroach. Arrow widths are proportional to transition probabilities between nodes, with probability values shown by numbers. Transition probabilities are defined as the ratio of the number of occurrences of each transition to the total number of trials for each species. Red arrows and numbers are for self-transition and represent the average number of times that cockroaches continued with the same strategy during each trial. A self-transition probability greater than one means that on average it occurred more than once for each trial. The sum of transition probabilities out of each node equals that into the node, except for the start with a total probability of 1 going out, and righting and failure with a total probability of 1 into both together. See Table 1 for sample size.

The Madagascar hissing cockroach (Fig. 6A) most frequently used body arching to self-right (85% of all trials). When not successful, this cockroach always continued to use body arching, leading to a high probability of self-righting (98%). It occasionally used body twisting (13%) (Camhi, 1977), which never succeeded, after which it always transitioned to body arching (13%).

The American cockroach (Fig. 6B) frequently used its legs (93%) and occasionally used its wings (2%), despite being capable of self-righting using both strategies. When not successful, it often continued to use the same legged or winged strategy, but also occasionally transitioned between them. It also infrequently used flapping (2%), which never succeeded.

By contrast, the discoid cockroach (Fig. 6C) initially used either the wings (49%) or the legs (34%) to self-right. When unsuccessful, it continued to use the same legged or winged strategy, but also frequently transitioned between them, resulting in high probabilities of self-righting (46% or 49% eventually using wings or legs to self-right, respectively).

All three species occasionally entered a temporary quiescent mode (Camhi, 1977) without apparent body or appendage movement (2%, 3% and 16% for Madagascar hissing, American and discoid cockroaches, respectively).

Movement of body state on potential energy landscape

For all three species, because the body rarely lifted off the ground for all three species (7 out of 378 attempts; Fig. S3B), the measured state of the animal (body pitch, body roll and CoM height) lay on the surface of the potential energy landscape from the simple geometric model (Fig. 7). Being on the surface of the energy landscape allowed us to examine how the animal's body moved through three stages (start, highest CoM height and end) of an attempt to overcome potential energy barriers (or lack thereof).

Fig. 7.

Movement of body state on the potentialenergy landscape during successful versus failed righting attempts. (1) Start, (2) highest CoM position and (3) end of the attempt. (A) Madagascar hissing cockroach using body arching. (B) American cockroach using wings. (C) American cockroach using legs. (D) Discoid cockroach using wings. (E) Discoid cockroach using legs. Landscape is defined in Fig. 2D. On each landscape, the ellipsoids show means (center of ellipsoid) ±1 s.d. (principal semi-axis lengths of ellipsoid) of body pitch, body roll and CoM height at each stage of the attempt. For failed attempts, the end state (3) is not shown because it overlaps with the start state (1). The number of attempts in each case is shown. Note that the number of attempts shown combined for each species is slightly smaller than the total number of attempts, because in some attempts the animal markers were out of the field of view and could not be digitized.

Fig. 7.

Movement of body state on the potentialenergy landscape during successful versus failed righting attempts. (1) Start, (2) highest CoM position and (3) end of the attempt. (A) Madagascar hissing cockroach using body arching. (B) American cockroach using wings. (C) American cockroach using legs. (D) Discoid cockroach using wings. (E) Discoid cockroach using legs. Landscape is defined in Fig. 2D. On each landscape, the ellipsoids show means (center of ellipsoid) ±1 s.d. (principal semi-axis lengths of ellipsoid) of body pitch, body roll and CoM height at each stage of the attempt. For failed attempts, the end state (3) is not shown because it overlaps with the start state (1). The number of attempts in each case is shown. Note that the number of attempts shown combined for each species is slightly smaller than the total number of attempts, because in some attempts the animal markers were out of the field of view and could not be digitized.

For the Madagascar hissing cockroach using body arching and the American cockroach using the legs, body rotation was mainly rolling during both successful and failed attempts (Fig. 7A,C), which overcame the lowest potential energy barrier if successful (Fig. 7A, left). For the American cockroach using the wings, body rotation was mainly pitching during both successful and failed attempts (Fig. 7B), which overcame the highest potential energy barrier if successful (Fig. 7B, left). For the discoid cockroach using both wings and legs, body rotation involved simultaneous pitching and rolling during successful attempts (Fig. 7D,E, left), which overcame intermediate potential energy barriers, and body rotation was mainly pitching during failed attempts (Fig. 7D,E, right). In failed attempts, the animal was unable to overcome the potential energy barriers (Fig. 7A–E, right).

In addition, both the Madagascar hissing and American cockroaches had a large number of successful attempts (50 and 43, respectively) using strategies (body arching and legs, respectively) that overcame low potential energy barriers (Fig. 7A,C, left). The American cockroach had only one successful attempt using the wings which overcame high potential energy barriers (Fig. 7B, left). By contrast, the discoid cockroach had similar numbers of successful attempts to overcome potential energy barriers using the two self-righting strategies, wings (28) and legs (23) (Fig. 7D,E, left).

Body rotation and CoM height increase

Madagascar hissing cockroach

Using body arching to self-right, the Madagascar hissing cockroach pitched little towards 90 deg (Fig. 8Ai) but rolled substantially towards 90 deg (Fig. 8Bi) as the body attained its highest CoM position. Rolling resulted in a small CoM height increase relative to the highest potential energy barrier possible (ac) (Fig. 8Ci). The body rolled more in successful than in failed attempts (Δ|roll|=69 deg versus 50 deg; P<0.05, ANOVA).

Fig. 8.

Body rotation and CoM height increase. Body pitch increase (A), body roll increase (B) and CoM height increase (ΔzCoM; C) when the body was highest for successful (S, red) versus failed (F, blue) self-righting attempts. (i) Madagascar hissing cockroach using body arching. (ii) American cockroach using the wings. (iii) American cockroach using the legs. (iv) Discoid cockroach using the wings. (v) Discoid cockroach using the legs. We used absolute values of body pitch and roll considering symmetry of the ellipsoid representing the body. Data are shown using violin plots. Black and red lines indicate the mean and median. Width of graph indicates the frequency of the data along the y-axis. Black asterisks and braces indicate a significant difference between successful and failed attempts (P<0.05, ANOVA). Red asterisks and braces indicate a significant difference between winged and legged attempts for the same species (P<0.05, ANOVA). In C, the two horizontal dashed lines show the lowest and highest potential energy barriers from the ellipsoid model, bc and ac, for pure rolling and pure pitching, respectively. For successful attempts, CoM height increase is the measured potential energy barrier. For failed attempts, potential energy barrier was not measured because the animal did not overcome it. See Table 1 for sample size.

Fig. 8.

Body rotation and CoM height increase. Body pitch increase (A), body roll increase (B) and CoM height increase (ΔzCoM; C) when the body was highest for successful (S, red) versus failed (F, blue) self-righting attempts. (i) Madagascar hissing cockroach using body arching. (ii) American cockroach using the wings. (iii) American cockroach using the legs. (iv) Discoid cockroach using the wings. (v) Discoid cockroach using the legs. We used absolute values of body pitch and roll considering symmetry of the ellipsoid representing the body. Data are shown using violin plots. Black and red lines indicate the mean and median. Width of graph indicates the frequency of the data along the y-axis. Black asterisks and braces indicate a significant difference between successful and failed attempts (P<0.05, ANOVA). Red asterisks and braces indicate a significant difference between winged and legged attempts for the same species (P<0.05, ANOVA). In C, the two horizontal dashed lines show the lowest and highest potential energy barriers from the ellipsoid model, bc and ac, for pure rolling and pure pitching, respectively. For successful attempts, CoM height increase is the measured potential energy barrier. For failed attempts, potential energy barrier was not measured because the animal did not overcome it. See Table 1 for sample size.

American cockroach

Using the wings to self-right, the American cockroach pitched substantially towards 90 deg (Fig. 8Aii) and rolled little towards 90 deg (Fig. 8Bii) as the body attained its highest CoM position. This resulted in a large CoM height increase relative to the highest potential energy barrier possible (ac) (Fig. 8Cii).

Using the legs to self-right, the American cockroach pitched little towards 90 deg (Fig. 8Aiii) and rolled substantially towards 90 deg (Fig. 8Biii) as the body attained its highest CoM position. This resulted in a small CoM height increase relative to the highest potential energy barrier possible (ac) (Fig. 8Ciii). The body rolled more in successful than in failed attempts (Δ|roll|=61 deg versus 20 deg; P<0.05, ANOVA).

For successful attempts, the American cockroach pitched more (Δ|pitch|=78 deg versus 5 deg; P<0.05, ANOVA) and rolled less (Δ|roll|=6 deg versus 61 deg; P<0.05, ANOVA), and its CoM height increased more (ΔzCoM=1.8 cm versus 0.7 cm; P<0.05, ANOVA) when using the wings than when using the legs (Fig. 8A–C, ii versus iii).

Discoid cockroach

Using the wings to self-right, the discoid cockroach pitched substantially towards 90 deg (Fig. 8Aiv) and rolled less towards 90 deg (Fig. 8Biv) as the body attained its highest CoM position. This resulted in a large CoM height increase relative to the highest potential energy barrier possible (ac) (Fig. 8Civ). The body rolled more in successful than in failed attempts (Δ|roll|=17 deg versus 2 deg; P<0.05, ANOVA).

Using the legs to self-right, the discoid cockroach both pitched (Fig. 8Av) and rolled (Fig. 8Bv) a little towards 90 deg as the body attained its highest CoM position. This resulted in a small CoM height increase relative to the highest potential energy barrier possible (ac) (Fig. 8Cv). The body rolled more in successful than in failed attempts (Δ|roll|=34 deg versus 5 deg; P<0.05, ANOVA).

For successful attempts, the discoid cockroach pitched more (Δ|pitch|=51 deg versus 21 deg, P<0.05, ANOVA) and rolled less (Δ|roll|=17 deg versus 34 deg, P<0.05, ANOVA), and its CoM height increased more (ΔzCoM=1.3 cm versus 0.8 cm, P<0.05, ANOVA) when using the wings than when using the legs (Fig. 8A–C, iv versus v).

All three species

For all three species, body rolling was the best predictor of whether an attempt succeeded or failed. Roll increase when the CoM was highest was greater in successful than in failed attempts for all cases (P<0.05, ANOVA; Fig. 8Bi,iii–v), except for the American cockroach using the wings (Fig. 8Bii) which had a small sample size (1 successful and 4 failed attempts).

Because the CoM height increase was the measured potential energy barrier for successful attempts, both the American and discoid cockroaches overcame higher barriers when using the wings than when using the legs, and this difference was greater for the American cockroach.

Other factors contributing to successful self-righting

Besides body rolling, three factors were important in differentiating successful from failed attempts (Fig. S2). First, except for the American cockroach using the wings, leg slip was less frequent in successful attempts for all three species (Fig. S2Ai,iii–v; Madagascar arching, successful: 0%, failed: 100%; American legged, successful: 0%, failed: 90%; discoid winged, successful: 45%, failed: 97%; discoid legged, successful: 0%, failed: 100%; P<0.05, chi-square test). Second, for the American cockroach using the legs and the discoid cockroach using both wings and legs, the legs more frequently hit the ground in successful attempts to accelerate body rotation, after the wings or legs generated the initial body pitching and/or rolling (Fig. S2B iii–v; American legged, successful: 51%, failed: 10%; discoid winged, successful: 62%, failed: 5%; discoid legged, successful: 34%, failed: 0%; P<0.05, chi-square test). Third, for both the American and discoid cockroaches using the wings, the body was held in the air with the abdomen pitched upward less frequently in successful attempts (Fig. S2Cii,iv; American winged, successful: 0%, failed: 80%; discoid winged, successful: 52%, failed: 98%; P<0.05, chi-square test). Body holding was not observed in the legged and arching strategies.

We did not observe significant differences between successful and failed attempts that were consistent across species and strategies for all other measurements (Figs S1, S3), including attempt time, body yaw change, body flexion change, head and abdomen twisting changes, dynamic probability, body lift-off probability, body sliding probability, leg assist probability and overshoot probability. We did find significant differences between successful and failed attempts (P<0.05, ANOVA; P<0.05, chi-square test) in attempt time for the discoid cockroach using both wings and legs (Fig. S1Aiv,v), in body yaw change for the American cockroach using the wings (Fig. S1Bii), in both head and abdomen twisting change for the Madagascar hissing cockroach using body arching (Fig. S1Di,Ei), in the probability of dynamic self-righting for the discoid cockroach using the legs (Fig. S3Av), and in body sliding probability for the American cockroach using the wings (Fig. S3Cii).

Our study quantified self-righting attempts (Fig. 3A; Fig. S1A), performance (Fig. 3B–D), probability of using kinetic energy (Fig. 5), use of and transitions among strategies (Figs 4 and 6), body rotation (Figs 7 and 8; Fig. S1B) and deformation (Fig. S1C–E), and body and appendage behaviors (Figs S2, S3) in the context of a potential energy landscape (Figs 2 and 7).

Advantages of dynamic self-righting using rotational kinetic energy

As we hypothesized, self-righting strategies in insects like cockroaches can be dynamic. The ability to self-right dynamically (Fig. 5) by gaining and using pitch and/or roll rotational kinetic energy to overcome potential energy barriers offered the American and discoid cockroaches several performance advantages. First, with all else being equal and as confirmed using a physical model (Li et al., 2016, 2017), the larger its pitch and/or roll rotational kinetic energy, the faster the body pitched and/or rolled, and the shorter the time to self-right. In addition, although each dynamic attempt costs more energy, as our physical modeling demonstrated (Li et al., 2016, 2017), greater body rotational kinetic energy increased the chance of self-righting for each attempt and could save energy overall by reducing the number of failed attempts. Further, pitch and/or roll rotational kinetic energy allowed the animal to reach a broad range of body rotation states of higher potential energy on the landscape (Fig. 7B–E). This gives them the opportunity to overcome energy barriers using a greater number of self-righting strategies. Finally, on slippery surfaces or sand, where self-righting using quasi-static leg grasping may be difficult (see fig. 16B of Frantsevich, 2004), pushing appendages rapidly to gain body rotational kinetic energy to self-right can be more effective.

Successful attempts revealed three body and appendage behaviors favoring dynamic self-righting performance (Fig. S2). First, the animal's legs slipped less frequently in successful attempts (Fig. S2A). This was beneficial because leg slipping leads to body yawing, sliding and premature falling of the CoM, which either dissipates pitch and/or roll rotational kinetic energy or converts it into yaw rotational kinetic energy or horizontal translational kinetic energy that does not contribute to self-righting. Second, the animal's assisting leg(s) more frequently accelerated body rolling and/or pitching in successful attempts (Fig. S2B), adding pitch and/or roll rotational kinetic energy. Third, when using the wings to self-right, the animal's body was held during pitching less frequently in successful attempts (Fig. S2C), and therefore did not lose the pitch and/or roll rotational kinetic energy generated by prior wing pushing.

Body rolling facilitates self-righting by lowering potential energy barrier

As we hypothesized, for all but one strategy (Fig. 8B), cockroaches rolled their body more during successful than during failed attempts as the center of mass rose, because increased rolling lowers the potential energy barrier (Figs 2D, 7). This is important because ground-based self-righting is a strenuous task. For example, a single hindleg of the discoid cockroach may need to generate ground reaction forces during self-righting as large as 8 times those during high-speed running (at 8 body lengths s−1) (Full et al., 1995). Using the potential energy landscape model (Fig. 2), if the discoid cockroach self-righted using wings with pure pitching, the mechanical work needed to overcome the highest potential energy barrier (420 µJ) would be 7 times that needed per stride during medium-speed running (at 5 body lengths s−1) (Kram et al., 1997). Using the observed body rotation during winged self-righting with simultaneous pitching and rolling (Figs 7D, 8iv), this mechanical work is reduced by 40% (to 260 µJ). Consistent with this finding, winged self-righting of a cockroach-inspired physical model (Li et al., 2016, 2017) demonstrated that body rolling increased the chances of successful self-righting by lowering the potential energy barrier.

Both the American and discoid cockroaches are capable of self-righting using both the wings and legs. For both species, using the legs with greater body rolling and less pitching is more favorable because it overcomes a lower potential energy barrier than using the wings with greater body pitching and less rolling (Fig. 8A–C, ii versus iii, iv versus v, red). Given this, the American cockroach's successful self-righting is more stereotyped than the discoid cockroach's (Figs 6B versus C, 7B,C versus D,E) partly because the potential energy barrier difference between these two strategies is larger. For the American cockroach, the potential energy barrier is 1.7 cm for pitching versus 0.7 cm for rolling (Fig. 8C, ii versus iii, red). By contrast, for the discoid cockroach, the potential energy barrier is only 1.3 cm for pitching versus 0.8 cm for rolling (Fig. 8C, iv versus v, red).

Advantages of diverse self-righting strategies

The ability of cockroaches and other insects (Frantsevich, 2004) to use and transition among more than one strategy to self-right offers several possible performance advantages. First, if damaged or lost appendages (Fleming et al., 2007; Jayaram et al., 2011) preclude the use of one strategy, the animal still has the opportunity to self-right using an alternative strategy. Second, the observed unsuccessful strategies such as body twisting and wing flapping (Figs 4 and 6), as well as body yawing and deformation and various body and appendage behaviors (Figs S1, S3), which seemed not to be beneficial here, could allow the animal to self-right in novel ways in natural environments by interacting with slopes, uneven and deformable surfaces, or nearby objects (Golubovic et al., 2013; Peng et al., 2015; Sasaki and Nonaka, 2016). Third, even the seemingly stochastic and unpredictable motion over consecutive attempts may be an adaptation to heterogeneous, stochastic natural environments (Kaspari and Weiser, 1999).

More broadly, the use of and transitions among diverse self-righting strategies may be an adaptation for many animal species. Studies of ground-based self-righting of beetles (Frantsevich, 2004) and turtles (Ashe, 1970; Domokos and Várkonyi, 2008), and aquatic self-righting of marine invertebrates on underwater substrates (Vosatka, 1970; Young et al., 2006), also observed diverse strategies, including leg pivoting, head bobbing, tail pushing, body dorsiflexion, leg pushing, body flexion and tail bending.

Future work

Our quantification of motion on the potential energy landscape using a simple rigid body only offers initial insight into the mechanical principles of self-righting of small insects. Future work should expand the potential energy landscape by adding degrees of freedom to better understand how appendage motion and body deformation change energy barriers and stability (as well as injecting kinetic energy) to result in self-righting (Othayoth et al., 2017). Our quantification of self-righting on a flat, rigid, low-friction surface represents a very challenging scenario. Future experiments should test and model how animals interact with slopes, uneven and deformable surfaces, or nearby objects (Golubovic et al., 2013; Peng et al., 2015; Sasaki and Nonaka, 2016) using potential energy landscapes to reveal principles of self-righting in nature. In addition, given our finding that rolling facilitates self-righting by lowering the potential energy barrier, we speculate that searching to grasp the ground or nearby objects (Frantsevich, 2004; Sasaki and Nonaka, 2016), leg flailing (Othayoth et al., 2017) and body twisting during self-righting may induce lateral perturbations to increase rolling. Further, experiments (Rubin et al., 2018) and multi-body dynamics simulations (Xuan et al., 2019) to obtain three-dimensional ground reaction forces of the body and appendages in contact with the substrate will help elucidate the dynamics of self-righting. Finally, electromyography measurements will shed light on how animals control or coordinate (Xuan et al., 2019) their wings, legs and body deformation to self-right.

We thank Ratan Othayoth for technical assistance; Ratan Othayoth, Qihan Xuan, Sean Gart, Kaushik Jayaram, Nate Hunt, Tom Libby, Chad Kessens, Peter Várkonyi and two anonymous reviewers for helpful discussion and suggestions; and Will Roderick, Mel Roderick, Armita Manafzadeh, Jeehyun Kim and Kristine Cueva for help with preliminary data collection and animal care.

Author contributions

Conceptualization: C.L., R.J.F.; Methodology: C.L., T.W., H.K.L., R.J.F.; Software: C.L., T.W.; Validation: C.L., R.J.F.; Formal analysis: C.L., T.W.; Investigation: T.W., H.K.L.; Resources: C.L., R.J.F.; Data curation: C.L., T.W.; Writing - original draft: C.L.; Writing - review & editing: C.L., R.J.F.; Visualization: C.L.; Supervision: C.L., R.J.F.; Project administration: C.L.; Funding acquisition: C.L., T.W., R.J.F.

Funding

This work was supported by a Miller Research Fellowship from the Adolph C. and Mary Sprague Miller Institute for Basic Research in Science, University of California Berkeley, a Burroughs Wellcome Fund Career Award at the Scientific Interface, and an Army Research Office Young Investigator Award (grant number W911NF-17-1-0346) to C.L., a Friedrich-Schiller-Universität Jena Academic Exchange Program to T.W., and Army Research Laboratory Micro Autonomous Science and Technology Collaborative Technology Alliances (MAST CTA) to R.J.F.

Ashe
,
V. M.
(
1970
).
The righting reflex in turtles: a description and comparison
.
Psychon. Sci.
20
,
150
-
152
.
Bell
,
W. J.
,
Roth
,
L. M.
and
Nalepa
,
C. A.
(
2007
).
Cockroaches: Ecology, Behavior, and Natural History
.
Johns Hopkins University Press
.
Brackenbury
,
J.
(
1990
).
A novel method of self-righting in the springtail Sminthurus viridis (Insecta: Collembola)
.
J. Zool.
222
,
117
-
119
.
Camhi
,
J. M.
(
1977
).
Behavioral switching in cockroaches: transformations of tactile reflexes during righting behavior
.
J. Comp. Physiol. A
113
,
283
-
301
.
Chiari
,
Y.
,
Van Der Meijden
,
A.
,
Caccone
,
A.
,
Claude
,
J.
and
Gilles
,
B.
(
2017
).
Self-righting potential and the evolution of shell shape in Galápagos tortoises
.
Sci. Rep.
7
,
1
-
8
.
Clark
,
A. J.
and
Higham
,
T. E.
(
2011
).
Slipping, sliding and stability: locomotor strategies for overcoming low-friction surfaces
.
J. Exp. Biol.
214
,
1369
-
1378
.
Daley
,
M. A.
and
Biewener
,
A. A.
(
2006
).
Running over rough terrain reveals limb control for intrinsic stability
.
Proc. Natl. Acad. Sci.
103
,
15681
-
15686
.
Delcomyn
,
F.
(
1987
).
Motor activity during searching and walking movements of cockroach legs
.
J. Exp. Biol.
133
,
111
-
120
.
Domokos
,
G.
and
Várkonyi
,
P. L.
(
2008
).
Geometry and self-righting of turtles
.
Proc. R. Soc. London B Biol. Sci.
275
,
11
-
17
.
Evans
,
M. E. G.
(
1973
).
The jump of the click beetle (Coleoptera: E1ateridae)-energetics and mechanics
.
J. Zool.
169
,
181
-
194
.
Faisal
,
A. A.
and
Matheson
,
T.
(
2001
).
Coordinated righting behaviour in locusts
.
J. Exp. Biol.
204
,
637
-
648
.
Fleming
,
P. A.
,
Muller
,
D.
and
Bateman
,
P. W.
(
2007
).
Leave it all behind: A taxonomic perspective of autotomy in invertebrates
.
Biol. Rev.
82
,
481
-
510
.
Frantsevich
,
L. I.
(
2004
).
Righting kinematics in beetles (Insecta: Coleoptera)
.
Arthropod Struct. Dev.
33
,
221
-
235
.
Frantsevich
,
L. I.
and
Mokrushov
,
P. A.
(
1980
).
Turning and righting in Geotrupes (Coleoptera, Scarabaeidae)
.
J. Comp. Physiol.
289
,
279
-
289
.
Full
,
R.
,
Yamauchi
,
A.
and
Jindrich
,
D.
(
1995
).
Maximum single leg force production: cockroaches righting on photoelastic gelatin
.
J. Exp. Biol.
198
,
2441
-
2452
.
Golubovic
,
A.
,
Bonnet
,
X.
,
Djordjević
,
S.
,
Djurakic
,
M.
,
Tomović
,
L.
,
Golubović
,
A.
,
Bonnet
,
X.
,
Djordjević
,
S.
,
Djurakic
,
M.
,
Tomović
,
L.
, et al. 
(
2013
).
Variations in righting behaviour across Hermann's tortoise populations
.
J. Zool.
291
,
69
-
75
.
Graham
,
D.
(
1979
).
Effects of circum-oesophageal lesion on the behaviour of the stick insect Carausius morosus
.
Biol. Cybern.
145
,
139
-
145
.
Hedrick
,
T. L.
(
2008
).
Software techniques for two- and three-dimensional kinematic measurements of biological and biomimetic systems
.
Bioinspir. Biomim.
3
,
034001
.
Jayaram
,
K.
,
Merritt
,
C.
,
Cherian
,
A.
and
Full
,
R.
(
2011
).
Running without feet: the role of tarsi during high-speed horizontal locomotion in cockroaches
.
Integr. Comp. Biol.
51
,
E64
.
Jusufi
,
A.
,
Goldman
,
D. I.
,
Revzen
,
S.
and
Full
,
R. J.
(
2008
).
Active tails enhance arboreal acrobatics in geckos
.
Proc. Natl. Acad. Sci. USA
105
,
4215
-
4219
.
Kaspari
,
M.
and
Weiser
,
M.
(
1999
).
The size-grain hypothesis and interspecific scaling in ants
.
Funct. Ecol.
13
,
530
-
538
.
Koditschek
,
D. E.
,
Full
,
R. J.
and
Buehler
,
M.
(
2004
).
Mechanical aspects of legged locomotion control
.
Arthropod Struct. Dev.
33
,
251
-
272
.
Kram
,
R.
,
Wong
,
B.
and
Full
,
R. J.
(
1997
).
Three-dimensional kinematics and limb kinetic energy of running cockroaches
.
J. Exp. Biol.
200
,
1919
-
1929
.
Li
,
C.
,
Hsieh
,
S. T.
and
Goldman
,
D. I.
(
2012
).
Multi-functional foot use during running in the zebra-tailed lizard (Callisaurus draconoides)
.
J. Exp. Biol.
215
,
3293
-
3308
.
Li
,
C.
,
Pullin
,
A. O.
,
Haldane
,
D. W.
,
Lam
,
H. K.
,
Fearing
,
R. S.
and
Full
,
R. J.
(
2015
).
Terradynamically streamlined shapes in animals and robots enhance traversability through densely cluttered terrain
.
Bioinspir. Biomim.
10
,
046003
.
Li
,
C.
,
Kessens
,
C. C.
,
Young
,
A.
,
Fearing
,
R. S.
and
Full
,
R. J.
(
2016
).
Cockroach-inspired winged robot reveals principles of ground-based dynamic self-righting
. In
IEEE International Conference on Intelligent Robots and Systems
, pp.
2128
-
2134
.
Li
,
C.
,
Kessens
,
C. C.
,
Fearing
,
R. S.
and
Full
,
R. J.
(
2017
).
Mechanical principles of dynamic terrestrial self-righting using wings
.
Adv. Robot.
31
,
881
-
900
.
Libby
,
T.
,
Moore
,
T. Y.
,
Chang-Siu
,
E.
,
Li
,
D.
,
Cohen
,
D. J.
,
Jusufi
,
A.
and
Full
,
R. J.
(
2012
).
Tail-assisted pitch control in lizards, robots and dinosaurs
.
Nature
481
,
181
-
184
.
Malashichev
,
Y.
(
2016
).
Asymmetry of righting reflexes in sea turtles and its behavioral correlates
.
Physiol. Behav.
157
,
1
-
8
.
Mann
,
G. K. H.
,
O'Riain
,
M. J.
and
Hofmeyr
,
M. D.
(
2006
).
Shaping up to fight: sexual selection influences body shape and size in the fighting tortoise (Chersina angulata)
.
J. Zool.
269
,
373
-
379
.
McDonald
,
J. H.
(
2009
).
Handbook of Biological Statistics
.
Baltimore
:
Sparky House Publishing
.
Minetti
,
A. E.
,
Moia
,
C.
,
Roi
,
G. S.
,
Susta
,
D.
and
Ferretti
,
G.
(
2002
).
Energy cost of walking and running at extreme uphill and downhill slopes
.
J. Appl. Physiol.
93
,
1039
-
1046
.
Othayoth
,
R.
,
Xuan
,
Q.
and
Li
,
C.
(
2017
).
Leg vibrations help cockroaches self-right using wings
.
Society for Integrative and Comparative Biology Annual Meeting
,
New Orleans, LA, USA
.
Integr. Comp. Biol.
57
,
E370
.
Peng
,
S.
,
Ding
,
X.
,
Yang
,
F.
and
Xu
,
K.
(
2015
).
Motion planning and implementation for the self-recovery of an overturned multi-legged robot
.
Robotica
5
,
1
-
14
.
Reingold
,
S. C.
and
Camhi
,
J. M.
(
1977
).
A quantitative analysis of rhythmic leg movements during three different behaviors in the cockroach, Periplaneta americana
.
J. Insect Physiol.
23
,
1407
-
1420
.
Rubin
,
A. M.
,
Blob
,
R. W.
and
Mayerl
,
C. J.
(
2018
).
Biomechanical factors influencing successful self-righting in the pleurodire turtle, Emydura subglobosa
.
J. Exp. Biol.
221,
jeb.182642
.
Sasaki
,
M.
and
Nonaka
,
T.
(
2016
).
The reciprocity of environment and action in self-righting beetles: the textures of the ground and an object, and the claws
.
Ecol. Psychol.
28
,
78
-
107
.
Sherman
,
E.
,
Novotny
,
M.
and
Camhi
,
J. M.
(
1977
).
A modified walking rhythm employed during righting behavior in the cockroach Gromphadorhina portentosa
.
J. Comp. Physiol.
316
,
303
-
316
.
Spagna
,
J. C.
,
Goldman
,
D. I.
,
Lin
,
P.-C.
,
Koditschek
,
D. E.
and
Full
,
R. J.
(
2007
).
Distributed mechanical feedback in arthropods and robots simplifies control of rapid running on challenging terrain
.
Bioinspir. Biomim.
2
,
9
-
18
.
Sponberg
,
S.
and
Full
,
R. J.
(
2008
).
Neuromechanical response of musculo-skeletal structures in cockroaches during rapid running on rough terrain
.
J. Exp. Biol.
211
,
433
-
446
.
Stancher
,
G.
,
Clara
,
E.
,
Regolin
,
L.
and
Vallortigara
,
G.
(
2006
).
Lateralized righting behavior in the tortoise (Testudo hermanni)
.
Behav. Brain Res.
173
,
315
-
319
.
Ting
,
L. H.
,
Blickhan
,
R.
and
Full
,
R. J.
(
1994
).
Dynamic and static stability in hexapedal runners
.
J. Exp. Biol.
197
,
251
-
269
.
Vosatka
,
E. D.
(
1970
).
Observations on the swimming, righting, and burrowing movements of young horseshoe crabs, limulus polyphemus
.
Ohio J. Sci.
70
,
276
-
283
.
Walter
,
R. M.
and
Carrier
,
D. R.
(
2002
).
Scaling of rotational inertia in murine rodents and two species of lizard
.
J. Exp. Biol.
205
,
2135
-
2141
.
Willemsen
,
R. E.
and
Hailey
,
A.
(
2003
).
Sexual dimorphism of body size and shell shape in European tortoises
.
J. Zool.
260
,
353
-
365
.
Xuan
,
Q.
,
Othayoth
,
R.
and
Li
,
C.
(
2019
).
In silico experiments reveal the importance of randomness of motions in cockroach's winged self-righting
.
Integr. Comp. Biol.
59
,
E255
.
Young
,
J. S.
,
Peck
,
L. S.
and
Matheson
,
T.
(
2006
).
The effects of temperature on walking and righting in temperate and Antarctic crustaceans
.
Polar Biol.
29
,
978
-
987
.
Zill
,
S. N.
(
1986
).
A model of pattern generation of cockroach walking reconsidered
.
J. Neurobiol.
17
,
317
-
328
.
Zurek
,
D. B.
and
Gilbert
,
C.
(
2014
).
Static antennae act as locomotory guides that compensate for visual motion blur in a diurnal, keen-eyed predator
.
Proc. R. Soc. B
281
,
20133072
.

Competing interests

The authors declare no competing or financial interests.

Supplementary information