Tutorial?

Template

The following parameters can be set in the world file. (※ v2.2.0 or later)

Entity attribute

AttributeTypeInitial valueDescription
namestring-Please pay attention for duplicate name
xdouble0.0Initial position x
ydouble0.0Initial positiony
zdouble0.0Initial positionz
qwdouble1.0Initial rotation (quaternion)qw
qxdouble0.0Initial rotation (quaternion)qx
qydouble0.0Initial rotation (quaternion)qy
qzdouble0.0Initial rotation (quaternion)qz
scalexdouble1.0Scale for x axis for the object
scaleydouble1.0Scale for y axis for the object
scalezdouble1.0Scale for z axis for the object
massdouble1.0Mass (kg)
dynamicsbooltruePhysics flag
collisionboolfalseCollision detection flag
graspablebooltruegrasp ability flag
graspRadiusdouble40.0Radius for grasp ability
languagestring-Controller programming language (only C++ is supported)
implementationstringController file specification

Camera parameters

ParameterTypeInitial valueDescription
idint-ID number
linkstring-Link name
fovdouble45y-direction Viewing Angle (degree)
aspectRatiodouble1.5Aspect ratio (width / height)
directiondouble*3"0.0 0.0 1.0"Camera's direction vector
quaterniondouble*4"1.0 0.0 0.0 0.0"Rotation of the camera

World parameters

ParameterTypeInitial valueDescription
erpdouble0.5If the value is 0, the error increases. If 1, the error decreases.
cfmdouble1e-8関節や地面などの柔らかさを決めるパラメータ.大きいほど柔らかい. 最大値は1.0
autostepbooltrue自動ステップモード.trueのときはstepsizeの値で時間を刻み、現実世界とシミュレーション世界の時間を自動で一致させる。falseにした場合はエージェントコントローラでworldStep(もしくはworldQuickStep)を使ってSIGVerse時間を進める必要がある。
quickstepboolfalsequick step モードでSIGVerse時間を進める。高速だが物理演算シミュレーションの精度が悪い autostep=trueのときのみ有効
stepsizedouble0.01Step width (sec).It works only when autostep=true

Collision parameters

Parameter nameTypeDefault valueDescription
mudouble0.9摩擦係数 0~無限の値をとり0の場合摩擦がない
mu2double0.02Friction coefficient, it's perpendicular to the direction on which the force is applied
slip1double0.01摩擦方向1における force-dependent-slip係数
slip2double0.01摩擦方向2における force-dependent-slip係数
soft_erpdouble0.8接触法線方向の柔らかさ
soft_cfmdouble0.0001接触法線方向の柔らかさ
bouncedouble0.3Coefficient of restitution (0~1)
bounce_veldouble5.0The minimum velocity required to bounce(cm / s)

※Note) These collision's parameters are applied to all objects collision.


Front page   New List of pages Search Recent changes   Help   RSS of recent changes