RVIZ shows "Uninitialized quaternion, assuming identity." warning

asked 2021-10-22 09:55:10 -0500

Nasser3015 gravatar image

updated 2022-03-25 17:29:29 -0500

lucasw gravatar image

While visualizing my output in RVIZ, I am getting an error stating "Uninitialized quaternion, assuming identity. Is there any way to fix this warning?

Can someone please help me in identifying the issue!

edit retag flag offensive close merge delete


In order to help more details are needed. What program are you running, otherwise I suggest search by the error and there are a few things that may help you

osilva gravatar image osilva  ( 2021-10-22 20:00:11 -0500 )edit

I am running the program on Nvidia Jetson nano with Linux machine ( Ubuntu 18.04 LTS)

Nasser3015 gravatar image Nasser3015  ( 2021-10-23 09:15:39 -0500 )edit

The quaternion is probably [0, 0, 0, 0], which is invalid. That quaternion appears in a message, perhaps a pose message. You can use ROS CLI tools to echo the messages to confirm that they are valid or invalid, find the publisher, etc. Once you know the publisher you can track down the bug.

clyde gravatar image clyde  ( 2021-10-24 10:01:19 -0500 )edit