Hi,
I am trying to model robot collision with static obstacles. The links of the robot have been modeled as Capsules and obstacle as primitive shapes. Sphere and Cylinder are working okay but when collision and distance check is done with Box, the results are incorrect.
All shapes have their respective classes. Box is defined in below code:
Hi, I am trying to model robot collision with static obstacles. The links of the robot have been modeled as Capsules and obstacle as primitive shapes. Sphere and Cylinder are working okay but when collision and distance check is done with Box, the results are incorrect. All shapes have their respective classes. Box is defined in below code:
Collision check and distance check is as below.
For robot link 2 and 3 I am getting collision even though they are not colliding as shown in figure.![image](https://user-images.githubusercontent.com/32592367/205027538-fe298475-cfdb-4ba2-a0a1-44687d0ccf2d.png)
Woul be be great if someone helps in this issue.
Thanks