Next Article in Journal
A Machine Learning Approach as a Surrogate for a Finite Element Analysis: Status of Research and Application to One Dimensional Systems
Previous Article in Journal
End-to-End Deep Graph Convolutional Neural Network Approach for Intentional Islanding in Power Systems Considering Load-Generation Balance
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Navigation of a Freely Walking Fruit Fly in Infinite Space Using a Transparent Omnidirectional Locomotion Compensator (TOLC)

1
Department of Mechanical Engineering and Energy Processes, Southern Illinois University Carbondale, Carbondale, IL 62901, USA
2
Department of Mechanical Engineering, Kennesaw State University, Marietta, GA 30060, USA
3
Department of Physiology, Wayne State University, Detroit, MI 48201, USA
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(5), 1651; https://doi.org/10.3390/s21051651
Submission received: 31 December 2020 / Revised: 4 February 2021 / Accepted: 22 February 2021 / Published: 27 February 2021
(This article belongs to the Section Physical Sensors)

Abstract

:
Animal behavior is an essential element in behavioral neuroscience study. However, most behavior studies in small animals such as fruit flies (Drosophila melanogaster) have been performed in a limited spatial chamber or by tethering the fly’s body on a fixture, which restricts its natural behavior. In this paper, we developed the Transparent Omnidirectional Locomotion Compensator (TOLC) for a freely walking fruit fly without tethering, which enables its navigation in infinite space. The TOLC maintains a position of a fruit fly by compensating its motion using the transparent sphere. The TOLC is capable of maintaining the position error < 1 mm for 90.3% of the time and the heading error < 5° for 80.2% of the time. The inverted imaging system with a transparent sphere secures the space for an additional experimental apparatus. Because the proposed TOLC allows us to observe a freely walking fly without physical tethering, there is no potential injury during the experiment. Thus, the TOLC will offer a unique opportunity to investigate longitudinal studies of a wide range of behavior in an unrestricted walking Drosophila.

1. Introduction

Animal behavior is complex and hard to understand because it is affected by various factors, such as the external environment. Recently, an automated system and robot have been integrated into biological experiments for a better understanding of animal behaviors [1,2,3,4,5,6]. Automated robotic tools allow researchers to observe animal behavior in controlled conditions by manipulating the animal or environment. A fruit fly, Drosophila melanogaster, is one of the most popular animal models to study behavior in the laboratory. The most common method to observe behavior in a walking fruit fly is using a custom-designed chamber with a limited spatial area [7,8,9,10,11]. To overcome the spatial limitation, simple mechanical devices have been implemented to alter the chamber’s position to induce behavior in a fruit fly, such as negative geotaxis [12,13,14]. Brain imaging in a freely walking fruit fly has been acquired within a specialized arena in the limited space [15]. However, because the animal behaves in the confined chamber, these types of experiments have been necessarily limited.
Other studies demonstrated behavioral observation with a tethered fruit fly [16,17,18,19]. A head-fixed fly walks on top of the air suspended sphere and its behavior is observed by measuring the rotation of the floating ball, which enables a fruit fly to walk in the virtual infinite space. The optical brain imaging with the tethered fly which walks on a ball allows observing behavior and brain activity simultaneously [20,21]. However, physical restriction by tethering could hinder the natural behavior of a fruit fly due to the potential risk of injury [22,23,24,25] even though the tethering may be inevitable for brain imaging. Virtual reality has been integrated with these systems to create a realistic environment [19,26]. Experiments with tethered insects have been carried out for other insects such as ants [27] and crickets [28]. To eliminate the risk of injury, locomotion compensators with a sphere have been utilized for various insects such as a fruit fly [29], honeybee [30], a pill bug [31], and a moth [32]. Even though the locomotion compensators track behavior in insects without tethering, it is still challenging to integrate additional apparatus such as a microscope, due to the spatial limitation around the device.
Even though the behavior of a fruit fly has been successfully investigated for a long time, a behavioral study of a completely mobile fruit fly remains challenging due to the spatial limitation and the complexity of the external environment. Because animal behavior is affected by various factors in the external environment, it is hard to observe animal behavior realistically.
In this paper, we developed the Transparent Omnidirectional Locomotion Compensator (TOLC), which compensates movements of a freely walking fruit fly and measures its behavior without tethering and spatial limitation. The TOLC compensates not only a position but also the heading of a freely walking fruit fly. The inverted imaging system of the TOLC secures a space for additional experimental apparatus. We also demonstrated the practical functionality of the TOLC via phototaxis behavioral experiments in Drosophila. Because observation without tethering prevents a fruit fly from damages or injuries, the TOLC will offer a unique opportunity to investigate longitudinal studies of a wide range of behavior in an unrestricted walking Drosophila.

2. Methods

2.1. Overview of Transparent Omnidirectional Locomotion Compensator (TOLC)

The overall schematic drawing of the TOLC is illustrated in Figure 1a. The design of the TOLC is similar to that of a balancing robot, a mobile robot that navigates with a single spherical ball only [33,34,35]. The design of the TOLC is an inverted version of the balancing robot. While a fruit fly is walking on top of the ball, the TOLC compensates a fly’s motion by rotating a transparent sphere (Precision Plastic ball Company, Franklin Park, IL, USA, 14179) using three omnidirectional wheels (Nexus Robot, Hongkong, China, 100 mm diameter). The size of the sphere is 4 inches in diameter and is located on top of three omnidirectional wheels illustrated in Figure 1a. The omnidirectional wheel is designed to achieve continuous contact with a sphere using alternated passive rollers [36], which creates a nearly continuous rotation of the sphere while translational motions are minimized. Three omnidirectional wheels were placed equally at every 120° and oriented at 40° with respect to the xy-plane to support the sphere. The omnidirectional wheels are directly attached to the DC servomotors (Robotis, Lake Forest, CA, USA, MX-64AT) to minimize a mechanical backlash. The near-infrared (NIR) camera underneath the transparent sphere records a motion of a walking fruit fly while light-emitting diodes (LEDs) illuminate a fly motion from the bottom of the sphere. Two optical encoders (Logitech, Newark, CA, USA, G502 HERO) were placed at the mid-plane of the sphere to measure the rotations of the sphere in the x-, y- and z-axis. To prevent a fruit fly from flying, we created a fly chamber on top of the sphere with a limited height (2 mm) using the cover glass (Brain Research Laboratory, Waban, MA, USA, 4550-1D) to let a fly walk in the chamber. Because the fruit fly is kept at the top of the sphere most of the time while tracking, the height of the chamber can be maintained during the experiment. Figure 1b,c shows the overall assembly drawing of the TOLC. Figure 1d,e shows a picture of the real system and the walking fly in the chamber of the TOLC, respectively.

2.2. Behavior Imaging System

Because a fruit fly is walking on top of the transparent sphere, the behavior camera underneath the sphere is able to capture a fly motion, which is similar to the inverted microscope. The advantage of this inverted imaging system is the secured space around and above the behavior chamber where an additional apparatus can be integrated for various future experiments with an external stimulus such as olfactory, vision, thermal stimuli. In addition, we utilized the 850 nm NIR LEDs (Osram, Wilmington, MA, USA, SFH 4655-Z) to minimize visual distraction for a walking fruit fly. The arrays of the NIR LEDs are located around the sphere as illustrated in Figure 2. The NIR LEDs illuminate a walking fruit fly with an oblique angle from the bottom. Figure 2b shows a side view of the simulation of ray tracing. Figure 2c shows detailed simulation results at the behavior chamber where a fruit fly walks. Because the rays diverge laterally while the refracted light by a walking fly is captured by the camera sensor, this creates a high contrast dark-field image. The NIR camera (FLIR, Wilsonville, OR, USA, CM3-U3-31S4M-CS) with the lens (Tamron, NY, USA, 12VM1040ASIR) and the bandpass filter (Thorlab, Newton, NJ, USA, FB850-40) are located on the bottom of the transparent sphere to image behavior of a single fly. To minimize the motion blur, the exposure time was set to less than 1.0 ms with the synchronized LED illumination and the images were captured at 200 Hz.
The sample NIR image is shown in Figure 3a, whose field of view is 16.4 mm by 9.66 mm (640 by 376 pixels) with a pixel distance of 25.7 μm/pixel. To detect the position and orientation of a walking fruit fly, the captured image is processed in real-time with the following step. First, we applied the Gaussian filter on the image and binarized the filtered image with the threshold that keeps the same fly size. Then, we find the centroid and orientation of the fly object from the binary image. The configuration of a fly in the camera coordinate is defined by pcam = [xcam, ycam, ϕcam], where ϕ is the orientation of the fly’s heading with respect to the x-axis in the image shown in Figure 3b.
The imaging system includes the transparent ball as a spherical ball lens, which may cause image distortion. To measure the image distortion, we captured the image of the concave pattern, which makes full contact with the surface of the sphere using the stereolithography (SLA) 3D printer (Creality, Shenzhen, China LD-002R). Figure 4a shows the captured images of the patterns, in which the distance between patterns is 1 mm in both the x- and y-axis. The yellow dots are the centroids of the patterns in the captured image. We evaluated the distortion with those centroids [37], and Figure 4b shows the undistorted image of the pattern and the red dots are the centroids of the pattern. The dotted circle in Figure 4a,b shows this 4 mm radius circle from the image center. At the center of the image, the differences between the centroids of the patterns in the original (yellow dots) and the undistorted image (red dots) are negligible. However, those at the corner of the image are noticeable. The result distortion in Figure 4b is the barrel (or negative) distortion, which is typical in a zoom lens. To quantify the distortion, we defined the distortion as follows:
Distortion   ( % ) = ( H * H ) / H × 100
where the H and H* are the distances of the point on the image from the center in the undistorted image and the original image, respectively. Figure 4c shows the distortion rate of the imaging system. The distortion at the radial distance from the center of 4 mm is −0.32%, which equals 12.8 μm or 0.5 pixels in the image. At the corner of the image (the radial distance from the center of 9.58 mm), the distortion is 1.89%, which equals 7.0 pixel or 181 μm. We assumed that there is no image distortion because the image distortion is not significant (<1 pixel) inside of the 4 mm circle where a freely walking fly is mostly staying (less than 2 mm error range for 99.3% of experiment time, see the discussion section) during tracking.

2.3. System Modeling

Figure 5a,b show the kinematics of the TOLC [32,38]. We assumed that the transparent sphere rotates only without translational motion. Let θsp denotes the angles of sphere rotations in x-, y-, and z-axis, and θw represents the angles of three omnidirectional wheel rotations. The angular velocity ωsp (= θ ˙ s p ) is related to the angular velocity of three omnidirectional wheels ωw (= θ ˙ w ) as
ω s p = M ω w
where M is the matrix, which is identified based on the configuration of the TOLC in Figure 5. The matrix M is expressed as
M = r w r s p [ sin α cos β 1 sin α cos β 2 sin α cos β 3 sin α sin β 1 sin α sin β 2 sin α sin β 3 cos α cos α cos α ]
where rw is a radius of a wheel, rsp is a radius of a sphere, α is the oriented angle of omnidirectional wheels with respect to the xy-plane, and β is the angle between omnidirectional wheels. We set α = 40°, and β = [0, π/3, 2π/3]. The radius of the omnidirectional wheels rw is 50 mm, and the radius of the transparent sphere rsp is 50.8 mm.
The equation of motions of the TOLC, described in Figure 5, is as follows:
I θ ¨ s p + D θ ˙ s p = U s p
where I is the moment of inertia of the sphere, D is the damping coefficient, and Usp = [ux, uy, uϕ] is the input. The control input Usp is converted to control input of three omnidirectional wheels U using the matrix M shown in Equation (3) as follows:
U s p = M U
For the tracking control, the position error of a fly efly = [ex, ey, eϕ] is defined as a distance between a fly position pcam from the center of the image pc = [xc, xc, ϕc] as follows.
e f l y = p c a m p c
which is also aligned with the top plane of the sphere shown in Figure 5a. The error efly in image coordinate then converted to the error esp = [Δθx, Δθy, Δθz] = [ey/rsp, −ex/rsp, eϕ] in the sphere coordinate, which is the amount of the rotation of a sphere required to compensate for the current position error. Then we computed the control input Usp = [ux, uy, uz] from on the error esp using the proportional-integral-derivative (PID) control. The overall process is repeated for every image, and the average computational time, including image processing and computing control inputs, takes less than 2 ms, which is sufficient to run the tracking system at 200 Hz.

2.4. Tracking Path Generation

A travel path of a walking fly is reconstructed based on a fly position pcam in the camera coordinate and a position of the sphere psp in the virtual xy-plane. A virtual sphere position psp is defined as [xsp, ysp, ϕsp], which shows a path of the top point of the sphere, where a fly is walking. The optical encoders measure the rotation changes of the sphere Δθsp = [Δθx, Δθy, Δθz] in the x-, y- and z-axis and then converted them into the position and orientation changes in the virtual plane Δpsp = [Δxsp, Δysp, Δϕsp] = [rspΔθy, −rspΔθx, Δθz]. The virtual path of the sphere psp is updated by adding the change of the virtual position into the current virtual sphere position as follows.
p s p , i + 1 = p s p , i + R Δ p s p = p s p , i + [ cos ( ϕ s p , i ) sin ( ϕ s p , i ) 0 sin ( ϕ s p , i ) cos ( ϕ s p , i ) 0 0 0 1 ] Δ p s p
where psp,i and psp,i+1 are the virtual sphere positions in the current and next step respectively. The matrix R is the rotational matrix with the current heading of the sphere ϕsp,i in the virtual coordinate. The virtual fly position pfly = [xfly, yfly, ϕfly] is computed by adding the virtual sphere position psp and a fly position pcam using Equation (8). The virtual path of a walking fly is a sequence of pfly, which shows a travel trajectory of a walking fly in the infinite space.
p f l y = p s p + [ cos ( ϕ s p ) sin ( ϕ s p ) 0 sin ( ϕ s p ) cos ( ϕ s p ) 0 0 0 1 ] p c a m

3. Result and Discussion

3.1. Drosophila Melanogaster

We obtained wild-type Canton S from the Drosophila stock center (Bloomington, IN, USA) and used them for our experiments in this paper. All flies were raised in standard food (Genesee Scientific, San Diego, CA, USA, 66-117) bottles or vials at 25 °C in a 12-h dark–light cycle. The flies were collected from the vial when they are between 20 to 40 days old and transferred to the device under CO2 anesthesia. A fruit fly normally begins to move within a few seconds after transfer and the tracking device begins to track a fruit fly and compensate its motion immediately. Flies were left for five minutes on the device in order to habituate them before collecting the experimental data. All the experiments were performed in a dark enclosed box. The light source for the phototaxis experiment was white LEDs with a light intensity of 0.09 mW/cm2 measured using the optical power meter (Thorlabs, Newton, NJ, USA, PM100D).

3.2. Step Response to the Control Input

Figure 6 shows the response of the angular velocity of the sphere in the x-, y- and z-axis. These step responses were measured when the input is (a) Usp = [1, 0, 0], (b) Usp = [0, 1, 0] and (c) Usp = [0, 0, 1], respectively. The output angular velocity ωsp of the sphere was measured using optical encoders. To remove the noise, we applied a low-pass Gaussian filter to the output and averaged multiple measurements. In Figure 6, the final angular velocity of all three responses is reached at around 100 ms. The final angular velocity in the x- and y-axis in Figure 6a,b are faster than that in the z-axis in Figure 6c even though the magnitudes of the step inputs are the same. In Figure 6a, there are still some transient responses of ωy and ωz even though those become zero in steady-state response. The same transient responses of angular velocities in other axes are found as well in Figure 6b,c. Because two or three motors should be actuated simultaneously to apply the step input Usp as described in Equation (5), the different transient responses of each motor can cause transient responses in other axes.

3.3. Tracking of Unstimulated Behavior

To demonstrate the performance of the developed TOLC, a walking fruit fly was tracked on the device without any external stimulus in the dark chamber. The locomotion of the freely walking fruit fly was measured for five minutes. The regenerated trajectory in the virtual coordinate shows the overall path, whose total travel distance of a fly was 957 mm (Figure 7a). The position and orientation during the experiment in Figure 7b show that the fly walks and stops spontaneously on the TOLC. Figure 7c shows the trajectory information of the single bout illustrated in the red inset box in Figure 7a. During this bout, the fly moved forward and turned right (clockwise), and the tracking system compensated its error to maintain the fruit fly position in the field of view. The NIR images of the tracked fly at each time point is shown in Figure 7d. Once the fly walked, the TOLC system began to compensate its position and orientation error and followed behind the fly (Figure 7e–g) because our feedback control system relies on the error only. There are some fluctuations of the heading of the fruit fly in Figure 7g because the body of a fruit fly oscillates when it walks.
Figure 8 shows the error efly during a single bout movement in Figure 7d. The distance error in Figure 8a shows that the error increases once the fly moves, and the error is kept around 0.7 mm after the TOLC begin to cancel the error. When the fly accelerated at around 0.7 s, the error in the x-axis increased, but it decreased back after the system compensated the error. In Figure 8b, the error ex is normally larger than ey because a fly mostly walks forward and the TOLC controls a heading angle toward the positive direction of the x-axis in the image coordinate. Thus, an error normally increases more along its longitudinal direction (ex) than its lateral direction (ey) during motion. In Figure 8c, the heading error increased when a fly turned at around 1.1 s, but the error decreased after the system compensated the error. At the end of the movement, the position and heading error decreased to zero.

3.4. Positive Phototaxis of Drosophila

Normally, a fruit fly moves toward the light, called positive phototaxis [39]. We observed live behavior during positive phototaxis in a freely walking fruit fly to demonstrate the potential use of the TOLC. In a dark chamber, LEDs emit broadband white light either on the left or right side of the fly walking direction as illustrated in Figure 9a. The location of LEDs is 183 mm apart from the fly behavior chamber and maintained because the TOLC maintains a heading of the walking fruit fly toward the same direction. Before the experiment, the fruit fly is placed on the TOLC in the dark chamber for five minutes. Then, the LEDs were turned on and toggled between the left and right sides every 30 s. Figure 9b shows the heading angles ϕfly for 180 s. The fly turned and moved to the right (clockwise) for the first 30 s because the LEDs on the right side were on while those on the left side were off. After 30 s, the left LEDs turned on while the right LEDs were off. The fruit fly switched its direction to the left (counterclockwise) where when LEDs light toggled. During the experiment in Figure 9, the total travel distance is 1430 mm with an average speed of 12.38 mm/s, which is measured when it is walking only. This experimental data clearly shows the positive phototactic movement of an adult fruit fly.

4. Discussion

The range of the average velocity of a walking fruit fly on the TOLC is from 10 to 40 mm/s, where it is a similar range of the walking velocity in the previous studies [40,41]. The overall average walking velocity is 14.2 ± 4.20 mm/s, which is measured from 270 min of data across 20 flies in total. We measured the mobility, the ratio between bout (walking) and rest (interbout), and it shows that a fruit fly moves actively 50.4 ± 17.13% of the time on the TOLC. We assumed that a fly is at rest when the position change is less than one pixel which is equal to 5.08 mm/s to eliminate the noise. Figure 10a,b show the relationship between the distance error (ex2 + ey2)1/2 and the speed of a walking fruit fly on the TOLC. The distance error increases when a fly moves faster (Figure 10b). However, the distance error is mostly less than 1.0 mm regardless of the velocity of a walking fly. The distribution in Figure 10a shows that a fly is normally walking less than 20 mm/s, and the TOLC maintains its position within a 1.0 mm distance error.
Figure 10c shows the cumulative probability of distance error of walking fruit flies. In Figure 10c,d, the error data during entire experiments (blue) is higher than that while a fruit fly is in motion (orange) because error becomes almost zero when a fruit fly stops between walking bouts. We found that the distance error is less than 1 mm for 90.3% of the experiment time and less than 1.25 mm for 95.9% of the experiment time. While the fruit fly is in motion, the position error was less than 1 mm for 82.4% of the experiment time and less than 1.25 mm for 92.4% of the experiment time. Even though we exclude the data when a fruit fly is at rest, the system still keeps a position error less than 2 mm for more than 99.3% of the time. Similarly, Figure 10d shows the cumulative probability of heading error eϕ of walking fruit fly. The heading error was maintained less than 5° for 80.2% of the experiment time and less than 8° for 90.7% of the experiment time. While a fruit fly is in motion, the heading error was maintained less than 5° for 68.8% of the experiment time and less than 8° 85.0% of the experiment time.

5. Conclusions

Here, we demonstrate the utility of the transparent omnidirectional locomotion compensator (TOLC) for tracking behavior in a freely walking fruit fly. The inverted imaging system with the transparent sphere secures the space around and above the chamber, where an additional apparatus such as virtual reality, argument reality, and the optical microscope can be integrated into the TOLC system. In the TOLC system, a fruit fly walks on the transparent sphere while the sphere rotates in the opposite direction of the movement to cancel out its motion. Because three omnidirectional wheels and servomotors control rotations of the sphere, the TOLC system can compensate not only the position but also the heading of a fly simultaneously.
The results have demonstrated that a fly can walk freely at 14.2 mm/s speed on average on the TOLC system, and the ratio of active walking is greater than 50% of the time. The TOLC system maintains the position and heading error of a freely walking fly less than 1 mm for 90.3% of the time and 5° for 80.2% of the time, respectively. An advanced control method such as Model Predictive Control [42] can improve the tracking performance of the TOLC system in the future. In addition, the phototaxis behavior of a freely walking fruit fly has been demonstrated to validate the potential utilization of the TOLC system in various behavioral experiments.
The TOLC system allows us to observe a freely walking fly without physical tethering. Thus, there is no potential injury during the experiment due to tethering, which is ideal for long-term research for multiple days and weeks. Additionally, we remain future work to improve the tracking performance of the TOLC system and integrate it with other apparatus such as an optical microscope for internal organ and brain imaging while behaving.

Supplementary Materials

The following are available online at https://www.mdpi.com/1424-8220/21/5/1651/s1, Video S1. A walking fruit fly on TOLC. Video S2. A walking fruit fly on TOLC (NIR Behavior Images). Red: current and past fly position, Green: current and past sphere position. The green circle is the target position of the tracking. The left bottom shows the overall trajectory. Video S3. Phototaxis of a walking fruit fly on TOLC. The white circle illustrates the direction of the LED light. The bottom graph shows the orientation changes in real-time (same date with Figure 10b). Red: current fly position. Green circle: the target position of the tracking. The left bottom shows the overall trajectory.

Author Contributions

Conceptualization, D.H.K. and R.J.W.; methodology, P.P., J.B., T.C. and D.H.K.; software, P.P. and D.H.K.; formal analysis, P.P. and D.H.K.; investigation, P.P.; writing—original draft preparation, P.P.; writing—review and editing, P.P., R.J.W., and D.H.K.; supervision, D.H.K.; All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by startup funds from Kennesaw State University and grant #1RO1AG059683-01 from National Institute on Health (NIH)/National Institute on Aging (NIA).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study can be provided by the corresponding authors upon reasonable request.

Acknowledgments

The authors would like to thank Suddarsun Shivakumar for his initial contribution to this project. Thanks also to Jianming Wen and Yanhua Zhai for their help in optical power measurement.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Webb, B. What does robotics offer animal behaviour? Anim. Behav. 2000, 60, 545–558. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Patricelli, G.L. Robotics in the Study of Animal Behavior. In Encyclopedia of Animal Behavior; Academic Press: Cambridge, MA, USA, 2010; pp. 91–99. [Google Scholar]
  3. Klein, B.A.; Stein, J.; Taylor, R.C. Robots in the service of animal behavior. Commun. Integr. Biol. 2012, 5, 466–472. [Google Scholar] [CrossRef]
  4. Shi, Q.; Gao, Z.; Jia, G.; Li, C.; Huang, Q.; Ishii, H.; Takanishi, A.; Fukuda, T. Implementing Rat-Like Motion for a Small-Sized Biomimetic Robot Based on Extraction of Key Movement Joints. IEEE Trans. Robot. 2020, 1–16. [Google Scholar] [CrossRef]
  5. Romano, D.; Benelli, G.; Kavallieratos, N.G.; Athanassiou, C.G.; Canale, A.; Stefanini, C. Beetle-robot hybrid interaction: Sex, lateralization and mating experience modulate behavioural responses to robotic cues in the larger grain borer Prostephanus truncatus (Horn). Biol. Cybern. 2020, 114, 473–483. [Google Scholar] [CrossRef]
  6. Jolly, L.; Pittet, F.; Caudal, J.P.; Mouret, J.B.; Houdelier, C.; Lumineau, S.; de Margerie, E. Animal-to-robot social attachment: Initial requisites in a gallinaceous bird. Bioinspiration Biomim. 2016, 11, 016007. [Google Scholar] [CrossRef] [PubMed]
  7. Bidaye, S.S.; Machacek, C.; Wu, Y.; Dickson, B.J. Neuronal Control of Drosophila Walking Direction. Science 2014, 344, 97. [Google Scholar] [CrossRef]
  8. Donelson, N.C.; Kim, E.Z.; Slawson, J.B.; Vecsey, C.G.; Huber, R.; Griffith, L.C. High-resolution positional tracking for long-term analysis of Drosophila sleep and locomotion using the “tracker” program. PLoS ONE 2012, 7, e37250. [Google Scholar] [CrossRef]
  9. Censi, A.; Straw, A.D.; Sayaman, R.W.; Murray, R.M.; Dickinson, M.H. Discriminating external and internal causes for heading changes in freely flying Drosophila. PLoS Comput. Biol. 2013, 9, e1002891. [Google Scholar] [CrossRef] [Green Version]
  10. Gowda, S.B.M.; Paranjpe, P.D.; Reddy, O.V.; Thiagarajan, D.; Palliyil, S.; Reichert, H.; VijayRaghavan, K. GABAergic inhibition of leg motoneurons is required for normal walking behavior in freely moving Drosophila. Proc. Natl. Acad. Sci. USA 2018, 115, E2115–E2124. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  11. Bath, D.E.; Stowers, J.R.; Hormann, D.; Poehlmann, A.; Dickson, B.J.; Straw, A.D. FlyMAD: Rapid thermogenetic control of neuronal activity in freely walking Drosophila. Nat. Methods 2014, 11, 756–762. [Google Scholar] [CrossRef]
  12. Tinkerhess, M.J.; Ginzberg, S.; Piazza, N.; Wessells, R.J. Endurance training protocol and longitudinal performance assays for Drosophila melanogaster. J. Vis. Exp. 2012. [Google Scholar] [CrossRef] [Green Version]
  13. Mendez, S.; Watanabe, L.; Hill, R.; Owens, M.; Moraczewski, J.; Rowe, G.C.; Riddle, N.C.; Reed, L.K. The TreadWheel: A Novel Apparatus to Measure Genetic Variation in Response to Gently Induced Exercise for Drosophila. PLoS ONE 2016, 11, e0164706. [Google Scholar] [CrossRef]
  14. Berlandi, J.; Lin, F.J.; Ambree, O.; Rieger, D.; Paulus, W.; Jeibmann, A. Swing Boat: Inducing and Recording Locomotor Activity in a Drosophila melanogaster Model of Alzheimer’s Disease. Front. Behav. Neurosci. 2017, 11, 159. [Google Scholar] [CrossRef] [Green Version]
  15. Grover, D.; Katsuki, T.; Greenspan, R.J. Flyception: Imaging brain activity in freely walking fruit flies. Nat. Methods 2016, 13, 569–572. [Google Scholar] [CrossRef]
  16. Fujiwara, T.; Cruz, T.L.; Bohnslav, J.P.; Chiappe, M.E. A faithful internal representation of walking movements in the Drosophila visual system. Nat. Neurosci. 2017, 20, 72–81. [Google Scholar] [CrossRef]
  17. Kain, J.; Stokes, C.; Gaudry, Q.; Song, X.; Foley, J.; Wilson, R.; de Bivort, B. Leg-tracking and automated behavioural classification in Drosophila. Nat. Commun. 2013, 4, 1910. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Seelig, J.D.; Chiappe, M.E.; Lott, G.K.; Dutta, A.; Osborne, J.E.; Reiser, M.B.; Jayaraman, V. Two-photon calcium imaging from head-fixed Drosophila during optomotor walking behavior. Nat. Methods 2010, 7, 535–540. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Kohatsu, S.; Yamamoto, D. Visually induced initiation of Drosophila innate courtship-like following pursuit is mediated by central excitatory state. Nat. Commun. 2015, 6, 6457. [Google Scholar] [CrossRef]
  20. Aimon, S.; Katsuki, T.; Jia, T.; Grosenick, L.; Broxton, M.; Deisseroth, K.; Sejnowski, T.J.; Greenspan, R.J. Fast near-whole-brain imaging in adult Drosophila during responses to stimuli and behavior. PLoS Biol. 2019, 17, e2006732. [Google Scholar] [CrossRef] [Green Version]
  21. Chen, C.L.; Hermans, L.; Viswanathan, M.C.; Fortun, D.; Aymanns, F.; Unser, M.; Cammarato, A.; Dickinson, M.H.; Ramdya, P. Imaging neural activity in the ventral nerve cord of behaving adult Drosophila. Nat. Commun. 2018, 9, 4390. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  22. Huang, C.; Maxey, J.R.; Sinha, S.; Savall, J.; Gong, Y.Y.; Schnitzer, M.J. Long-term optical brain imaging in live adult fruit flies. Nat. Commun. 2018, 9, 872. [Google Scholar] [CrossRef] [PubMed]
  23. Fry, S.N.; Rohrseitz, N.; Straw, A.D.; Dickinson, M.H. TrackFly: Virtual reality for a behavioral system analysis in free-flying fruit flies. J. Neurosci. Methods 2008, 171, 110–117. [Google Scholar] [CrossRef] [PubMed]
  24. Naik, H.; Bastien, R.; Navab, N.; Couzin, I.D. Animals in Virtual Environments. IEEE Trans. Vis. Comput. Graph. 2020, 26, 2073–2083. [Google Scholar] [CrossRef] [Green Version]
  25. Stowers, J.R.; Fuhrmann, A.; Hofbauer, M.; Streinzer, M.; Schmid, A.; Dickinson, M.H.; Straw, A.D. Reverse Engineering Animal Vision with Virtual Reality and Genetics. Computer 2014, 47, 38–45. [Google Scholar] [CrossRef]
  26. Fry, S.N.; Sayaman, R.; Dickinson, M.H. The aerodynamics of hovering flight in Drosophila. J. Exp. Biol. 2005, 208, 2303–2318. [Google Scholar] [CrossRef] [Green Version]
  27. Dahmen, H.; Wahl, V.L.; Pfeffer, S.E.; Mallot, H.A.; Wittlinger, M. Naturalistic path integration of Cataglyphis desert ants on an air-cushioned lightweight spherical treadmill. J. Exp. Biol. 2017, 220, 634–644. [Google Scholar] [CrossRef] [Green Version]
  28. Witney, A.G.; Hedwig, B. Kinematics of phonotactic steering in the walking cricket Gryllus bimaculatus (de Geer). J. Exp. Biol. 2011, 214 Pt 1, 69–79. [Google Scholar] [CrossRef] [Green Version]
  29. Götz, K.G.; Wenking, H. Visual control of locomotion in the walking fruitflyDrosophila. J. Comp. Physiol. 1973, 85, 235–266. [Google Scholar] [CrossRef]
  30. Kramer, E. The orientation of walking honeybees in odour fields with small concentration gradients. Physiol. Entomol. 1976, 1, 27–37. [Google Scholar] [CrossRef]
  31. Nagaya, N.; Mizumoto, N.; Abe, M.S.; Dobata, S.; Sato, R.; Fujisawa, R. Anomalous diffusion on the servosphere: A potential tool for detecting inherent organismal movement patterns. PLoS ONE 2017, 12, e0177480. [Google Scholar] [CrossRef] [Green Version]
  32. Shigaki, S.; Fukushima, S.; Kurabayashi, D.; Sakurai, T.; Kanzaki, R. A novel method for full locomotion compensation of an untethered walking insect. Bioinspiration Biomim. 2016, 12, 016005. [Google Scholar] [CrossRef] [PubMed]
  33. Masaaki, K.; Takaya, O. Development of a robot balancing on a ball. In Proceedings of the 2008 International Conference on Control, Automation and Systems, Seoul, Korea, 14–17 October 2008; pp. 433–438. [Google Scholar]
  34. Lauwers, T.B.; Kantor, G.A.; Hollis, R.L. A dynamically stable single-wheeled mobile robot with inverse mouse-ball drive. In Proceedings of the 2006 IEEE International Conference on Robotics and Automation (ICRA 2006), Orlando, FL, USA, 15–19 May 2006; pp. 2884–2889. [Google Scholar]
  35. Nagarajan, U.; Mampetta, A.; Kantor, G.A.; Hollis, R.L. State transition, balancing, station keeping, and yaw control for a dynamically stable single spherical wheel mobile robot. In Proceedings of the 2009 IEEE International Conference on Robotics and Automation, Kobe, Japan, 12–17 May 2009; pp. 998–1003. [Google Scholar]
  36. Moreno, J.; Clotet, E.; Lupiañez, R.; Tresanchez, M.; Martínez, D.; Pallejà, T.; Casanovas, J.; Palacín, J. Design, Implementation and Validation of the Three-Wheel Holonomic Motion System of the Assistant Personal Robot (APR). Sensors 2016, 16, 1658. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  37. Zhang, Z. A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1330–1334. [Google Scholar] [CrossRef] [Green Version]
  38. Robinson, J.D.; Holland, J.B.; Hayes, M.J.D.; Langlois, R.G. Velocity-Level Kinematics of the Atlas Spherical Orienting Device Using Omni-Wheels. Trans. Can. Soc. Mech. Eng. 2005, 29, 691–700. [Google Scholar] [CrossRef]
  39. Kwon, S.-H.; Bae, J.-E.; Lee, S.-H.; Lee, S.-D.; Chae, K.-S. Effects of gravity on positive phototaxis in fruit fly Drosophila melanogaster. Entomol. Res. 2016, 46, 272–277. [Google Scholar] [CrossRef]
  40. Mendes, C.S.; Bartos, I.; Akay, T.; Marka, S.; Mann, R.S. Quantification of gait parameters in freely walking wild type and sensory deprived Drosophila melanogaster. eLife 2013, 2, e00231. [Google Scholar] [CrossRef]
  41. Wosnitza, A.; Bockemühl, T.; Dübbert, M.; Scholz, H.; Büschges, A. Inter-leg coordination in the control of walking speed in Drosophila. J. Exp. Biol. 2013, 216, 480. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  42. Camacho, E.F.; Alba, C.B. Model Predictive Control, 2nd ed.; Springer: London, UK, 2007. [Google Scholar]
Figure 1. (a) Schematic drawing of the Transparent Omnidirectional Locomotion Compensator (TOLC) for a freely walking fruit fly (b,c) Design of Experimental set-up (b) isotropic view (c) front view (d) A real picture of the developed experiment device, the overall size is approximately 304.8 × 304.8 × 207 mm (width × depth × height) (e) A walking fruit fly on the real experimental set-up (see Video S1).
Figure 1. (a) Schematic drawing of the Transparent Omnidirectional Locomotion Compensator (TOLC) for a freely walking fruit fly (b,c) Design of Experimental set-up (b) isotropic view (c) front view (d) A real picture of the developed experiment device, the overall size is approximately 304.8 × 304.8 × 207 mm (width × depth × height) (e) A walking fruit fly on the real experimental set-up (see Video S1).
Sensors 21 01651 g001
Figure 2. The illumination system for behavior imaging. (a) The top view of the NIR LEDs (red rectangle), 40 LEDs (a set of 10 LEDs in every 90°) are installed around the sphere. (b) The side view of the illumination system and simulation of ray-tracing (red lines) of 2 LEDs only shown. (c) The detailed results of ray-tracing simulation in the dotted box in (b).
Figure 2. The illumination system for behavior imaging. (a) The top view of the NIR LEDs (red rectangle), 40 LEDs (a set of 10 LEDs in every 90°) are installed around the sphere. (b) The side view of the illumination system and simulation of ray-tracing (red lines) of 2 LEDs only shown. (c) The detailed results of ray-tracing simulation in the dotted box in (b).
Sensors 21 01651 g002
Figure 3. (a) An example of a captured NIR image of a walking fruit fly using the illumination system. The scale bar is 1 mm. (b) binarized image of the image in (a). The configuration of a walking fruit fly on the image pcam = [xcam, ycam, ϕcam], which are the position in the x- and y-axis (red dot), and the orientation with respect to the x-axis (red line). The origin of the image coordinate is located on the left top corner. The pixel distance of a NIR image is 25.7 μm/pixel.
Figure 3. (a) An example of a captured NIR image of a walking fruit fly using the illumination system. The scale bar is 1 mm. (b) binarized image of the image in (a). The configuration of a walking fruit fly on the image pcam = [xcam, ycam, ϕcam], which are the position in the x- and y-axis (red dot), and the orientation with respect to the x-axis (red line). The origin of the image coordinate is located on the left top corner. The pixel distance of a NIR image is 25.7 μm/pixel.
Sensors 21 01651 g003
Figure 4. Image Distortion. (a) The original image of the 1 mm spaced pattern. Yellow dots are the centers of each object. The scale bar is 1 mm. (b) Undistorted images from the image in (a). The red and yellow dots are the centers of each object in the undistorted images and the original images, respectively. The radius of the blue dotted circle in (a,b) is 4 mm. (c) The measured distortion rate of the imaging system.
Figure 4. Image Distortion. (a) The original image of the 1 mm spaced pattern. Yellow dots are the centers of each object. The scale bar is 1 mm. (b) Undistorted images from the image in (a). The red and yellow dots are the centers of each object in the undistorted images and the original images, respectively. The radius of the blue dotted circle in (a,b) is 4 mm. (c) The measured distortion rate of the imaging system.
Sensors 21 01651 g004
Figure 5. Kinematics of the TOLC system. (a) The overall system. The sphere is a transparent acrylic sphere and a gray block is an omnidirectional wheel. Only one wheel among three wheels is shown. The red rectangle is the field of view of a behavior image camera. α is of the omnidirectional wheels respected to the xy-plane. rsp is a radius of a transparent sphere. (b) The top view of the system. β is the angle of the omnidirectional wheels 1, 2, and 3 with respect to the x-axis. (c) Error of the walking fruit fly on the image efly (ex, ey, eϕ), which is the distance from the center of an image. The origin is the center of an image (not shown in here). The coordinate of a NIR image aligns the sphere coordinate.
Figure 5. Kinematics of the TOLC system. (a) The overall system. The sphere is a transparent acrylic sphere and a gray block is an omnidirectional wheel. Only one wheel among three wheels is shown. The red rectangle is the field of view of a behavior image camera. α is of the omnidirectional wheels respected to the xy-plane. rsp is a radius of a transparent sphere. (b) The top view of the system. β is the angle of the omnidirectional wheels 1, 2, and 3 with respect to the x-axis. (c) Error of the walking fruit fly on the image efly (ex, ey, eϕ), which is the distance from the center of an image. The origin is the center of an image (not shown in here). The coordinate of a NIR image aligns the sphere coordinate.
Sensors 21 01651 g005
Figure 6. Step input response of the system. The step inputs are (a) Usp = [1, 0, 0], (b) Usp = [0, 1, 0] and (c) Usp = [0, 0, 1], respectively. The black solid line, red dashed line and blue dash-dotted line are the angular velocity ω in x-axis, y-axis and z-axis respectively.
Figure 6. Step input response of the system. The step inputs are (a) Usp = [1, 0, 0], (b) Usp = [0, 1, 0] and (c) Usp = [0, 0, 1], respectively. The black solid line, red dashed line and blue dash-dotted line are the angular velocity ω in x-axis, y-axis and z-axis respectively.
Sensors 21 01651 g006
Figure 7. The behavior of the freely walking fruit fly on the TOLC system (a) An overall trajectory of a fly for 5 min. The grid size is 50 mm. The total travel distance is 957 mm. (b) The coordinates (xfly, yfly, ϕfly) of the walking fly during in the virtual coordinate. (c) The trajectory of pfly and psp for 3 s which is shown as the red trajectory in (a). A circle and square makers show the position of the fly and the sphere in virtual coordinate, respectively. An arrow shows its heading. The data are displayed every 0.5 s. The grid size is 2 mm. (d) The NIR behavior images at each time point in (c). See Video S2. The red and green are the trajectory of the walking fly and the sphere. (eg) positions pfly and psp (e) x-axis, (f) y-axis, and (g) heading ϕ of the walking fly. The solid red and dotted black lines are positions of the walking fly and the TOLC, respectively.
Figure 7. The behavior of the freely walking fruit fly on the TOLC system (a) An overall trajectory of a fly for 5 min. The grid size is 50 mm. The total travel distance is 957 mm. (b) The coordinates (xfly, yfly, ϕfly) of the walking fly during in the virtual coordinate. (c) The trajectory of pfly and psp for 3 s which is shown as the red trajectory in (a). A circle and square makers show the position of the fly and the sphere in virtual coordinate, respectively. An arrow shows its heading. The data are displayed every 0.5 s. The grid size is 2 mm. (d) The NIR behavior images at each time point in (c). See Video S2. The red and green are the trajectory of the walking fly and the sphere. (eg) positions pfly and psp (e) x-axis, (f) y-axis, and (g) heading ϕ of the walking fly. The solid red and dotted black lines are positions of the walking fly and the TOLC, respectively.
Sensors 21 01651 g007
Figure 8. The error during the single bout in Figure 7c. (a) The overall distance error e = e x 2 + e y 2 , (b) The errors ex and ey (c) the heading errors eϕ in the image coordinate.
Figure 8. The error during the single bout in Figure 7c. (a) The overall distance error e = e x 2 + e y 2 , (b) The errors ex and ey (c) the heading errors eϕ in the image coordinate.
Sensors 21 01651 g008
Figure 9. Phototaxis experiment setup and results (a) Schematics of the experimental setup. Broadband light LEDs are located on both the left and right sides. Lights on each side are toggled every 30 s. (b) The heading angle ϕfly of the walking fly during the experiment. The fly showed a positive phototaxis. When the right LEDs are on, the fly moves toward the right (Clockwise rotation, the heading angle decreases). When the left LEDs are on, it moves toward the left (Counter-clockwise rotation, the heading angle increases). (c,d) The example NIR imaged during the experiment. The red color line is the path of the fly for the last one second. The white circle (added artificially) is the location of the LED. The scale bar is 1 mm. (c) NIR image at 49.4 s when the left LED is on. (d) NIR image at 74.7 s when the left LED is on. See Video S3.
Figure 9. Phototaxis experiment setup and results (a) Schematics of the experimental setup. Broadband light LEDs are located on both the left and right sides. Lights on each side are toggled every 30 s. (b) The heading angle ϕfly of the walking fly during the experiment. The fly showed a positive phototaxis. When the right LEDs are on, the fly moves toward the right (Clockwise rotation, the heading angle decreases). When the left LEDs are on, it moves toward the left (Counter-clockwise rotation, the heading angle increases). (c,d) The example NIR imaged during the experiment. The red color line is the path of the fly for the last one second. The white circle (added artificially) is the location of the LED. The scale bar is 1 mm. (c) NIR image at 49.4 s when the left LED is on. (d) NIR image at 74.7 s when the left LED is on. See Video S3.
Sensors 21 01651 g009
Figure 10. The performance of the TOLC. (a) The relationship between the distance error and the velocity of a walking fly. (b) The average error distance error for every 5.08 mm/s. The data point and bar represent the mean value and standard deviation. (c,d) The cumulative probability distribution of (c) the position error and (d) the heading error. The error data for entire experiments show as a blue bar, and those while a fly is in motion shows as an orange bar. We assumed that a fly is walking when its velocity is over >5.08 mm/s. The total experiment time is approximately 270 min across 20 flies and about 3.24 million images are processed in total.
Figure 10. The performance of the TOLC. (a) The relationship between the distance error and the velocity of a walking fly. (b) The average error distance error for every 5.08 mm/s. The data point and bar represent the mean value and standard deviation. (c,d) The cumulative probability distribution of (c) the position error and (d) the heading error. The error data for entire experiments show as a blue bar, and those while a fly is in motion shows as an orange bar. We assumed that a fly is walking when its velocity is over >5.08 mm/s. The total experiment time is approximately 270 min across 20 flies and about 3.24 million images are processed in total.
Sensors 21 01651 g010
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pun, P.; Brown, J.; Cobb, T.; Wessells, R.J.; Kim, D.H. Navigation of a Freely Walking Fruit Fly in Infinite Space Using a Transparent Omnidirectional Locomotion Compensator (TOLC). Sensors 2021, 21, 1651. https://doi.org/10.3390/s21051651

AMA Style

Pun P, Brown J, Cobb T, Wessells RJ, Kim DH. Navigation of a Freely Walking Fruit Fly in Infinite Space Using a Transparent Omnidirectional Locomotion Compensator (TOLC). Sensors. 2021; 21(5):1651. https://doi.org/10.3390/s21051651

Chicago/Turabian Style

Pun, Pikam, Jacobs Brown, Tyler Cobb, Robert J. Wessells, and Dal Hyung Kim. 2021. "Navigation of a Freely Walking Fruit Fly in Infinite Space Using a Transparent Omnidirectional Locomotion Compensator (TOLC)" Sensors 21, no. 5: 1651. https://doi.org/10.3390/s21051651

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop