diff --git a/bindings/python/FloatingBaseEstimators/src/LeggedOdometry.cpp b/bindings/python/FloatingBaseEstimators/src/LeggedOdometry.cpp index 7ebb729d17..bf603a9d1f 100644 --- a/bindings/python/FloatingBaseEstimators/src/LeggedOdometry.cpp +++ b/bindings/python/FloatingBaseEstimators/src/LeggedOdometry.cpp @@ -58,11 +58,11 @@ void CreateLeggedOdometry(pybind11::module& module) py::arg("encoder_speeds")) .def("advance", &LeggedOdometry::advance) .def("reset_estimator", - py::overload_cast(&LeggedOdometry::resetEstimator), + py::overload_cast(&FloatingBaseEstimator::resetEstimator), py::arg("new_state")) .def("reset_estimator", py::overload_cast( - &LeggedOdometry::resetEstimator), + &FloatingBaseEstimator::resetEstimator), py::arg("new_imu_orientation"), py::arg("new_imu_position")) .def("reset_estimator", py::overload_cast<>(&LeggedOdometry::resetEstimator))