ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
I did not run the code but I am pretty sure that it is because you set uncorrectly the scales of the arrow. For the tutorial you mean, they used a CUBE as shape, so what they want 1 meter for all the dimensions. But for the arrow the dimensions have a different meaning. See this in the section Objects Types they explain the meaning of the scale for the arrow. Moreover the dimensions definition depends on the way you used to specify the arrow Pose (Points or Quaternion).
In your case, you used quaternion, so:
scale.x
is the shaft diameter
scale.y
is the head diameter
scale.z
is the head length
You set all those values equal to 1, so that is the reason to be of the cylinder.
Hope this help.