Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RainerKuemmerle/g2o
Browse files Browse the repository at this point in the history
RainerKuemmerle committed Dec 22, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents b31d8ac + c6e5df8 commit a28466a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions g2o/types/slam2d/edge_xy_prior.h
Original file line number Diff line number Diff line change
@@ -52,14 +52,14 @@ namespace g2o {
_measurement = m;
}

virtual bool setMeasurementData(const double* d){
virtual bool setMeasurementData(const number_t* d){
_measurement=Vector2(d[0], d[1]);
return true;
}

virtual bool getMeasurementData(double* d) const {
Eigen::Map<Vector2> m(d);
m=_measurement;
virtual bool getMeasurementData(number_t* d) const {
Eigen::Map<Vector2> m(d);
m=_measurement;
return true;
}

@@ -72,7 +72,7 @@ namespace g2o {
}


virtual double initialEstimatePossible(const OptimizableGraph::VertexSet& , OptimizableGraph::Vertex* ) { return 0.;}
virtual number_t initialEstimatePossible(const OptimizableGraph::VertexSet& , OptimizableGraph::Vertex* ) { return 0;}
#ifndef NUMERIC_JACOBIAN_TWO_D_TYPES
virtual void linearizeOplus();
#endif

0 comments on commit a28466a

Please sign in to comment.