Simox
2.3.74.0
|
Public Types | |
enum | CoMLocation { eCustom, eVisuBBoxCenter } |
enum | SimulationType { eStatic, eKinematic, eDynamic, eUnknown } |
Public Member Functions | |
Physics () | |
std::string | getString (SimulationType s) const |
void | print () const |
bool | isSet () |
virtual std::string | toXML (int tabs) |
Physics | scale (float scaling) const |
Data Fields | |
Eigen::Vector3f | localCoM |
Defined in the local coordinate system of this object [mm]. More... | |
float | massKg |
The mass of this object. More... | |
float | friction |
Friction of this object. Use -1.0 to use simulator's default value. More... | |
CoMLocation | comLocation |
Where is the CoM located. More... | |
Eigen::Matrix3f | inertiaMatrix |
SimulationType | simType |
in kg*m^2 More... | |
std::vector< std::string > | ignoreCollisions |
VirtualRobot::SceneObject::Physics::Physics | ( | ) |
std::string VirtualRobot::SceneObject::Physics::getString | ( | SimulationType | s | ) | const |
bool VirtualRobot::SceneObject::Physics::isSet | ( | ) |
void VirtualRobot::SceneObject::Physics::print | ( | ) | const |
SceneObject::Physics VirtualRobot::SceneObject::Physics::scale | ( | float | scaling | ) | const |
|
virtual |
CoMLocation VirtualRobot::SceneObject::Physics::comLocation |
Where is the CoM located.
float VirtualRobot::SceneObject::Physics::friction |
Friction of this object. Use -1.0 to use simulator's default value.
std::vector< std::string > VirtualRobot::SceneObject::Physics::ignoreCollisions |
Eigen::Matrix3f VirtualRobot::SceneObject::Physics::inertiaMatrix |
Eigen::Vector3f VirtualRobot::SceneObject::Physics::localCoM |
Defined in the local coordinate system of this object [mm].
float VirtualRobot::SceneObject::Physics::massKg |
The mass of this object.
SimulationType VirtualRobot::SceneObject::Physics::simType |
in kg*m^2