Conventions and Notations
Kinematics
- A quaternion is written as
, with the scalar part first. For a rotation by the angle about the unit axis , and . - Unless explicitly stated otherwise, all quantities in RaiSim are expressed in the world frame.
- The world frame is an inertial frame: it neither moves nor accelerates.
- For articulated systems, the base angular velocity is defined in the world frame (in contrast to many other simulators which utilize the base frame). For further details, please refer to Joints.
- Quantities use SI units (m, kg, s, rad). The default gravity is
m/s², so the world axis points up.
A position vector in a Cartesian coordinate system is represented as
A position vector can be expressed in any reference frame. To transform the vector representation between frames, a linear transformation is employed as follows:
In this document, the symbol
Dynamics
The pages on dynamics share one notation.
- Bold symbols are vectors and matrices; italic symbols are scalars, including the entries of a vector:
is the entry of for joint . and are the generalized coordinate and the generalized velocity of an articulated system, with entries (see State and Kinematics). Joint velocities are entries of . is a generalized force, the mass matrix and the nonlinear term (see Dynamics and Control). is a Jacobian, for the velocity of a point. is the time step, and the subscripts and mark the beginning and the end of a step. is an impulse, which acts as the generalized impulse . are the impulses of the contact solver (contacts, joint limits and joint friction). - For a joint,
is the damping and the friction (see Joint Damping and Friction); for an actuator, is the gear ratio (see Actuators).