From a5e6da2100a46947b4ddb607f978e08392c442b7 Mon Sep 17 00:00:00 2001 From: Mansard <nmansard@laas.fr> Date: Wed, 12 Nov 2014 18:59:13 +0100 Subject: [PATCH] Python: changed SE3 rotation and translation into properties. --- src/python/se3.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/se3.hpp b/src/python/se3.hpp index 10e80d29d..0166dbea9 100644 --- a/src/python/se3.hpp +++ b/src/python/se3.hpp @@ -59,8 +59,8 @@ namespace se3 .add_property("rotation",&SE3PythonVisitor::getRotation,&SE3PythonVisitor::setRotation) .add_property("translation",&SE3PythonVisitor::getTranslation,&SE3PythonVisitor::setTranslation) - .def("homogeneous",&SE3_fx::toHomogeneousMatrix) - .def("action",&SE3_fx::toActionMatrix) + .add_property("homogeneous",&SE3_fx::toHomogeneousMatrix) + .add_property("action",&SE3_fx::toActionMatrix) .def("inverse", &SE3_fx::inverse) .def("act_point", &SE3PythonVisitor::act_point) -- GitLab