Struct PendulumState

Struct Documentation

struct PendulumState

Struct representing the dynamic/kinematic state of the pendulum.

Public Members

double position = 0

Angle from the ground in radians.

double velocity = 0

Angular velocity in radians/sec.

double acceleration = 0

Angular acceleration in radians/sec^2.

double torque = 0

Torque on the joint (currently unused)