#include <rigid_body.hpp>
Definition at line 54 of file rigid_body.hpp.
Public Member Functions | |
rigid_body_state | derivative (const double &t) const |
rigid_body_state | operator* (const double &n) const |
rigid_body_state | operator+ (const rigid_body_state &s) const |
rigid_body_state & | operator= (const rigid_body_state &s) |
Public Attributes | |
math::vector | L |
math::vector | p |
rigid_body * | parent_body |
math::quaternion | q |
math::vector | x |
rigid_body_state derivative | ( | const double & | t | ) | const |
Definition at line 85 of file rigid_body.cpp.
References rigid_body::calculate_force_and_torque(), rigid_body::force, vector::get_w(), vector::get_x(), vector::get_y(), vector::get_z(), rigid_body::j_inverse, rigid_body_state::L, rigid_body::mass_inverse, rigid_body_state::p, rigid_body_state::parent_body, rigid_body_state::q, rigid_body::torque, and rigid_body_state::x.
rigid_body_state operator* | ( | const double & | n | ) | const |
Definition at line 71 of file rigid_body.cpp.
References rigid_body_state::L, rigid_body_state::p, rigid_body_state::parent_body, rigid_body_state::q, and rigid_body_state::x.
rigid_body_state operator+ | ( | const rigid_body_state & | s | ) | const |
Definition at line 57 of file rigid_body.cpp.
References rigid_body_state::L, rigid_body_state::p, rigid_body_state::parent_body, rigid_body_state::q, and rigid_body_state::x.
rigid_body_state & operator= | ( | const rigid_body_state & | s | ) |
Definition at line 46 of file rigid_body.cpp.
References rigid_body_state::L, rigid_body_state::p, rigid_body_state::parent_body, rigid_body_state::q, and rigid_body_state::x.
Definition at line 62 of file rigid_body.hpp.
Referenced by rigid_body::compute_derived_quantities(), rigid_body_state::derivative(), rigid_body::init(), rigid_body_state::operator*(), rigid_body_state::operator+(), and rigid_body_state::operator=().
Definition at line 61 of file rigid_body.hpp.
Referenced by rigid_body::compute_derived_quantities(), rigid_body_state::derivative(), rigid_body::init(), rigid_body_state::operator*(), rigid_body_state::operator+(), and rigid_body_state::operator=().
Definition at line 56 of file rigid_body.hpp.
Referenced by rigid_body_state::derivative(), rigid_body_state::operator*(), rigid_body_state::operator+(), rigid_body_state::operator=(), and rigid_body::rigid_body().
Definition at line 60 of file rigid_body.hpp.
Referenced by rigid_body::compute_derived_quantities(), rigid_body_state::derivative(), rigid_body::init(), rigid_body_state::operator*(), rigid_body_state::operator+(), and rigid_body_state::operator=().
Definition at line 59 of file rigid_body.hpp.
Referenced by rigid_body_state::derivative(), rigid_body::init(), rigid_body_state::operator*(), rigid_body_state::operator+(), rigid_body_state::operator=(), and rigid_body::update().