Skip to content

Commit

Permalink
[moveit_py] add missing constructor of CollisionResult (#2500)
Browse files Browse the repository at this point in the history
Signed-off-by: Dongya Jiang <[email protected]>
Co-authored-by: Dongya Jiang <[email protected]>
  • Loading branch information
patrickKXMD and Dongya Jiang authored Oct 31, 2023
1 parent 87e3f91 commit 09019d2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ void initCollisionResult(py::module& m)
py::class_<collision_detection::CollisionResult>(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.
Expand Down

0 comments on commit 09019d2

Please sign in to comment.