diff --git a/moveit_py/src/moveit/moveit_core/collision_detection/collision_common.cpp b/moveit_py/src/moveit/moveit_core/collision_detection/collision_common.cpp index 29082f9b3f..6125fa71af 100644 --- a/moveit_py/src/moveit/moveit_core/collision_detection/collision_common.cpp +++ b/moveit_py/src/moveit/moveit_core/collision_detection/collision_common.cpp @@ -103,6 +103,9 @@ void initCollisionResult(py::module& m) py::class_(collision_detection, "CollisionResult", R"( Representation of a collision checking result. )") + + .def(py::init<>()) + .def_readwrite("collision", &collision_detection::CollisionResult::collision, R"( bool: True if collision was found, false otherwise.