You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a quick test to check Matrix4 multiplication in #191 and I couldn't see any inconsistencies between ign-math4 and ign-math6.
Note that your example is using ignition::math::Pose3d, not ignition::math::Matrix4d. The behaviour of the * operator for Pose3 has been changed (fixed) from ign-math4 to ign-math5, as documented on the migration guide. I believe that's the underlying reason for what you're seeing.
Thanks for enlightening the issue. What kind of behavior did you implemented before (for ign-math4) ? and what was the its logic?
As you see from my calculations for ign-math4 , the behavior I saw is basically same as reverse order matrix multiplication for ignition::math::Pose3d.
I don't know why it was this way. You can read more of the history in #60 and bitbucket PR 301. I'm closing since this is not a bug, but feel free to continue the discussion if you like
Hello,


I tested matrix multiplication operator in both math4 and math6 library and I obtained 2 different results.
The the first test is in Gazebo9(Ubuntu 18.04) using math4 library. Here is my result.

I think it is wrong because it is not the calculation of MatrixA x MatrixB instead MatrixB x Matrix A. However the intention is MatrixA x Matrix B
If I test the same code in Gazebo11(Ubuntu 20) using math6 library. Here is the result

The result is correct.
summary from my investigation is(maybe I am wrong)
If I want to calculate the matrix multiplication of AB,
Here is the code in the picture.
The text was updated successfully, but these errors were encountered: