Robotics StackExchange | Archived questions

Is it possible to calculate the incidence angle ??

Hi, I am new in Gazebo. I have a question. Is it possible to calculate the incidence angle between a beam of ray and an object ? If it is not possible, is there any method to get incidence angle with another library...?

Thanks

Asked by Peterss on 2018-04-04 03:07:44 UTC

Comments

Answers

Yes, it is possible but you'll have to do the calculation. You can write a plugin that creates a RayShape. The RayShape can tell you what entity the Ray intersects. Next, you would have to get the entity, and use its pose information along with the entity's collision shapes to figure out the incident angle.

Asked by nkoenig on 2018-04-06 15:49:37 UTC

Comments

I think that normal vector at contact point is needed in order to calculate incidence angle. If I do what you mentioned, it is not possible to get incidence angle..is it right?

Asked by Peterss on 2019-01-17 22:31:57 UTC