From c610d3037df9ec1306a733019f7cd4494d060d65 Mon Sep 17 00:00:00 2001 From: Tim Schneider Date: Tue, 28 May 2024 00:51:34 +0200 Subject: [PATCH] Fixed repr of JointState --- python/python.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/python.cpp b/python/python.cpp index 8037c39f..c07af435 100644 --- a/python/python.cpp +++ b/python/python.cpp @@ -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(); })