Skip to content

Commit

Permalink
Fix resetEstimator pybind11 bindings for LeggedOdometry
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro committed Jul 28, 2021
1 parent 0b01029 commit 9ddee6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/python/FloatingBaseEstimators/src/LeggedOdometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ void CreateLeggedOdometry(pybind11::module& module)
py::arg("encoder_speeds"))
.def("advance", &LeggedOdometry::advance)
.def("reset_estimator",
py::overload_cast<const InternalState&>(&LeggedOdometry::resetEstimator),
py::overload_cast<const InternalState&>(&FloatingBaseEstimator::resetEstimator),
py::arg("new_state"))
.def("reset_estimator",
py::overload_cast<const Eigen::Quaterniond&, const Eigen::Vector3d&>(
&LeggedOdometry::resetEstimator),
&FloatingBaseEstimator::resetEstimator),
py::arg("new_imu_orientation"),
py::arg("new_imu_position"))
.def("reset_estimator", py::overload_cast<>(&LeggedOdometry::resetEstimator))
Expand Down

0 comments on commit 9ddee6f

Please sign in to comment.