-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
rviz crashes due to invalid quaternion after Interactive Marker Server applyChanges to existing marker #1185
Comments
Deactivated marker server clearing due to RVIZ bug passing invalid quaternions to OGRE 1.9 causing it to crash (Opened issue ticket ros-visualization/rviz#1185)
What version of
Do you have a traceback? If so please post it. If not then can you tell us how you know this is the source of the crash? |
I'm currently using rviz version 1.12.14 using Kinetic on 16.04 with Ogre 1.9. Tested also the indigo branch and compiled it and I get the same issue. On 14.04, indigo and Ogre 1.8 this is not an issue. So it seems to be related to ogre 1.9 which is more strict with invalid quaternions. It took me a while to figure out where the issue was. |
Here is a traceback and the warning
|
Thanks for the additional details. One of us will try to look into it (especially reproducing the idea that the tutorial is invalid) as soon as possible. But please continue to post details you find out if you're still looking into the issue. Edit: Control message for reference: http://docs.ros.org/api/visualization_msgs/html/msg/InteractiveMarkerControl.html |
Any update on this matter ?? |
I have a same problem when i drag the marker. It reports "Interactive marker 'EE:goal_ee_link' contains unnormalized quaternions". Is there any solusion? |
[Switching to Thread 0x7fff5da26700 (LWP 3647)] |
I have not find the problem and Rviz always crashes after dragging the marker yet in KDL Plugin. I found that when I use other kinematics plugins such as ikfast , the warnning |
any results? i have also run to the problem |
Any updates? apparently I'm not the only one who have this problem. |
same here, any further information on those issues?! (Bionic & Melodic) |
Same problem here, using ubuntu 16.04 + ROS kinetic with ikfast inverse kinematic plugin |
@cassinaj, I tried to reproduce your issue on both Melodic and Kinetic, but I wasn't able to do so. @Tianhuanyu and most others: You are reporting a different issue (the unnormalized quaternion warning). rviz isn't crashing due to that, is it? Please report this issue in MoveIt as it is probably an invalid quaternion send by the MoveIt plugin. |
Closing due to inactivity. We have had a lot of improvements regarding marker validation in the past. |
This error message was also, coincidentally, the last thing I saw before a segfault that was related to ogre 1.9, as mentioned in this issue: #1082 See comment: Building rviz from souce with ogre 1.9.1 made rviz stop crashing, but my crash happened most often when moving the interactive marker. |
Changes made to the interactive marker via InteractiveMarkerServer::insert() or InteractiveMarkerServer::clear() followed by InteractiveMarkerServer::applyChanges() cause rviz to crash. When changes are made to a marker, an invalid quaternion is passed to OGRE causing the crash. This doesn't seem to affect creating new markers, though. E.g. the crash happens when removing some or even all controllers of a marker and applying the changes resulting in the following server update on the /interactive_marker/update_full topic (both cases the server is not sending unnormalized quaternions):
Clearing server and apply changes:
Removing a subset of controllers and apply changes:
The text was updated successfully, but these errors were encountered: