Cannot create robot with polygons in stage
Hi, I am trying to create a robot model with polygons in stage world file. I tried to use the description from: How to Use Player/Stage Here it is:
define robot model
(
polygons 1
polygon[0].points 6
polygon[0].point[0] [0 0]
polygon[0].point[1] [0 1]
polygon[0].point[2] [0.75 1]
polygon[0].point[3] [1 0.75]
polygon[0].point[4] [1 0.25]
polygon[0].point[5] [0.75 0]
)
The robot should have 6 corners, and look like a 1 m square with two angles cut. But the result is quite different - it is just a simple square which side is much smaller than a meter (0.4 m approximately). The same appears when I do not set any size parameters at all. I use stage 4.1.1 with ROS Indigo on Ubuntu 14.04, if this information can help. Please, help me to find a solution!