RoboDK Forum
Collision Map Table/Settings可打印版本

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: Collision Map Table/Settings (/Thread-Collision-Map-Table-Settings)



Collision Map Table/Settings-BC1-06-14-2022

Hi,

Is it possible to export the collision map table of collision pairs? I have a template station that has a standard uncalibrated robot in it. When I replace the robot with a calibrated robot, the collision pairs within the collision map table reset to default. My goal is to export the collision map table pairs from our template and use those values to set the collision active pairs with the python API, rather than manually comparing and updating the tables.

Thank you!
Brent


RE: Collision Map Table/Settings-Sam-06-15-2022

You can set the collision map using the API.
Take a look at this thread://www.sinclairbody.com/forum/Thread-Is-it-possible-to-load-external-collision-free-map?highlight=setCollisionActivePair


RE: Collision Map Table/Settings-BC1-06-15-2022

(06-15-2022, 01:08 AM)山姆Wrote:You can set the collision map using the API.
Take a look at this thread://www.sinclairbody.com/forum/Thread-Is-it-possible-to-load-external-collision-free-map?highlight=setCollisionActivePair

Hi Sam,


Thanks for the reply! I was reading through that thread yesterday and understand that you can set the collision active pairs through the API, but do you know if there is a way to list or export the collision active pairs?

I've tried the following, but I believe it exports the collision free map, which is not what I'm after:

RDK.PluginCommand("CollisionFreePlanner", "SaveMap", "-Map.csv")

Best regards,
Brent


RE: Collision Map Table/Settings-Albert-06-17-2022

The Plugin Command you shared shows how to interact with the collision-free motion planner which is not the same thing.

It is currently not possible to extract the list of active pairs of objects that are checked for collisions.

If you have a professional license you can contact us via Help-Request support and we can try to prioritize this as a new feature request.