Bug in BoudingBox() method of class Model
Hi,
I think there is a bug in the model::BoundingBox method. In fact it should return an ignition::math::Box described by 2 corners (min and max).
However I noticed that whenever there is a negative value for the "max" corner, it is rounded to 0. Let's see an example:
[Dbg] [AutonomousActorPlugin.cc:224] Collision box: Min[-5 -5.1 0] Max[5 0 2]
In this case the right box would be Min[-5 -5.1 0] Max[5 -4.9 2]
. It happens every time I think the max corner should have negative values.
Are there any way to solve the problem? Thank you in advance.