GCOP  1.0
Public Member Functions | Public Attributes
gcop::Particle2d Class Reference

#include <particle2d.h>

Inheritance diagram for gcop::Particle2d:
Inheritance graph
[legend]
Collaboration diagram for gcop::Particle2d:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

A simple point-mass (i.e. particle) in 2d with second-order dynamics. The state is $ \bf x = (q, v) \in \mathbb{R}^4$ with controls $ \bf u \in\mathbb{R}^2 $ correspond to turn rate acceleration and forward acceleration.

Author: Marin Kobilarov marin(at)jhu.edu


Constructor & Destructor Documentation


Member Function Documentation

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.


Member Data Documentation

mass

Referenced by Step().

radius

Referenced by gcop::Particle2dView::Render().


The documentation for this class was generated from the following files: