diff --git a/python/python.cpp b/python/python.cpp index 40fbb972..53868672 100644 --- a/python/python.cpp +++ b/python/python.cpp @@ -797,12 +797,12 @@ PYBIND11_MODULE(_franky, m) { py::class_>(m, "CartesianWaypoint") .def(py::init<>( []( - const RobotPose &robot_pose, + const CartesianState &target, ReferenceType reference_type, RelativeDynamicsFactor relative_dynamics_factor, std::optional minimum_time) { return Waypoint{ - robot_pose, reference_type, relative_dynamics_factor, minimum_time}; + target, reference_type, relative_dynamics_factor, minimum_time}; } ), "robot_pose"_a,