[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?


I've found the answer!

There's a similar method

void PlanningScene::checkCollision(const collision_detection::CollisionRequest& req,
collision_detection::CollisionResult& res,
**robot_state::RobotState& kstate**) const

without a constant robotstate that calls the checkCollision method I mentioned above in planning_scene. RobotState can be altered to include an attached Body, which will be used for collision checking (make sure to call update() on the robot state afterwards).

I imagine you could create an imaginary link frame if you wanted to add the object to the robot for full robot collision-detection against the primitive.





---
[Visit Topic](https://discourse.ros.org/t/how-to-edit-planningscene-collision-checking-method-to-add-objects-to-the-environment/6083/2) 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>