Robotics StackExchange | Archived questions

rviz's visualization of rotational elements of a co-variance matrix difficult to interpret

Hello,

I have a problem in how to interpret rviz's visualization of co-variance matrix in PoseWithCovariance.

Visualization of translational elements (row:0~2, column:0~2) of co-variance matrices seems quite fine (purple-ish elliptic ball).

However, rviz's visualization of rotational elements of co-variance matrices (row:3~5, column:3~5) appears weird to me.

I believe three yellowish elliptic plates correspond to the error magnitude of orientation frame axes (x axis, y axis and z axis) caused by rotational error.

If so,

I would be pleased if anyone knowledgeable in rviz give me some explanation on this phenomenon.

[ Co-variance Matrices ]

              | 0.25    0    0    0    0    0 |
  cov[3][3] = |    0 0.25    0    0    0    0 |
              |    0    0 0.25    0    0    0 |
              |    0    0    0 1.25    0    0 |  # variance of roll noise is larger
              |    0    0    0    0 0.25    0 |
              |    0    0    0    0    0 0.25 |

              | 0.25    0    0    0    0    0 |
  cov[4][4] = |    0 0.25    0    0    0    0 |
              |    0    0 0.25    0    0    0 |
              |    0    0    0 0.25    0    0 |
              |    0    0    0    0 1.25    0 |  # variance of pitch noise is larger
              |    0    0    0    0    0 0.25 |

              | 0.25    0    0    0    0    0 |
  cov[5][5] = |    0 0.25    0    0    0    0 |
              |    0    0 0.25    0    0    0 |
              |    0    0    0 0.25    0    0 |
              |    0    0    0    0 0.25    0 |
              |    0    0    0    0    0 1.25 |  # variance of yaw noise is larger

[ Visualization by rviz ]

rviz visualization of co-variance matrices 1

rviz visualization of co-variance matrices 2

[ System that I used ]

Thanks.

Asked by Hideyasu_Miyagi on 2019-11-09 22:41:20 UTC

Comments

You cannot link to images hosted off-site. They will not render.

Please attach your images directly to the question, I've given you sufficient karma for that.

Asked by gvdhoorn on 2019-11-10 04:52:08 UTC

Hi gvdhoorn,

I directly attached images. Thank you for assisting me on this.

Asked by Hideyasu_Miyagi on 2019-11-10 07:16:52 UTC

Answers