Skip to content

Commit

Permalink
Fixed repr of JointState
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSchneider42 committed May 27, 2024
1 parent c10a2f8 commit c610d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ PYBIND11_MODULE(_franky, m) {
.def_property_readonly("velocity", &JointState::velocity)
.def("__repr__", [](const JointState &joint_state) {
std::stringstream ss;
ss << "(pose=" << vecToStr(joint_state.position())
ss << "(position=" << vecToStr(joint_state.position())
<< ", velocity=" << vecToStr(joint_state.velocity()) << ")";
return ss.str();
})
Expand Down

0 comments on commit c610d30

Please sign in to comment.