Ask Your Question
0

Moveit rviz plugin generates invalid quaternion

asked 2018-04-07 03:13:20 -0600

jgdo gravatar image

Hi together,

I'm trying to setup Moveit for a custom robot arm. Basically everything is working, but when running the demo generated by MoveIt! Setup Assistant I am getting a weird message from Rviz:

[DEBUG] [1523088247.990100347]: Quaternion [x: 1,000, y: 0,000, z: 0,000, w: 1,000] not normalized. Magnitude: 1,414
[ WARN] [1523088247.990177816]: Interactive marker 'EE:goal_tool0' contains unnormalized quaternions. This warning will only be output once but may be true for others; enable DEBUG messages for ros.rviz.quaternions to see more details.
[DEBUG] [1523088247.990237873]: Interactive marker 'EE:goal_tool0' contains unnormalized quaternions.

I can't understand where this is coming from. I use a custom IK plugin, but it only computes the joint angles, not the actual poses. IK still works correctly when moving around the interactive marker in Rviz.

The problem now is that when I add gripper joints and links to tool0 link, Rviz immediately crashes as soon as I move the goal interactive marker of the Moveit plugin.

What could be the issue here? My URDF is just a chain of links and revolute joints. The last link "link6" is connected to "tool0" by a fixed joint.

My move group in SRDF is this:

    group name="arm">
        <link name="tool0" />
        <joint name="joint5" />
        <joint name="joint4" />
        <joint name="joint3" />
        <joint name="joint2" />
        <joint name="joint1" />
        <joint name="link6-tool0" />
    </group>

Thanks for the help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-10 02:32:52 -0600

gvdhoorn gravatar image

Sort of an inverse duplicate, but see #q290770.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-04-07 03:13:20 -0600

Seen: 765 times

Last updated: May 10 '18