GCOP
1.0
|
#include <particle2d.h>
Public Member Functions | |
Particle2d () | |
double | Step (Vector4d &xb, double t, const Vector4d &xa, const Vector2d &u, double h, const VectorXd *p=0, Matrix< double, 4, 4 > *A=0, Matrix< double, 4, 2 > *B=0, Matrix< double, 4, Dynamic > *C=0) |
Public Attributes | |
double | m |
mass | |
double | r |
radius |
A simple point-mass (i.e. particle) in 2d with second-order dynamics. The state is with controls correspond to turn rate acceleration and forward acceleration.
Author: Marin Kobilarov marin(at)jhu.edu
double Particle2d::Step | ( | Vector4d & | xb, |
double | t, | ||
const Vector4d & | xa, | ||
const Vector2d & | u, | ||
double | h, | ||
const VectorXd * | p = 0 , |
||
Matrix< double, 4, 4 > * | A = 0 , |
||
Matrix< double, 4, 2 > * | B = 0 , |
||
Matrix< double, 4, Dynamic > * | C = 0 |
||
) |
References m.
double gcop::Particle2d::m |
mass
Referenced by Step().
double gcop::Particle2d::r |
radius
Referenced by gcop::Particle2dView::Render().