Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing when visualizing odom message with large covariance values #1160

Closed
pl-kabaradjian opened this issue Oct 5, 2017 · 5 comments
Closed

Comments

@pl-kabaradjian
Copy link

Hello,

I am running kinetic and I am encountering crashes when trying to visualize odometry from kobuki/turtlebot.
Here is the crash message:

rviz: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:252: void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&): Assertion `(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"' failed.

It seems to be caused by kobuki sending large covariance values like "1.7976931348623157e+308".
Here is an example of kubuki odom message:

kobuki_odom

I tried sending the same message but replacing these large values by 1 and Rviz doesn't crash anymore.

I also found a commit concerning a similar problem in rtbamap :
link to the commit

It was working before so there might be an update or a change in turtlebot driver that broke something . I would really appreciate if someone could look into this.

Thanks in advance,

PLK

@NiftyGrimoire
Copy link

I am also encountering this issue, with odom covariances reaching 1e+308.
Currently working around this issue by piping the odom (from the kobuki node) into another node, which limits the covariances.

@pl-kabaradjian
Copy link
Author

@NiftyGrimoire It is indeed the current work around that I am using, but it would be nice to not have to filter the odometry with another node to be able to display it in Rviz :/

@rhaschke
Copy link
Contributor

Fixed via #1400, released into 1.13.4.

@positron96
Copy link

Thanks! So, what version of ROS do I need to have a fixed rviz?

@rhaschke
Copy link
Contributor

rhaschke commented Oct 1, 2019

Melodic. rviz 1.13.4 was synced on Monday, Sep. 30th.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants