point_to_plane_with_cov.cpp
Go to the documentation of this file.
2 
4 
5 namespace python
6 {
7  namespace errorminimizers
8  {
9  void pybindPointToPlaneWithCov(py::module& p_module)
10  {
13  py::class_<PointToPlaneWithCovErrorMinimizer, std::shared_ptr<PointToPlaneWithCovErrorMinimizer>, PointToPlaneErrorMinimizer>(p_module, "PointToPlaneWithCovErrorMinimizer")
15 
16  .def_static("description", &PointToPlaneWithCovErrorMinimizer::description)
17  .def_static("availableParameters", &PointToPlaneWithCovErrorMinimizer::availableParameters)
18 
19  .def_readonly("sensorStdDev", &PointToPlaneWithCovErrorMinimizer::sensorStdDev)
20  .def_readwrite("covMatrix", &PointToPlaneWithCovErrorMinimizer::covMatrix)
21 
22  .def(py::init<const Parameters&>(), py::arg("params") = Parameters())
23  .def("compute", &PointToPlaneWithCovErrorMinimizer::compute, py::arg("mPts"))
25  .def("estimateCovariance", &PointToPlaneWithCovErrorMinimizer::estimateCovariance, py::arg("mPts"), py::arg("transformation"));
26  }
27  }
28 }
PointToPlaneWithCovErrorMinimizer::name
virtual const std::string name()
Definition: PointToPlaneWithCov.h:60
PointToPlaneWithCovErrorMinimizer::compute
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
Definition: PointToPlaneWithCov.cpp:61
PointToPlaneWithCovErrorMinimizer::getCovariance
virtual Matrix getCovariance() const
If not redefined by child class, return zero matrix.
Definition: PointToPlaneWithCov.cpp:166
Parameters
PM::Parameters Parameters
Definition: filterProfiler.cpp:20
python::errorminimizers::pybindPointToPlaneWithCov
void pybindPointToPlaneWithCov(py::module &p_module)
Definition: point_to_plane_with_cov.cpp:9
PointToPlaneWithCovErrorMinimizer::sensorStdDev
const T sensorStdDev
Definition: PointToPlaneWithCov.h:79
PointToPlaneWithCovErrorMinimizer::availableParameters
static const ParametersDoc availableParameters()
Definition: PointToPlaneWithCov.h:70
ErrorMinimizersImpl.h
PointToPlaneWithCovErrorMinimizer::estimateCovariance
Matrix estimateCovariance(const ErrorElements &mPts, const TransformationParameters &transformation)
Definition: PointToPlaneWithCov.cpp:73
python
Definition: add_descriptor.cpp:5
PointToPlaneErrorMinimizer
Definition: PointToPlane.h:42
PointToPlaneWithCovErrorMinimizer::description
static const std::string description()
Definition: PointToPlaneWithCov.h:65
PointToPlaneWithCovErrorMinimizer
Definition: PointToPlaneWithCov.h:43
PointToPlaneWithCovErrorMinimizer::covMatrix
Matrix covMatrix
Definition: PointToPlaneWithCov.h:80
ErrorMinimizersImpl::PointToPlaneWithCovErrorMinimizer
::PointToPlaneWithCovErrorMinimizer< T > PointToPlaneWithCovErrorMinimizer
Definition: ErrorMinimizersImpl.h:51
point_to_plane_with_cov.h
ErrorMinimizersImpl::PointToPlaneErrorMinimizer
::PointToPlaneErrorMinimizer< T > PointToPlaneErrorMinimizer
Definition: ErrorMinimizersImpl.h:50


libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:09