Defining collision object accurately in sdf
I'm creating a simple model in Skethcup built of 2 cylinders and a rectangle. Is there a simple way to define the 3 links of the collision objects to tightly couple with the model?
I followed this tutorial: build_model, but it is too simplistic in the example.
More accurately, I've built the model in sketchup and do not know how to extract the cylinders position to be defined as the collision objects since the DAE file contains vertices to defined the geometry.
Asked by shaihi on 2018-02-08 01:42:59 UTC
Answers
I'm not sure that I completely understand your situation.
But if you are importing your cylinders with the mesh tag for your visual, then you can do the same for your collision.
If you load the dae file for your visual but you want a simpler model for your collision then you should use sketchup (I personnally use blender) to find the origin of your cylinder object. You may have to apply a transformation with the pose tag (inside the collision tag).
You can check that your collision model match your visual model using the gazebo gui (view -> collisions).
Asked by Brosseau.F on 2018-02-08 03:56:48 UTC
Comments
Thanks. Do you know if there is a tutorial for the steps you mention? Have not checked it yet...
Asked by shaihi on 2018-03-20 01:59:31 UTC
Comments