ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Contains invalid quaternions (length not equal to 1)!

asked 2018-01-03 03:21:52 -0600

Franklin4080 gravatar image

hi, When i use RVIZ to read the vector_map data. The status is error. it show that "Contains invalid quaternions (length not equal to 1)!" would you help me to find something wrong? my system: ubuntu 16.04 ros kinetic

thanks

Frank

edit retag flag offensive close merge delete

Comments

1

Hi @Franklin4080. Please, be more specific: how did you generate the "vector_map"? If you created the node that generates the "vector_map", did you remember to normalize it?

Chaos gravatar image Chaos  ( 2018-01-03 05:41:59 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-01-03 22:30:29 -0600

IanCol gravatar image

I also recently ran into this exact same error message when trying to visualize a nav_msgs/Path topic with invalid (all zeros) quaternions in the path poses. Our code doesn't use the orientation portion of the pose and we had been able to visualize these paths with no problems before. I have version 1.12.14 of rviz and my colleague who had version 1.12.13 of rviz was able to visualize our paths.

TLDR: It seems like the latest version of rviz (1.12.14) is more strict about quaternions according to the changelog

edit flag offensive delete link more

Comments

1

See also ros-visualization/rviz#1176. ros-visualization/rviz#1179 is a follow-up with some discussion.

gvdhoorn gravatar image gvdhoorn  ( 2018-01-04 02:13:03 -0600 )edit
0

answered 2018-01-14 20:43:59 -0600

Pine_sha gravatar image

when i upgrade my rviz to 1.12.15, this problom about "Contains invalid quaternions (length not equal to 1)!" do not appeared .

the first floor is right : TLDR: It seems like the latest version of rviz (1.12.14) is more strict about quaternions according to the changelog

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-01-03 03:21:52 -0600

Seen: 562 times

Last updated: Jan 03 '18