How to use tesseract collision for collision checking ? #890
-
I want to use tesseract collision for collision checking, but I can't find the specific documentation, only in finding some information in https://tesseract-docs.readthedocs.io/en/latest/ |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
If you are wanting to use it directly, then tesseract_collision has an example showing basic usage found here. If you wanting to use it with loading a urdf and srdf then I recommend looking at the tesseract_environment examples. |
Beta Was this translation helpful? Give feedback.
-
Thank you, I want to import the urdf of the robot, specify the collision pair and use it, and visualize it, similar to the figure below, how to visualize the returned collision results? |
Beta Was this translation helpful? Give feedback.
-
I recommend loading the config found in tesseract_qt/studio/config to start and review the file. The component infos are used to associated separate plugins to one another. The plugins communication using Qt Event Filters and this is used to know if a plugin should operate on an event. In your case you would want to probably use the same component info for both the environment and manipulation plugin so they are associated with each other. Then way when you move the slider the data in the environment widget get updated. Also right now they should all have the same scene name. In the future it will be possible to have multiple which would result in a different render table. A case where you might have multiple is if you wanted to load multiple environment widgets and load different urdf or if using the ros environment plugin associated with a different topic. |
Beta Was this translation helpful? Give feedback.
-
Not sure. I recommend posting your issue on that thread and see what they say. |
Beta Was this translation helpful? Give feedback.
If you are wanting to use it directly, then tesseract_collision has an example showing basic usage found here. If you wanting to use it with loading a urdf and srdf then I recommend looking at the tesseract_environment examples.