Efficient Vision-Aided Inertial Navigation Using a Rolling-Shutter Camera with Inaccurate Timestamps

Information

  • Patent Application
  • 20230408262
  • Publication Number
    20230408262
  • Date Filed
    August 01, 2023
    9 months ago
  • Date Published
    December 21, 2023
    4 months ago
Abstract
Vision-aided inertial navigation techniques are described. In one example, a vision-aided inertial navigation system (VINS) comprises an image source to produce image data at a first set of time instances along a trajectory within a three-dimensional (3D) environment, wherein the image data captures features within the 3D environment at each of the first time instances. An inertial measurement unit (IMU) to produce IMU data for the VINS along the trajectory at a second set of time instances that is misaligned with the first set of time instances, wherein the IMU data indicates a motion of the VINS along the trajectory. A processing unit comprising an estimator that processes the IMU data and the image data to compute state estimates for 3D poses of the IMU at each of the first set of time instances and 3D poses of the image source at each of the second set of time instances along the trajectory. The estimator computes each of the poses for the image source as a linear interpolation from a subset of the poses for the IMU along the trajectory.
Description
TECHNICAL FIELD

This disclosure relates to navigation and, more particularly, to vision-aided inertial navigation.


BACKGROUND

In general, a Vision-aided Inertial Navigation System (VINS) fuses data from a camera and an Inertial Measurement Unit (IMU) to track the six-degrees-of-freedom (d.o.f.) position and orientation (pose) of a sensing platform. In this way, the VINS combines complementary sensing capabilities. For example, an IMU can accurately track dynamic motions over short time durations, while visual data can be used to estimate the pose displacement (up to scale) between consecutive views. For several reasons, VINS has gained popularity within the robotics community as a method to address GPS-denied navigation.


Among the methods employed for tracking the six-degrees-of-freedom (d.o.f.) position and orientation (pose) of a sensing platform within GPS-denied environments, vision-aided inertial navigation is one of the most prominent, primarily due to its high precision and low cost. During the past decade, VINS have been successfully applied to spacecraft, automotive, and personal localization, demonstrating real-time performance.


SUMMARY

In general, this disclosure describes various techniques for use within a vision-aided inertial navigation system (VINS). More specifically, this disclosure presents a linear-complexity inertial navigation system for processing rolling-shutter camera measurements. To model the time offset of each camera row between the IMU measurements, an interpolation-based measurement model is disclosed herein, which considers both the time synchronization effect and the image read-out time. Furthermore, Observability-Constrained Extended Kalman filter (OC-EKF) is described for improving the estimation consistency and accuracy, based on the system's observability properties.


In order to develop a VINS operable on mobile devices, such as cell phones and tablets, one needs to consider two important issues, both due to the commercial-grade underlying hardware: (i) the unknown and varying time offset between the camera and IMU clocks, and (ii) the rolling-shutter effect caused by certain image sensors, such as typical CMOS sensors. Without appropriately modelling their effect and compensating for them online, the navigation accuracy will significantly degrade. In one example, a linear-complexity technique is introduced for fusing inertial measurements with time-misaligned, rolling-shutter images using a highly efficient and precise linear interpolation model.


As described herein, compared to alternative methods, the proposed approach achieves similar or better accuracy, while obtaining significant speed-up. The high accuracy of the proposed techniques is demonstrated through real-time, online experiments on a cellphone.


Further, the techniques may provide advantages over conventional techniques that attempt to use offline methods for calibrating a constant time offset between a camera or other image source and an IMU, or the readout time of a rolling-shutter camera. For example, the equipment required for offline calibration is not always available. Furthermore, since the time offset between the two clocks may jitter, the result of an offline calibration process may be of limited use.


The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1 is a block diagram illustrating a vision-aided inertial navigation system comprising an IMU and a camera.



FIG. 2 is a graph illustrating example time synchronization and rolling-shutter effects.



FIGS. 3A and 3B are graphs that illustrate an example cell phone's trajectory between poses.



FIGS. 4A and 4B are graphs plotting Monte-Carlo simulations comparing: (a) Position RMSE (b) Orientation root-mean square errors (RMSE), over 20 simulated runs.



FIGS. 5A and 5B are graphs illustrating experimental results. FIG. 5A illustrates experiment 1 and plots the trajectory of the cell phone estimated by the algorithms under consideration. FIG. 5B illustrates experiment 2 and plots the trajectory of the cell phone estimated online.



FIG. 6 is a graph illustrating a computational time comparison for the measurement compression QR, employed in the MSC-KF between the proposed measurement model and a conventional method.



FIG. 7 shows a detailed example of various devices that may be configured to implement some embodiments in accordance with the current disclosure.





DETAILED DESCRIPTION

The increasing range of sensing capabilities offered by modern mobile devices, such as cell phones, as well as their increasing computational resources make them ideal for applying VINS. Fusing visual and inertial measurements on a cell phone or other consumer-oriented mobile device, however, requires addressing two key problems, both of which are related to the low-cost, commercial-grade hardware used. First, the camera and inertial measurement unit (IMU) often have separate clocks, which may not be synchronized. Hence, visual and inertial measurements which may correspond to the same time instant will be reported with a time difference between them. Furthermore, this time offset may change over time due to inaccuracies in the sensors' clocks, or clock jitters from CPU overloading. Therefore, high-accuracy navigation on a cell phone requires modeling and online estimating such time parameters. Second, commercial-grade CMOS sensors suffer from the rolling-shutter effect; that is each pixel row of the imager is read at a different time instant, resulting in an ensemble distorted image. Thus, an image captured by a rolling-shutter camera under motion will contain bearing measurements to features which are recorded at different camera poses. Achieving high-accuracy navigation requires properly modeling and compensating for this phenomenon.


It is recognized herein that both the time synchronization and rolling-shutter effect correspond to a time offset between visual and inertial measurements. A new measurement model is introduced herein for fusing rolling-shutter images that have a time offset with inertial measurements. By exploiting the underlying kinematic motion model, one can employ the estimated linear and rotational velocity for relating camera measurements with IMU poses corresponding to different time instants.



FIG. 1 is a block diagram illustrating a vision-aided inertial navigation system (VINS) 10 comprising at least one image source 12 and an inertial measurement unit (IMU) 14. VINS 10 may be a standalone device or may be integrated within our coupled to a mobile device, such as a robot, a mobile computing device such as a mobile phone, tablet, laptop computer or the like.


Image source 12 images an environment in which VINS 10 operates so as to produce image data 14. That is, image source 12 provides image data 14 that captures a number of features visible in the environment. Image source 12 may be, for example, one or more cameras that capture 2D or 3D images, a laser scanner or other optical device that produces a stream of 1D image data, a depth sensor that produces image data indicative of ranges for features within the environment, a stereo vision system having multiple cameras to produce 3D information, a Doppler radar and the like. In this way, image data 14 provides exteroceptive information as to the external environment in which VINS 10 operates. Moreover, image source 12 may capture and produce image data 14 at time intervals in accordance a first clock associated with the camera source. In other words, image source 12 may produce image data 14 at each of a first set of time instances along a trajectory within the three-dimensional (3D) environment, wherein the image data captures features 15 within the 3D environment at each of the first time instances.


IMU 16 produces IMU data 18 indicative of a dynamic motion of VINS 10. IMU 14 may, for example, detect a current rate of acceleration using one or more accelerometers as VINS 10 is translated, and detect changes in rotational attributes like pitch, roll and yaw using one or more gyroscopes. IMU 14 produces IMU data 18 to specify the detected motion. In this way, IMU data 18 provides proprioceptive information as to the VINS 10 own perception of its movement and orientation within the environment. Moreover, IMU 16 may produce IMU data 18 at time intervals in accordance a clock associated with the IMU [[camera source]]. In this way, IMU 16 produces IMU data 18 for VINS 10 along the trajectory at a second set of time instances, wherein the IMU data indicates a motion of the VINS along the trajectory. In many cases, IMU 16 may produce IMU data 18 at much faster time intervals than the time intervals at which image source 12 produces image data 14. Moreover, in some cases the time instances for image source 12 and IMU 16 may not be precisely aligned such that a time offset exists between the measurements produced, and such time offset may vary over time. In many cases the time offset may be unknown, thus leading to time synchronization issues.


In general, estimator 22 of processing unit 20 process image data 14 and IMU data 18 to compute state estimates for the degrees of freedom of VINS 10 and, from the state estimates, computes position, orientation, speed, locations of observable features, a localized map, an odometry or other higher order derivative information represented by VINS data 24. In one example, estimator 22 comprises an Extended Kalman Filter (EKF) that estimates the 3D IMU pose and linear velocity together with the time-varying IMU biases and a map of visual features 15. Estimator 22 may, in accordance with the techniques described herein, apply estimation techniques that compute state estimates for 3D poses of IMU 16 at each of the first set of time instances and 3D poses of image source 12 at each of the second set of time instances along the trajectory.


As described herein, estimator 12 applies an interpolation-based measurement model that allows estimator 12 to compute each of the poses for image source 12, i.e., the poses at each of the first set of time instances along the trajectory, as a linear interpolation of a selected subset of the poses computed for the IMU. In one example, estimator 22 may select the subset of poses for IMU 16 from which to compute a given pose for image source 12 as those IMU poses associated with time instances that are adjacent along the trajectory to the time instance for the pose being computed for the image source. In another example, estimator 22 may select the subset of poses for IMU 16 from which to compute a given pose for image source 12 as those IMU poses associated with time instances that are adjacent within a sliding window of cached IMU poses and that have time instances that are closest to the time instance for the pose being computed for the image source. That is, when computing state estimates in real-time, estimator 22 may maintain a sliding window, referred to as the optimization window, of 3D poses previously computed for IMU 12 at the first set of time instances along the trajectory and may utilize adjacent IMU poses within this optimization window to linearly interpolate an intermediate pose for image source 12 along the trajectory.


The techniques may be particularly useful in addressing the rolling shutter problem described herein. For example, in one example implementation herein the image source comprises at least one sensor in which image data is captured and stored in a plurality of rows or other set of data structures that are read out at different times. As such, the techniques may be applied such that, when interpolating the 3D poses for the image source, estimator 22 operates on each of the rows of image data as being associated with different ones of the time instances. That is, each of the rows (data structures) is associated with a different one of the time instances along the trajectory and, therefore associated with a different one of the 3D poses computed for the image source using the interpolation-based measurement model. In this way, each of the data structures (e.g., rows) of image source 12 may be logically treated as a separate image source with respect to state estimation.


Furthermore, in one example, when computing state estimates, estimator 22 may prevent projection of the image data and IMU data along at least one unobservable degree of freedom, referred to herein as Observability-Constrained Extended Kalman filter (OC-EKF). As one example, a rotation of the sensing system around a gravity vector may be undetectable from the input of a camera of the sensing system when feature rotation is coincident with the rotation of the sensing system. Similarly, translation of the sensing system may be undetectable when observed features are identically translated. By preventing projection of image data 14 and IMU data 18 along at least one unobservable degree of freedom, the techniques may improve consistency and reduce estimation errors as compared to conventional VINS.


Example details of an estimator 22 for a vision-aided inertial navigation system (VINS) in which the estimator enforces the unobservable directions of the system, hence preventing spurious information gain and reducing inconsistency, can be found in U.S. patent application Ser. No. 14/186,597, entitled “OBSERVABILITY-CONSTRAINED VISION-AIDED INERTIAL NAVIGATION,” filed Feb. 21, 2014, and U.S. Provisional Patent Application Ser. No. 61/767,701, filed Feb. 21, 2013, the entire content of each being incorporated herein by reference.


This disclosure applies an interpolation-based camera measurement model, targeting vision-aided inertial navigation using low-grade rolling-shutter cameras. In particular, the proposed device introduces an interpolation model for expressing the camera pose of each visual measurement, as a function of adjacent IMU poses that are included in the estimator's optimization window. This method offers a significant speedup compared to other embodiments for fusing visual and inertial measurements while compensating for varying time offset and rolling shutter. In one example, the techniques may be further enhanced by determining the system's unobservable directions when applying our interpolation measurement model, and may improve the VINS consistency and accuracy by employing an Observability-Constrained Extended Kalman filter (OC-EKF). The proposed algorithm was validated in simulation, as well as through real-time, online and offline experiments using a cell phone.


Most prior work on VINS assumes a global shutter camera perfectly synchronized with the IMU. In such a model, all pixel measurements of an image are recorded at the same time instant as a particular IMU measurement. However, this is unrealistic for most consumer devices mainly for two reasons:

    • (i) The camera and IMU clocks may not be synchronized. That is, when measuring the same event, the time stamp reported by the camera and IMU will differ.
    • (ii) The camera and IMU may sample at a different frequency and phase, meaning that measurements do not necessarily occur at the same time instant. Thus, a varying time delay, td, between the corresponding camera and IMU measurements exists, which needs to be appropriately modelled.


In addition, if a rolling-shutter camera is used, an extra time offset introduced by the rolling-shutter effect, is accounted for. Specifically, the rolling-shutter camera reads the imager row by row, so the time delay for a pixel measurement in row m with image readout time tm can be computed as tm=mtr, where tr is the read time of a single row.


Although the techniques are described herein with respect to applying an interpolation-based measurement model to compute interpolated poses for image source 12 from closes poses computed for IMU 16, the techniques may readily be applied in reverse fashion such that IMU poses are computed from and relative to poses for the image source. Moreover, the techniques described herein for addresses time synchronization and rolling shutter issues can be applied to any device having multiple sensors where measurement data from the sensors are not aligned in time and may vary in time.



FIG. 2 is a graph illustrating the time synchronization and rolling-shutter effect. As depicted in FIG. 2, both the time delay of the camera, as well as the rolling-shutter effect can be represented by a single time offset, corresponding to each row of pixels. For a pixel measurement in the m-th row of the image, the time difference can be written as: t=td+tm.


Ignoring such time delays can lead to significant performance degradation. To address this problem, the proposed techniques introduce a measurement model that approximates the pose corresponding to a particular set of camera (image source) measurement as a linear interpolation (or extrapolation, if necessary) of the closest (in time) IMU poses, among the ones that comprise the estimator's optimization window.



FIGS. 3A and 3B are graphs that illustrate an example of a cell phone's trajectory between poses Ik and Ik+3. The camera measurement, Ck, is recorded at the time instant k+t between poses Ik and Ik+1. FIG. 3A shows the real cell phone trajectory. FIG. 3B shows the cell phone trajectory with linear approximation in accordance with the techniques described herein.


An interpolation-based measurement model is proposed for expressing the pose, Ik+t corresponding to image Ck (see FIG. 3A), as a function of the poses comprising the estimator's optimization window. Several methods exist for approximating a 3D trajectory as a polynomial function of time, such as the Spline method. Rather than using a high-order polynomial, a linear interpolation model is employed in the examples described herein. Such a choice is motivated by the short time period between two consecutive poses, Ik and Ik+1, that are adjacent to the pose Ik+t, which correspond to the recorded camera image. Although described with respect to linear interpolation, higher order interpolation can be employed, such as 2nd or 3rd order interpolation.


Specifically, defining {G} as the global frame of reference and an interpolation ratio λk∈[0,1] (in this case, λk is the distance between Ik and Ik+t over the distance between Ik and Ik+1), the translation interpolation GPIk+t between two IMU positions GPIk and GPIk+1 expressed in {G}, can be easily approximated as:






G
P
I

k+t
=(1=λk)GPIkkGPIk+1  (1)


In contrast, the interpolation of the frames' orientations is more complicated, due to the nonlinear representation of rotations. The proposed techniques takes advantage of two characteristics of the problem at hand for designing a simpler model: (i) The IMU pose is cloned at around 5 Hz (the same frequency as processing image measurements), thus the rotation between consecutive poses, Ik and Ik+1, is small during regular motion. The stochastic cloning is intended to maintain past IMU poses in the sliding window of the estimator. (ii) IMU pose can be cloned at the time instant closest to the image's recording time, thus the interpolated pose Ik+t is very close to the pose Ik and the rotation between them is very small.


Exploiting (i), the rotation between the consecutive IMU orientations, described by the rotation matrices IkGC and Ik+1GC, respectively expressed in {G}, can be written as:






G
I

k+1

C
I

k

G
C=cos αI−sin α└Θ┘+(1−cos α)ΘΘT≃I−α└Θ┘  (2)


where small-angle approximation is employed, └Θ┘ denotes the skew-symmetric matrix of the 3×1 rotation axis, θ, and α is the rotation angle. Similarly, according to (ii) the rotation interpolation IkIk+1C between IkGC and Ik+1GC can be written as:






I

k

I

k+1

C=cos(λkα)I−sin(λkα)└Θ┘+(1−cos(λkα))ΘΘT≃I−λkα└Θ┘  (3)


If α└Θ┘ from equations 2 and 3 is substituted, IkIk+1C can be expressed in terms of two consecutive rotations:






I

k

I

k+1

C≃(1−λk)I+GIkCGIk+1C  (4)


This interpolation model is exact at the two end points (λk=0 or 1), and less accurate for points in the middle of the interpolation interval (i.e., the resulting rotation matrix does not belong to SO(3)). Since the cloned IMU poses can be placed as close as possible to the reported time of the image, such a model can fit the purposes of the desired application.


In one example, the proposed VINS 10 utilizes a rolling-shutter camera with a varying time offset. The goal is to estimate the 3D position and orientation of a device equipped with an IMU and a rolling-shutter camera. The measurement frequencies of both sensors are assumed known, while there exists an unknown time offset between the IMU and the camera timestamps. The proposed algorithm applies a linear-complexity (in the number of features tracked) visual-inertial odometry algorithm, initially designed for inertial and global shutter camera measurements that are perfectly time synchronized. Rather than maintaining a map of the environment, the estimator described herein may utilize Multi-State Constrained Kalman Filter (MSCKF) to marginalize all observed features, exploiting all available information for estimating a sliding window of past camera poses. Further techniques are described in U.S. patent application Ser. No. 12/383,371, entitled “VISION-AIDED INERTIAL NAVIGATION,” the entire contents of which are incorporated herein by reference. The proposed techniques utilize a state vector, and system propagation uses inertial measurements. It also introduces the proposed measurement model and the corresponding EKF measurement update.


The state vector estimate is:






x=[x
I
x
I

k+n-1

. . . x
I

k
  (5)


where xI denotes the current robot pose, and xIi, for I=k+n−1, . . . , k are the cloned IMU poses in the sliding window, corresponding to the time instants of the last n camera measurements. Specifically, the current robot pose is defined as:






x
I=[IqGT GvIT GpIT bαT bgT λd λr]T


where IqG is the quaternion representation of the orientation of {G} in the IMU's frame of reference {I}, GvI and GpI are the velocity and position of {I} in {G} respectively, while ba and bg correspond to the gyroscope and accelerometer biases. The interpolation ratio can be divided into a time-variant part, λd, and a time-invariant part, λr. In our case, λd corresponds to the IMU-camera time offset, td, while λr corresponds to the readout time of an image-row, tr. Specifically,













λ
d

=


t
d


t

i

n

t

v

l








λ
r

=


t
r


t

i

n

t

v

l










(
6
)







where tintvl is the time interval between two consecutive IMU poses (known). Then, the interpolation ratio for a pixel measurement in the m-th row of the image is written as:





λ=λd+mλr  (7)


When a new image measurement arrives, the IMU pose is cloned at the time instant closest to the image recording time. The cloned IMU poses xIi are defined as:






x
I

i
=[IiqGT GpIiT λdi]T


where IiqGT, GpIiT, λdi are cloned at the time instant that the i-th image was recorded. Note, that λdi is also cloned because the time offset between the IMU and camera may change over time.


According to one case, for a system with a fixed number of cloned IMU poses, the size of the system's state vector depends on the dimension of each cloned IMU pose. In contrast to an approach proposed in Mingyang Li, Byung Hyung Kim, and Anastasios I. Mourikis. Real-time motion tracking on a cellphone using inertial sensing and a rolling-shutter camera. In Proc. of the IEEE International Conference on Robotics and Automation, pages 4697-4704, Karlsruhe, Germany, May 6-10, 2013 (herein, “Li”), which requires to also clone the linear and rotational velocities, our interpolation-based measurement model reduces the dimension of the cloned state from 13 to 7. This smaller clone state size significant minimizes the algorithm's computational complexity.


When a new inertial measurement arrives, it is used to propagate the EKF state and covariance. The state and covariance propagation of the current robot pose and the cloned IMU poses are now described.


Current pose propagation: The continuous-time system model describing the time evolution of the states is:






I
{dot over (q)}
G(t)=½Ω(ωm(t)−bg(t)−ng(t))IqG(t)






G
{dot over (v)}
I(t)=C(IqG(t))T(am(t)−ba(t)−na(t))+Gg






G
{dot over (p)}
I(t)=GvI(t) {dot over (b)}a(t)=nwa {dot over (b)}g(t)=nwg





{dot over (λ)}d(t)=ntd {dot over (λ)}r(t)=0  (8)


where C(IqG(t)) denotes the rotation matrix corresponding to IqG(t), ωm(t) and am(t) are the rotational velocity and linear acceleration measurements provided by the IMU, while ng and na are the corresponding white Gaussian measurement noise components. Gg denotes the gravitational acceleration in {G}, while nwa and nwg are zero-mean white Gaussian noise processes driving the gyroscope and accelerometer biases bg and ba. Ω(ω) is defined as






[




-


ω





ω





-

ω
2




0



]




Finally, ntd is a zero-mean white Gaussian noise process modelling the random walk of λd (corresponding to the time offset between the IMU and camera). For state propagation, the propagation is linearized around the current state estimate and the expectation operator is applied. For propagating the covariance, the error-state vector of the current robot pose is defined as:






{tilde over (x)}=[
IδθGT G{tilde over (v)}IT G{tilde over (p)}IT G{tilde over (p)}fT {tilde over (b)}aT {tilde over (b)}gT {tilde over (λ)}d {tilde over (λ)}r]T  (9)


For quaternion q, a multiplicative error model







δ


q
¯


=



q
¯






q


_

^


-
1






[





1
2



δΘ
T




1



]

T






is employed, where δθ is a minimal representation of the attitude error.


Then, the linearized continuous-time error-state equation can be written as:





{dot over ({tilde over (x)})}=FE{tilde over (X)}+GEw  (10)


where w=[ngT nwgT naT nwaT ntd]T is modelled as a zero-mean white Gaussian process with auto-correlation custom-character[w(t)wT(τ)]=QEδ(1−τ), and FE, GE are the continuous time error-state transition and input noise matrices, respectively. The discrete-time state transition matrix Φk+1,k and the system covariance matrix Qk from time tk to tk+1 can be computed as:





Φk+1,k=Φ(tk+1,tk)=exp(∫tktk+1FE(τ)dτ)






Q
k=∫tktk+1Φ(tk+1,τ)GEQEGETΦ(tk+1,τ)dτT  (11)


If the covariance corresponding to the current pose is defined as PEEk|k, the propagated covariance PEEk+1|k, can be determined as






P
EE

k+1|k
k+1,kPEEk|kΦk+1,kT+Qk  (12)


where xk|l denotes the estimate of x at time step k using measurements up to time step l.


During propagation, the state and covariance estimates of the cloned robot poses do not change, however their cross-correlations with the current IMU pose need to be propagated. If P is defined as the covariance matrix of the whole state x, PCCk|k, as the covariance matrix of the cloned poses, and PECk|k as the correlation matrix between the errors in the current se and cloned poses, the system covariance matrix is propagated as:










P

k
+

1




"\[LeftBracketingBar]"

k




=

[




P

E


E

k
+

1




"\[LeftBracketingBar]"

k










Φ
k



P

E


C

k




"\[LeftBracketingBar]"

k












P

E


C

k




"\[LeftBracketingBar]"

k




T



Φ


k
+
1

,
k

T





P

C


C

k




"\[LeftBracketingBar]"

k








]





(
13
)







with Φk+1,k defined in equation 11.


Each time the camera records an image, a stochastic clone comprising the IMU pose, IqG, GpI, and the interpolation ratio, λd, describing its time offset from the image, is created. This process enables the MSC-KF to utilize delayed image measurements; in particular, it allows all observations of a given feature fj to be processed during a single update step (when the first pose that observed fj is about to be marginalized), while avoiding to maintain estimates of this feature, in the state vector.


For a feature fj observed in the m-th row of the image associated with the IMU pose Ik, the interpolation ratio can be expressed as λkdk+mλr where λdk is the interpolation ratio corresponding to the time offset between the clocks of the two sensors at time step k, and mλr is the contribution from the rolling-shutter effect. The corresponding measurement model is given by:






z
k
(j)
=h(Ik+tpfj)+nk(j),nk(j)˜N(0,Rk,j)  (14)


where Ik+tpfj is the feature position expressed in the camera frame of reference at the exact time instant that the m-th image-row was read. Without loss of generality, it is assumed that the camera is intrinsically calibrated with the camera perspective measurement model, h, described by:










h

(





I

k
+
t




p
fj



)

=

[










I

k
+
t




p
fj





(
1
)








I

k
+
t




p
fj





(
3
)














I

k
+
t




p
fj





(
2
)








I

k
+
t




p
fj





(
3
)






]





(
15
)







where Ik+tpfj(i), i=1, 2, 3 represents the i-th element of Ik+tpfj. Expressing Ik+tpfj as a function of the states that is estimated, results in:






I

k+t

p
fj=GIk+tC(GpfjGpIk+t)=IkIk+tCGIkC(GpfjGpIk+t)  (16)


Substituting IkIk+tC and GpIk+t, from equations 4 and 1, equation 16 can be rewritten as:






I

k+t

p
fj=((1−λk)I+λk GIkCIk+1GC)GIkC





(Gpfj−((1−λk)GpIkkGpIk+1))  (17)


Linearizing the measurement model about the filter estimates, the residual corresponding to this measurement can be computed as










r
k

(
j
)


=



z
k

(
j
)


-

h

(






I

k
+
t





p
ˆ


f

j




)






H

x

I
k



(
j
)





x
˜


I
k



+


H

x

I

k
+
1




(
j
)





x
˜


I

k
+
1




+


H
fk

(
j
)






G



p
˜


f

j




+


H

λ

r
k



(
j
)





λ
˜

r


+

n
k

(
j
)








(
18
)







where







H

X

I
k



(
j
)


,

H

X

I

k
+
1




(
j
)


,




Hfj(j), and






H

λ

r
k



(
j
)





are the Jacobians with respect to the cloned poses xIk, xIk+1, the feature position Gpfj, and the interpolation ratio corresponding to the image-row readout time, λr, respectively.


By stacking the measurement residuals corresponding to the same point feature, fj:










r

(
j
)


=


[




r
k

(
j
)












r

k
+
n
-
1


(
j
)





]





H

x
clone


(
j
)





x
˜

clone


+


H
f


(
j
)

G





p
˜


f

j



+


H

λ
r


(
j
)





λ
˜

r


+

n

(
j
)








(
19
)







where {tilde over (X)}clone=[{tilde over (X)}Ik+n-1T . . . {tilde over (X)}IkT]T is the error in the cloned pose estimates, while HXj(j) is the corresponding Jacobian matrix. Furthermore, Hf(j) and Hλr(j) are the Jacobians corresponding to the feature and interpolation ratio contributed by the readout time error, respectively.


To avoid including feature fj in the state vector, the error term is marginalized G{tilde over (p)}fj by multiplying both sides of equation 19 with the left nullspace, V, of the feature's Jacobian matrix Hf(j), i.e.,






r
o
(j)
≃V
T
H
x

clone

(j)
{tilde over (x)}
clone
+V
T
H
f
(j) G
{tilde over (p)}
fj
+V
T
H
λ

r

(j)
{tilde over (λ)}r+V
T
n
(j)





Ho(j){tilde over (x)}+no(j)  (20)


where ro(j)≙VTr(j). Note V does not have to be computed explicitly. Instead, this operation can be applied efficiently using in-place Givens rotations.


Previously, the measurement model for each individual feature was formulated. Specifically, the time-misaligned camera measurements was compensated for with the interpolation ratio corresponding to both the time offset between sensors and the rolling shutter effect. Additionally, dependence of the measurement model on the feature positions was removed. EKF updates are made using all the available measurements from L features.


Stacking measurements of the form in equation 2, originating from all features, fj, j=1, . . . , L, yields the residual vector






r≃H {tilde over (X)}+n  (21)


where H is a matrix with block rows the Jacobians Ho(j), while r and n are the corresponding residual and noise vectors, respectively.


In practice, H is a tall matrix. The computational cost can be reduced by employing the QR decomposition of H denoted as:









H
=


[




Q
1




Q
2




]

[




R
H





0



]





(
22
)







where [Q1 Q2] is an orthonormal matrix, and RH is an upper triangular matrix. Then, the transpose of [Q1 Q2] can be multiplied to both sides of equation 21 to obtain:










[




Q
1
T



r





Q
2
T



r



]

=



[




R
H





0



]



x
˜


+

[




Q
1
T



n





Q
2
T



n



]






(
23
)







It is clear that all information related to the error in the state estimate is included in the first block row, while the residual in the second block row corresponds to noise and can be completely discarded. Therefore, first block row of equation 23 is needed as residual for the EKF update:






r
n
=Q
1
T
r=R
H
{tilde over (x)}+Q
1
T
n  (24)


The Kalman gain is computed as:






K=PR
H
T(RHPRHT+R)−1  (25)


where R is the measurement noise. If the covariance of the noise n is defined as σ2I, then R=σ2Q1TQ12I. Finally, the state and covariance updates are determined as:






x
k+1|k+1
=x
k+1|k
+Kr
n  (26)






P
k+1|k+1
P−PR
H
T(RHPRHT+R)−1RHP  (27)


Defining the dimension of H to be m×n, the computational complexity for the measurement compression QR in equation 22 will be O(2mn2−⅔n3, and roughly O(n3) for matrix multiplications or inversions in equations 25 and 26. Since H is a very tall matrix, and m is, typically, much larger than n, the main computational cost of the MSC-KF corresponds to the measurement compression QR. It is important to note that the number of columns n depends not only on the number of cloned poses, but also on the dimension of each clone.


For the proposed approach this would correspond to 7 states per clone (i.e., 6 for the camera pose, and a scalar parameter representing the time-synchronization). In contrast, one recent method proposed in Mingyang Li, Byung Hyung Kim, and Anastasios I. Mourikis. Real-time motion tracking on a cellphone using inertial sensing and a rolling-shutter camera. In Proc. of the IEEE International Conference on Robotics and Automation, pages 4697-4704, Karlsruhe, Germany, May 6-10, 2013 (herein “Li”) requires 13 states per clone (i.e., 6 for the camera pose, 6 for its corresponding rotational and linear velocities, and a scalar parameter representing the time-synchronization). This difference results in a 3-fold computational speedup compared to techniques in Li, for this particular step of an MSCKF update. Furthermore, since the dimension of the system is reduced to almost half through the proposed interpolation model, all the operations in the EKF update will also gain a significant speedup. Li's approach requires the inclusion of the linear and rotational velocities in each of the clones in order to be able to fully compute (update) each clone in the state vector. In contrast, the techniques described are able to exclude storing the linear and rotational velocities for each IMU clone, thus leading to a reduced size for each clone in the state vector, because linear interpolation is used to express the camera feature measurement as a function of two or more IMU clones (or camera poses) already in the state vector. Alternatively, image source clones could be maintained within the state vector, and poses for the IMU at time stamps when IMU data is received could be similarly determined as interpolations from surrounding (in time) camera poses, i.e., interpolation is used to express the IMU feature measurement as a function of two or more cloned camera poses already in the state vector


Linearization error may cause the EKF to be inconsistent, thus also adversely affecting the estimation accuracy. This may be addressed by employing the OC-EKF.


A system's unobservable directions, N, span the nullspace of the system's observability matrix M:






MN=0  (28)


where by defining Φk,1≙Φk,k−1 . . . Φ2,1 as the state transition matrix from time step 1 to k, and Hk as the measurement Jacobian at time step k, M can be expressed as:









M
=

[










H
1







H
2



Φ

2
,
1




















H
k



Φ

k
,
1






]





(
29
)







However, when the system is linearized using the current estimate in equation 28, in general, does not hold. This means the estimator gains spurious information along unobservable directions and becomes inconsistent. To address this problem, the OC-EKF enforces equation 28 by modifying the state transition and measurement Jacobian matrices according to the following two observability constraints:






N
k+1k+1,kNk  (30)






H
k
N
k=0, ∀k>0  (31)


where Nk and Nk+1 are the system's unobservable directions evaluated at time-steps k and k+1. This method will be applied to this system to appropriately modify Φk+1,k, as defined in equation 11, and Hk, and thus retain the system's observability properties.


In one embodiment, it is shown that the inertial navigation system aided by time-aligned global-shutter camera has four unobservable directions: one corresponding to rotations about the gravity vector, and three to a global translations. Specifically, the system's unobservable directions with respect to the IMU pose and feature position, [IqGT bgT GvIT baT GpIT GpfT]T, can be written as:









N

=




[






G
I

Cg




0

3
×
3







0

3
×
1





0

3
×
3








-





I
G

v





g




0

3
×
3







0

3
×
1





0

3
×
3








-





I
G

p





g




I

3
×
3










-


G




p
f





g




I

3
×
3





]

=

[




N
r






N
f




]






(
32
)







Once system's unobservable directions have been determined, the state transition matrix, Φk+1,k, can be modified according to the observability constant in equation 30.






N
r

k+1
k+1,kNrk  (33)


where Φk+1,k has the following structure:









[




Φ

1

1





Φ

1

2





0
3




0
3




0
3






0
3




I
3




0
3




0
3




0
3






Φ

3

1





Φ

3

2





I
3




Φ

3

4





0
3






0
3




0
3




0
3




I
3




0
3






Φ

5

1





Φ

5

2





δ


tI
3





Φ

5

4





I
3




]




(
34
)







Equation 33 is equivalent to the following three constraints:





Φ11 GIkCg=GIk+1Cg  (35)





Φ31 GIkCg=└GvIk┘g−└GvIk+1┘g  (36)





Φ51 GIkCg=δt└GvIk┘g+└GpIk┘g−└GpIk+1┘g  (37)


in which equation 35 can be easily satisfied by modifying Φ*11=GIk+1CGIkCT.


Both equations 36 and 37 are in the form Au=w, where u and w are fixed. This disclosure seeks to select another matrix A* that is closest to the A in the Frobenius norm sense, while satisfying constraints 36 and 37. To do so, the following optimization problem is formulated













A
*

=

arg

min






A
*

-
A




2











A
*








s
.
t
.


A
*



u

=
w










(
38
)







where ∥⋅∥F denotes the Frobenius matrix norm. The optimal A* can be determined by solving its KKT optimality condition, whose solution is






A*=A−(Au−w)(uTu)−1uT  (39)


During the update at time step k, the nonzero elements of the measurement Jacobian Hk, as shown in equation 18, are







[




H

I

k

q
G







H

G

p

I
k







H

I

k
+

1

q
G








H

G

p

I

k
+
1








H

G

p
f






H

λ
r





]

,




corresponding to the elements of the state vector involved in the measurement model (as expressed by the subscript).


Since two IMU poses are involved in the interpolation-based measurement model, the system's unobservable directions, at time step k, can be shown to be:






N′
k
≙[N
r

k

T
N
r

k+1

T
N
fk
T 0]T  (40)


where Nri, i=k, k+1, and Nfk are defined in (32), while the zero corresponds to the interpolation ratio. This can be achieved straightforwardly by finding the nullspace of the linearized system's Jacobian. If N′k≙[Nk Nk], where Nkg is the first column of N′k corresponding to the rotation about the gravity, and Nkp is the other three columns corresponding to global translations, then according to equation 31, Hk is modified to fulfill the following two constraints:













H
k



N
k
P


=


0



H

G


p
I

k



+

H

G

p
f





=
0






(
41
)














H
k



N
k
g


=


0



[


H

I

k

q
G






H

G

p

I
k






H

I

k
+

1

q
G







H

G

p

I

k
+
1







H

G

p
f




]

[






G

I
k


Cg







-





G


p

I
k







g








G

I

k
+
1



Cg







-





G


p

I

k
+
1








g







-





G


p
f






g




]


=
0





(
42
)







Substituting





H

G

p
f






from equations 41 and 42, the observability constraint for the measurement Jacobian matrix is written as:











[


H

I

k

q
G






H

G

p

I
k






H

I

k
+

1

q
G







H

G

p

I

k
+
1






]

[






G

I
k


Cg







(






G


p
f




-





G


p

I
k






)


g








G

I

k
+
1



Cg







(






G


p
f




-





G


p

I

k
+
1







)


g




]

=
0




(
43
)







which is of the form Au=0. Therefore,







H

I

k

q
G



*

,

H

G

p

I
k



*

,

H

I

k
+

1

q
G




*

,

and



H

G

p

I

k
+
1




*






can be analytically determined using equations 38 and 39, for the special case when w=0. Finally according to equation 41,







H

G

p
f


*

=


-

H

G

p

I
k



*


-


H

G

p

I

k
+
1




*

.






The simulations involved a MEMS-quality IMU, as well as a rolling-shutter camera with a readout time of 30 msec. The time offset between the camera and the IMU clock was modelled as a random walk with mean 3.0 msec and standard deviation 1.0 msec. The IMU provided measurements at a frequency of 100 Hz, while the camera ran at 10 Hz. The sliding-window state contained 6 cloned IMU poses, while 20 features were processed during each EKF update.


The following variants of the MSC-KF were compared:

    • Proposed: The proposed OC-MSC-KF, employing an interpolation-based measurement model.
    • w/o OC: The proposed interpolation-based MSC-KF without using OC-EKF.
    • Li: An algorithm described in Mingyang Li, Byung Hyung Kim, and Anastasios I. Mourikis, Real-time motion tracking on a cellphone using inertial sensing and a rolling-shutter camera, In Proc. of the IEEE International Conference on Robotics and Automation, pages 4697-4704, Karlsruhe, Germany, May 6-10, 2013 (herein, “Li”) that uses a constant velocity model, and thus also clones the corresponding linear and rotational velocities, besides the cell phone pose, in the state vector.


The estimated position and orientation root-mean square errors (RMSE) are plotted in FIGS. 4A and 4B, respectively. By comparing Proposed and w/o OC, it is evident that employing the OC-EKF improves the position and orientation estimates. Furthermore, the proposed techniques achieves lower RMSE compared to Li, at a significantly lower computational cost.


In addition to simulations, the performance of the proposed algorithm was validated using a Samsung S4 mobile phone. The S4 was equipped with 3-axial gyroscopes and accelerometers, a rolling-shutter camera, and a 1.6 GHz quad-core Cortex-A15 ARM CPU. Camera measurements were acquired at a frequency of 15 Hz, while point features were tracked across different images via an existing algorithm. For every 230 ms or 20 cm of displacement, new Harris corners were extracted while the corresponding IMU pose was inserted in the sliding window of 10 poses, maintained by the filter. The readout time for an image was about 30 ms, and the time offset between the IMU and camera clocks was approximately 10 ms. All image-processing algorithms were optimized using an ARM NEON assembly. The developed system required no initial calibration of the IMU biases, rolling-shutter time, or camera-IMU clock offset, as these parameters were estimated online. Since no high-precision ground truth is available, in the end of the experiments, the cell phone was brought back to the initial position and this allowed for examination of any final position error.


Two experiments were performed. The first, as shown in FIG. 5A, served the purpose of demonstrating the impact of not employing the OC-EKF or ignoring the time synchronization and rolling shutter effects, while the second, as shown in FIG. 5B, demonstrates the performance of the developed system, during an online experiment.


The first experiment comprises a loop of 277 meters, with an average velocity of 1.5 m/sec. The final position errors of Proposed, w/o OC, and the following two algorithms are examined:

    • w/o Time Sync: The proposed interpolation-based OC-MSC-KF considering only the rolling shutter, but not the time synchronization.
    • w/o Rolling Shutter: The proposed interpolation-based OC-MSC-KF considering only the time synchronization, but not the rolling shutter.


The 3D trajectories of the cell phone estimated by the above algorithms are plotted in FIG. 5A, and their final position errors are reported in Table. I.









TABLE I







LOOP CLOSURE ERRORS











Estimation
Final
Pct.



Algorithm
Error (m)
(%)







Proposed
1.64
0.59



w/o OC
2.16
0.79



w/o Time Sync
2.46
0.91



w/o Rolling Shutter
5.02
1.88










Several key observations can be made. First, by utilizing the OC-EKF, the position estimation error decreases significantly (from 0:79% to 0:59%). Second, even a (relatively small) unmodeled time offset of 10 msec between the IMU and the camera clocks, results in an increase of the loop closure error from 0:59% to 0:91%. In practice, with about 50 msec of an unmodeled time offset, the filter will diverge immediately. Third, by ignoring the rolling shutter effect, the estimation accuracy drops dramatically, since during the readout time of an image (about 30 msec), the cell phone can move even 4.5 cm, which for a scene at 3 meters from the camera, corresponds to a 2 pixel measurement noise. Finally, both the rolling shutter and the time synchronization were ignored in which case the filter diverged immediately.


In the second experiment, estimation was performed online. During the trial, the cell phone traversed a path of 231 meters across two floors of a building, with an average velocity of 1.2 m/sec. This trajectory included both crowded areas and featureless scenes. The final position error was 1.8 meters, corresponding to 0.8% of the total distance travelled (see FIG. 5B).


In order to experimentally validate the computational gains of the proposed method versus existing approaches for online time synchronization and rolling-shutter calibration, which require augmenting the state vector with the velocities of each clone, the QR decomposition of the measurement compression step in the MSC-KF for the two measurement models were compared for the various models. Care was taken to create a representative comparison. The QR decomposition algorithm provided was used by the C++ linear algebra library Eigen, on Samsung S4. The time to perform this QR decomposition was recorded for various numbers of cloned poses, M, observing measurements of 50 features.


Similar to both algorithms, a Jacobian matrix with 50(2M−3) rows was considered. However, the number of columns differs significantly between the two methods. As expected, based on the computational cost of the QR factorization, O(mn2) for a matrix of size m×n, the proposed method leads to significant computational gains. As demonstrated in FIG. 6, the techniques described herein may utilize a QR factorization that is 3 times faster compared to the one described in Mingyang Li, Byung Hyung Kim, and Anastasios I. Mourikis, Real-time motion tracking on a cellphone using inertial sensing and a rolling-shutter camera, In Proc. of the IEEE International Conference on Robotics and Automation, pages 4697-4704, Karlsruhe, Germany, May 6-10, 2013.


Furthermore, since the dimension of the system is reduced to almost half through the proposed interpolation model, all the operations in the EKF update will also gain a significant speedup (i.e., a factor of 4 for the covariance update, and a factor of 2 for the number of Jacobians evaluated). Such speed up on a cell phone, which has very limited processing resources and battery, provides additional benefits, because it both allows other applications to run concurrently, and extends the phone's operating time substantially.



FIG. 7 shows a detailed example of various devices that may be configured as a VINS to implement some embodiments in accordance with the current disclosure. For example, device 500 may be a mobile sensing platform, a mobile phone, a workstation, a computing center, a cluster of servers or other example embodiments of a computing environment, centrally located or distributed, capable of executing the techniques described herein. Any or all of the devices may, for example, implement portions of the techniques described herein for vision-aided inertial navigation system.


In this example, a computer 500 includes a hardware-based processor 510 that is operable to execute program instructions or software, causing the computer to perform various methods or tasks, such as performing the enhanced estimation techniques described herein. Processor 510 may be a general purpose processor, a digital signal processor (DSP), a core processor within an Application Specific Integrated Circuit (ASIC) and the like. Processor 510 is coupled via bus 520 to a memory 530, which is used to store information such as program instructions and other data while the computer is in operation. A storage device 540, such as a hard disk drive, nonvolatile memory, or other non-transient storage device stores information such as program instructions, data files of the multidimensional data and the reduced data set, and other information. As another example, computer 500 may provide an operating environment for execution of one or more virtual machines that, in turn, provide an execution environment for software for implementing the techniques described herein.


The computer also includes various input-output elements 550, including parallel or serial ports, USB, Firewire or IEEE 1394, Ethernet, and other such ports to connect the computer to external device such a printer, video camera, surveillance equipment or the like. Other input-output elements include wireless communication interfaces such as Bluetooth, Wi-Fi, and cellular data networks.


The computer itself may be a traditional personal computer, a rack-mount or business computer or server, or any other type of computerized system. The computer in a further example may include fewer than all elements listed above, such as a thin client or mobile device having only some of the shown elements. In another example, the computer is distributed among multiple computer systems, such as a distributed server that has many computers working together to provide various functions.


The techniques described herein may be implemented in hardware, software, firmware, or any combination thereof. Various features described as modules, units or components may be implemented together in an integrated logic device or separately as discrete but interoperable logic devices or other hardware devices. In some cases, various features of electronic circuitry may be implemented as one or more integrated circuit devices, such as an integrated circuit chip or chipset.


If implemented in hardware, this disclosure may be directed to an apparatus such a processor or an integrated circuit device, such as an integrated circuit chip or chipset. Alternatively or additionally, if implemented in software or firmware, the techniques may be realized at least in part by a computer readable data storage medium comprising instructions that, when executed, cause one or more processors to perform one or more of the methods described above. For example, the computer-readable data storage medium or device may store such instructions for execution by a processor. Any combination of one or more computer-readable medium(s) may be utilized.


A computer-readable storage medium (device) may form part of a computer program product, which may include packaging materials. A computer-readable storage medium (device) may comprise a computer data storage medium such as random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic or optical data storage media, and the like. In general, a computer-readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. Additional examples of computer readable medium include computer-readable storage devices, computer-readable memory, and tangible computer-readable medium. In some examples, an article of manufacture may comprise one or more computer-readable storage media.


In some examples, the computer-readable storage media may comprise non-transitory media. The term “non-transitory” may indicate that the storage medium is not embodied in a carrier wave or a propagated signal. In certain examples, a non-transitory storage medium may store data that can, over time, change (e.g., in RAM or cache).


The code or instructions may be software and/or firmware executed by processing circuitry including one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term “processor,” as used herein may refer to any of the foregoing structure or any other processing circuitry suitable for implementation of the techniques described herein. In addition, in some aspects, functionality described in this disclosure may be provided within software modules or hardware modules.


Various embodiments of the invention have been described. These and other embodiments are within the scope of the following claims.

Claims
  • 1. A vision-aided inertial navigation system (VINS) comprising: an image source configured to produce image data at a first set of time instances along a trajectory within a three-dimensional (3D) environment, wherein; the image data captures feature observations within the 3D environment at each of the first set of time instances,the image source comprises at least one sensor capable of capturing a plurality of rows of image data, anda sensor of the at least one sensor is configured to capture the plurality of rows of image data row-by-row so that each row is captured at a different time instance than any of the first set of time instances;an inertial measurement unit (IMU) configured to produce IMU data for the VINS along the trajectory at a second set of time instances that is misaligned in time with the first set of time instances, wherein the IMU data indicates a motion of the VINS along the trajectory; anda processing unit is configured to: compute poses for the image source as an extrapolation from poses for the IMU that are closest in time along the trajectory,compute each of the poses for the image source by storing and updating a state vector having a sliding window of poses for the image source, wherein each of the poses for the image source correspond to a different time instance of the first set of time instances at which image data was captured by the image source, andin response to the image source producing image data, insert a most recent pose computed for the IMU into the state vector as an image source pose.
  • 2. The VINS of claim 1, wherein the processing unit is configured to compute each of the poses for the image source as at least one of: a linear extrapolation, anda higher order extrapolation from the poses for the IMU that are closest in time along the trajectory.
  • 3. The VINS of claim 1, wherein: the poses of the IMU and poses of the image source are computed as positions and 3D orientations at each of the second set of time instances along the trajectory; andthe processing unit is configured to compute state estimates for a position, orientation and velocity of the VINS.
  • 4. The VINS of claim 1, wherein: the processing unit is configured to store a sliding window of the poses computed for the IMU along the trajectory; andwhen computing each of the poses for the image source, the processing unit: selects the poses for the IMU that are adjacent in the sliding window and that have time instances closest to the time instance for the pose being computed for the image source, andcomputes the poses for the image source as an extrapolation of the selected poses for the IMU.
  • 5. The VINS of claim 1, wherein: the processing unit is configured to compute estimated positions for features observed within the 3D environment at each of the second set of time instances; andfor each of the second set of time instances, the processing unit is configured to compute the estimated positions for the features by applying an extrapolation ratio to the poses for the IMU that were used to compute the pose for the image source at that time instance.
  • 6. The VINS of claim 5, wherein, for each of the poses for the image source, the extrapolation ratio represents a ratio of: a first distance, along the trajectory, from the pose of the image source to a first pose for the IMU used to compute the pose for the image source; anda second distance, along the trajectory, from the pose of the image source to a second pose for the IMU used to compute the pose for the image source.
  • 7. The VINS of claim 1, wherein the inserted pose excludes state estimates for linear and rotational velocities and comprises: six dimensions for the image source; anda scalar representing a time offset, between the IMU and the image source, for the time at which the image data was received.
  • 8. The VINS of claim 1, wherein the VINS is integrated within a device selected from the group consisting of a computing device, a tablet computer, a mobile device, a mobile phone, and a robot.
  • 9. The VINS of claim 1, wherein: the processing unit is further configured to represent an estimate of the state vector as: x=[xI xIk+(n-1) . . . xIk], wherein:xI denotes a current pose for the image source, andxIi, for i=k+(n−1), k+(n−2), . . . , k are the poses in the sliding window, corresponding to time instants of a previous n camera measurements; andthe current pose for the image source comprises: a quaternion representation of an orientation of a global frame of reference in a frame of reference for the IMU,a velocity of the frame of reference for the IMU in the global frame of reference,a position of the frame of reference for the IMU in the global frame of reference,a gyroscope bias for the IMU, andan accelerometer bias for the IMU.
  • 10. The VINS of claim 1, wherein the processing unit is further configured to build a map of the 3D environment based on the state vector.
  • 11. A method for vision-aided inertial navigation comprising: receiving, from an image source integrated into a vision-aided inertial navigation system (VINS), image data at a first set of time instances along a trajectory within a three-dimensional (3D) environment, wherein: the image data captures feature observations within the 3D environment at each of the first set of time instances,the image source comprises at least one sensor capable of capturing a plurality of rows of image data, anda sensor of the at least one sensor is configured to capture the plurality of rows of image data row-by-row so that each row is captured at a different time instance than any of the first set of time instances;receiving, from an inertial measurement unit (IMU), IMU data at a second set of time instances that is misaligned in time with the first set of time instances, wherein the IMU data indicates motion of the VINS along the trajectory; andcomputing, from the IMU data and the image data, state estimates for poses of the IMU at each of the first set of time instances and poses of the image source at each of the second set of time instances along the trajectory, wherein computing state estimates comprises: computing poses for the image source as an extrapolation from poses for the IMU that are closest in time along the trajectory,computing each of the poses for the image source by storing and updating a state vector having a sliding window of poses for the image source, wherein each of the poses for the image source correspond to a different time instance of the first set of time instances at which image data was captured by the image source, andin response to the image source producing image data, inserting a most recent pose computed for the IMU into the state vector as an image source pose.
  • 12. The method of claim 11, wherein each of the poses for the image source are computed as at least one of: a linear extrapolation, anda higher order extrapolation from the poses for the IMU that are closest in time along the trajectory.
  • 13. The method of claim 11, wherein: the poses of the IMU and poses of the image source are computed as positions and 3D orientations at each of the second set of time instances along the trajectory; andstate estimates are computed for a position, orientation and velocity of the VINS.
  • 14. The method of claim 11, further comprising: storing a sliding window of the poses computed for the IMU along the trajectory; andwhen computing each of the poses for the image source: selecting the poses for the IMU that are adjacent in the sliding window and that have time instances closest to the time instance for the pose being computed for the image source, andcomputing the poses for the image source as an extrapolation of the selected poses for the IMU.
  • 15. The method of claim 11, further comprising: computing estimated positions for features observed within the 3D environment at each of the second set of time instances; andfor each of the second set of time instances, computing the estimated positions for the features by applying an extrapolation ratio to the poses for the IMU that were used to compute the pose for the image source at that time instance.
  • 16. The method of claim 15, wherein, for each of the poses for the image source, the extrapolation ratio represents a ratio of: a first distance, along the trajectory, from the pose of the image source to a first pose for the IMU used to compute the pose for the image source; anda second distance, along the trajectory, from the pose of the image source to a second pose for the IMU used to compute the pose for the image source.
  • 17. The method of claim 11, wherein the inserted pose excludes state estimates for linear and rotational velocities and comprises: six dimensions for the image source; anda scalar representing a time offset, between the IMU and the image source, for the time at which the image data was received.
  • 18. The method of claim 11, wherein the VINS is integrated within a device selected from the group consisting of a computing device, a tablet computer, a mobile device, a mobile phone, and a robot.
  • 19. The method of claim 11, further comprising representing an estimate of the state vector as: x=[xI xIk+(n-1) . . . xIk], wherein:xI denotes a current pose for the image source, andxIi, for i=k+(n−1), k+(n−2), . . . , k are the poses in the sliding window, corresponding to time instants of a previous n camera measurements; andthe current pose for the image source comprises: a quaternion representation of an orientation of a global frame of reference in a frame of reference for the IMU,a velocity of the frame of reference for the IMU in the global frame of reference,a position of the frame of reference for the IMU in the global frame of reference,a gyroscope bias for the IMU, andan accelerometer bias for the IMU.
  • 20. The method of claim 11, further comprising building a map of the 3D environment based on the state vector.
Parent Case Info

This application is a continuation of U.S. patent application Ser. No. 16/025,574, filed on Jul. 2, 2018, which is a continuation of U.S. patent application Ser. No. 14/733,468, filed on Jun. 8, 2015 and issued on Jul. 3, 2018 as U.S. Pat. No. 10,012,504, which claims the benefit of U.S. Provisional Patent Application No. 62/014,532, filed Jun. 19, 2014, the entire contents of which are incorporated herein by reference.

Provisional Applications (1)
Number Date Country
62014532 Jun 2014 US
Continuations (2)
Number Date Country
Parent 16025574 Jul 2018 US
Child 18363593 US
Parent 14733468 Jun 2015 US
Child 16025574 US