Changing the pose of an included model via plugin

asked 2022-04-22 13:59:03 -0500

flyingsubs gravatar image

In my world file I have:

<model name='gimbal'>
      <pose>0 0 6 0 0 0</pose>
        <pose>0 0 0 0 0 1.57</pose>
      <plugin name="GimbalModel"

in GimbalModel plugin I wrote I would like to change the pose values listed in the include gimbal_mount portion, i.e. change the 1.57 rotation dynamically in the code. I can't seem to figure out how to access and change that pose. The model->WorldPose is adjusting the pose (0,0,6,0,0,0) which I don't want to change. Is it possible to dynamically change the gimbal_mount pose in this model?

edit retag flag offensive close merge delete