Fixed warning in SmartRangeFactor.h
parent
6ec0ca7982
commit
6c09d8681c
|
|
@ -121,8 +121,9 @@ class SmartRangeFactor: public NoiseModelFactor {
|
||||||
|
|
||||||
// use best fh to find actual intersection points
|
// use best fh to find actual intersection points
|
||||||
if (bestCircle2 && best_fh) {
|
if (bestCircle2 && best_fh) {
|
||||||
|
auto bestCircleCenter = bestCircle2->center;
|
||||||
std::list<Point2> intersections = circleCircleIntersection(
|
std::list<Point2> intersections = circleCircleIntersection(
|
||||||
circle1.center, bestCircle2->center, best_fh);
|
circle1.center, bestCircleCenter, best_fh);
|
||||||
|
|
||||||
// pick winner based on other measurements
|
// pick winner based on other measurements
|
||||||
double error1 = 0, error2 = 0;
|
double error1 = 0, error2 = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue