mirror of
https://github.com/hku-mars/FAST_LIO.git
synced 2023-04-06 16:28:55 +08:00
fix the scan time calculation bug and change the definition of blind to the 'minimum range'.
This commit is contained in:
@@ -1634,22 +1634,25 @@ public:
|
||||
{
|
||||
dyn_share.valid = true;
|
||||
h_dyn_share(x_, dyn_share);
|
||||
|
||||
if(! dyn_share.valid)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
//Matrix<scalar_type, Eigen::Dynamic, 1> h = h_dyn_share(x_, dyn_share);
|
||||
#ifdef USE_sparse
|
||||
spMt h_x_ = dyn_share.h_x.sparseView();
|
||||
#else
|
||||
Eigen::Matrix<scalar_type, Eigen::Dynamic, 12> h_x_ = dyn_share.h_x;
|
||||
#endif
|
||||
#ifdef USE_sparse
|
||||
spMt h_x_ = dyn_share.h_x.sparseView();
|
||||
#else
|
||||
Eigen::Matrix<scalar_type, Eigen::Dynamic, 12> h_x_ = dyn_share.h_x;
|
||||
#endif
|
||||
double solve_start = omp_get_wtime();
|
||||
dof_Measurement = h_x_.rows();
|
||||
vectorized_state dx;
|
||||
x_.boxminus(dx, x_propagated);
|
||||
dx_new = dx;
|
||||
|
||||
if(! dyn_share.valid)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
P_ = P_propagated;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user