Skip to content

Commit

Permalink
Enable to read params correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhao1 committed Sep 18, 2020
1 parent f441ddb commit 7f25134
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions vins_estimator/src/estimator/estimator.cpp
Expand Up @@ -28,7 +28,14 @@ Estimator::Estimator(): f_manager{Rs}
// begin_time_count = 10;
initFirstPoseFlag = false;

if (FISHEYE) {

f_manager.ft = featureTracker;

}

void Estimator::setParameter()
{
if (FISHEYE) {
if (USE_GPU) {
featureTracker = new FeatureTracker::FisheyeFeatureTrackerCuda(this);
} else {
Expand All @@ -38,12 +45,6 @@ Estimator::Estimator(): f_manager{Rs}
//Not implement yet
}

f_manager.ft = featureTracker;

}

void Estimator::setParameter()
{
for (int i = 0; i < NUM_OF_CAM; i++)
{
tic[i] = TIC[i];
Expand Down

0 comments on commit 7f25134

Please sign in to comment.