Go to the documentation of this file.00001 #pragma once
00002
00003
00004 #include "vertex_switchLinear.h"
00005 #include "g2o/core/base_unary_edge.h"
00006
00007
00008
00009 class EdgeSwitchPrior : public g2o::BaseUnaryEdge<1, double, VertexSwitchLinear>
00010 {
00011 public:
00012 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
00013 EdgeSwitchPrior();
00014
00015 virtual bool read(std::istream& is);
00016 virtual bool write(std::ostream& os) const;
00017
00018 virtual void setMeasurement(const double & m);
00019
00020 virtual void linearizeOplus();
00021 void computeError();
00022 };