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

#include <rccar1.h>

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

List of all members.

Public Member Functions

 Rccar1 ()
double Step (Vector4d &xb, double t, const Vector4d &xa, const Vector2d &u, double h, const VectorXd *p, Matrix4d *A=0, Matrix42d *B=0, Matrix4pd *C=0)
double bind (const double &input, int index)

Public Attributes

double msteer
double csteer
 Transform for converting input into steering angle.
double mdrive
double cdrive
 Transform for converting input into desired velocity.
double ktorque
 Proportional constant for how much torque is applied for matching the current velocity with the desired velocity.

Detailed Description

A simple rear-drive Rccar model with 2nd order dynamics.

The state is $ \bm x = (x,y,\theta, v) \in\mathbb{R}^4$ and controls are $ \bm u = (a, tan(phi) ) \in\mathbb{R}^5$ correspond to forward acceleration a and steering angle phi

Author: Marin Kobilarov marin(at)jhu.edu


Constructor & Destructor Documentation


Member Function Documentation

double gcop::Rccar1::bind ( const double &  input,
int  index 
) [inline]

Referenced by Step().

double Rccar1::Step ( Vector4d &  xb,
double  t,
const Vector4d &  xa,
const Vector2d &  u,
double  h,
const VectorXd *  p,
Matrix4d A = 0,
Matrix42d B = 0,
Matrix4pd C = 0 
) [virtual]

Reimplemented from gcop::Rccar.

References bind(), cdrive, csteer, ktorque, gcop::Rccar::l, mdrive, and msteer.


Member Data Documentation

Transform for converting input into desired velocity.

Referenced by Step().

Transform for converting input into steering angle.

Referenced by Step().

Proportional constant for how much torque is applied for matching the current velocity with the desired velocity.

Referenced by Step().

Referenced by Step().

Referenced by Step().


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