Skip to content

Commit

Permalink
Made CartesianWaypoint accept CartesianState as input
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSchneider42 committed May 27, 2024
1 parent b120c63 commit 21616cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -797,12 +797,12 @@ PYBIND11_MODULE(_franky, m) {
py::class_<Waypoint<CartesianState>>(m, "CartesianWaypoint")
.def(py::init<>(
[](
const RobotPose &robot_pose,
const CartesianState &target,
ReferenceType reference_type,
RelativeDynamicsFactor relative_dynamics_factor,
std::optional<double> minimum_time) {
return Waypoint<CartesianState>{
robot_pose, reference_type, relative_dynamics_factor, minimum_time};
target, reference_type, relative_dynamics_factor, minimum_time};
}
),
"robot_pose"_a,
Expand Down

0 comments on commit 21616cc

Please sign in to comment.