Gazebo | Ignition | Community
Ask Your Question

Throst Gunnulf's profile - activity

2014-04-03 21:06:16 -0600 received badge  Famous Question (source)
2013-08-01 03:07:29 -0600 received badge  Notable Question (source)
2013-07-23 20:34:15 -0600 received badge  Popular Question (source)
2013-07-23 06:02:24 -0600 received badge  Student (source)
2013-07-17 04:52:28 -0600 received badge  Editor (source)
2013-07-17 04:50:44 -0600 asked a question Child link of a joint not following parent's movement.

Hey, I'm modelling a robot that mimics a human head, which means I have some joints that rotate in the same axis. To make an analogy with the human head, I have a joint that allows the neck to rotate and two joints to allow the eyes to rotate (all of these joints rotate only in the Z axis).

The problem I have is that when I rotate the neck, the eyes mantain their absolute angle, and not the angle relative to its parent link. Also, whenever I rotate one eye, the neck starts rotating in the opposite direction. The relevant parts of the model are in this pastebin (I couldn't get the formatting right, sorry).

Is there any way I can correct this behaviour without having to do so with a plugin? If you need any information I forgot, please don't hesitate to ask. Thanks in advance!