Skip to content

Commit

Permalink
fix binding mods
Browse files Browse the repository at this point in the history
  • Loading branch information
finger563 committed Sep 17, 2024
1 parent 7b7198b commit b36aa3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python_bindings/pybind_espp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void py_init_module_espp(py::module &m) {
} // end of inner classes & enums of Bezier_espp_Vector2f

pyClassBezier_espp_Vector2f.def(py::init<const espp::Bezier<espp::Vector2f>::Config &>())
.def(py::init<const espp::Bezier<espp::Vector2f>::WeightedConfig>())
.def(py::init<const espp::Bezier<espp::Vector2f>::WeightedConfig &>())
.def("__call__", &espp::Bezier<espp::Vector2f>::operator(), py::arg("t"),
"*\n * @brief Evaluate the bezier at \\p t.\n * @note Convienience wrapper around "
"the at() method.\n * @param t The evaluation parameter, [0, 1].\n * @return The "
Expand Down Expand Up @@ -567,7 +567,7 @@ void py_init_module_espp(py::module &m) {
"the input distribution.");
} // end of inner classes & enums of RangeMapper_int

pyClassRangeMapper_int.def(py::init<>())
pyClassRangeMapper_int.def(py::init<const espp::RangeMapper<int>::Config &>())
.def("get_center_deadband", &espp::RangeMapper<int>::get_center_deadband,
"*\n * @brief Return the configured deadband around the center of the input\n * "
" distribution\n * @return Deadband around the center of the input distribution for "
Expand Down Expand Up @@ -689,7 +689,7 @@ void py_init_module_espp(py::module &m) {
"the input distribution.");
} // end of inner classes & enums of RangeMapper_float

pyClassRangeMapper_float.def(py::init<>())
pyClassRangeMapper_float.def(py::init<const espp::RangeMapper<float>::Config &>())
.def("get_center_deadband", &espp::RangeMapper<float>::get_center_deadband,
"*\n * @brief Return the configured deadband around the center of the input\n * "
" distribution\n * @return Deadband around the center of the input distribution for "
Expand Down

0 comments on commit b36aa3a

Please sign in to comment.