Skip to content

Commit

Permalink
fix a multiple map merge bug
Browse files Browse the repository at this point in the history
  • Loading branch information
qintonguav committed May 15, 2018
1 parent 3a95302 commit 0d28093
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pose_graph/src/pose_graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ struct FourDOFWeightError
{
FourDOFWeightError(double t_x, double t_y, double t_z, double relative_yaw, double pitch_i, double roll_i)
:t_x(t_x), t_y(t_y), t_z(t_z), relative_yaw(relative_yaw), pitch_i(pitch_i), roll_i(roll_i){
weight = 0.1;
weight = 1;
}

template <typename T>
Expand Down
1 change: 1 addition & 0 deletions vins_estimator/src/estimator_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ void restart_callback(const std_msgs::BoolConstPtr &restart_msg)
estimator.setParameter();
m_estimator.unlock();
current_time = -1;
last_imu_t = 0;
}
return;
}
Expand Down

0 comments on commit 0d28093

Please sign in to comment.