Robotics StackExchange | Archived questions

Rviz Status Warn: Scale of 0 in one of x/y/z

Hi,

I am getting a status warning message in Rviz.

Although the scale of markers are not 0, I keep getting the status warn in Rviz saying "Scale of 0 in one of x/y/z".

I set the markers to be

a.pose.position.x = lon_position;
a.pose.position.y = lateral_position;
a.pose.position.z = 0;
a.pose.orientation.x = 0.0;
a.pose.orientation.y = 0.0;
a.pose.orientation.z = 0.0;
a.pose.orientation.w = 0.0;
a.scale.x = 2;
a.scale.y = 2;
a.scale.z = 2;
a.color.r = 0.0;
a.color.g = 0.0;
a.color.b = 1.0;
a.color.a = 1.0;

I will appreciate any kind of help regarding this.

Thank you.

Asked by roskinetic on 2019-07-12 09:59:07 UTC

Comments

I don't know about the rest, but this doesn't seem legal:

a.pose.orientation.w = 0.0;

that is not a properly normalised quaternion. You'll want to set that to 1.0.

Asked by gvdhoorn on 2019-07-12 10:08:27 UTC

Can you show a full rostopic echo of the message?

Asked by ChuiV on 2019-07-15 22:08:03 UTC

Hi, how did you fix this ?

Asked by Shanika on 2020-06-23 07:21:36 UTC

Hi, any update?

Asked by lyh458 on 2022-04-18 01:44:49 UTC

Answers