mirror of
https://github.com/MAPIRlab/rf2o_laser_odometry.git
synced 2023-04-06 19:28:55 +08:00
tracking & cheap handling of uninitialized values issue
This commit is contained in:
committed by
Jeremie Deray
parent
fb5334d542
commit
02421bac19
@@ -36,7 +36,7 @@
|
||||
namespace rf2o {
|
||||
|
||||
template <typename T>
|
||||
inline int sign(T x) { return x<0 ? -1:1; }
|
||||
inline T sign(const T x) { return x<T(0) ? -1:1; }
|
||||
|
||||
template <typename Derived>
|
||||
inline typename Eigen::MatrixBase<Derived>::Scalar
|
||||
@@ -170,7 +170,7 @@ protected:
|
||||
void findNullPoints();
|
||||
void solveSystemOneLevel();
|
||||
void solveSystemNonLinear();
|
||||
void filterLevelSolution();
|
||||
bool filterLevelSolution();
|
||||
void PoseUpdate();
|
||||
void Reset(const Pose3d& ini_pose/*, CObservation2DRangeScan scan*/);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user