Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ok. I found the solution. At first, if the robot have a complex shape, it should be defined by several polygons (that was said in the manual). Second, the syntax changed and now you do not need to write "polygon", so the structure is:

Block

(

points .. #amount of points starts with 1, not zero

point[0] [.. ..] #point coordinates: x, y

point [1] [.. ..]

z [0 1]

)

size [.. .. ..] # size of the robot in your simulation

I got correct results, if the coordinates of the points did not exceed 1.00. The coordinates of the points are not size in meters, which you set by the "size" string. Size of the robot should be proportional to the robot shape size, which you set up with points coordinates. Each "polygon" of the robot must be defined as a new block. You can also set different colours for blocks. And unfortunately I have no idea what "z [0 1]" is for. I hope that my experience will be useful for somebody.