[ros-users] [Discourse.ros.org] [MoveIt!] How to edit Planni…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Tariq Zahroof via ros-users
Date:  
To: ros-users
CC: Tariq Zahroof
Subject: [ros-users] [Discourse.ros.org] [MoveIt!] How to edit PlanningScene collision checking method to add objects to the environment?


Hello all,

I've been using MoveIt! to add an extra constraint during the collision checking process. To do this, I add a rectangular prism to the environment based on the position of the End Effector of my manipulator. I planned on adding the geometry by the method:
    processCollisionObjectMsg()


I would call this method from:
   void PlanningScene::checkCollision(const collision_detection::CollisionRequest& req,
                                   collision_detection::CollisionResult& res,
                                   const robot_state::RobotState& kstate) const


However, checkCollision is const and processCollisionObjectMsg() is not, and thus is uncallable. I am using OMPL (and the default fcl collision detection) to plan my paths. What is a good way for me add a simple rectangular prism into the collision environment ? Note, each rectangular prism should only apply to its respective sample; one sample's rectangular prism should not affect another sample's collision checking.





---
[Visit Topic](https://discourse.ros.org/t/how-to-edit-planningscene-collision-checking-method-to-add-objects-to-the-environment/6083/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>