Skip to content

Commit

Permalink
Made Twist implicitly convertible to RobotVelocity
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSchneider42 committed May 27, 2024
1 parent 8872b84 commit b120c63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ PYBIND11_MODULE(_franky, m) {
return RobotVelocity(t[0].cast<Twist>(), t[1].cast<double>());
}
));
py::implicitly_convertible<Twist, RobotVelocity>();

py::class_<CartesianState>(m, "CartesianState")
.def(py::init<const RobotPose &>(), "pose"_a)
Expand Down

0 comments on commit b120c63

Please sign in to comment.