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

#include <unicycle.h>

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

List of all members.

Public Member Functions

 Unicycle ()
double Step (Vector5d &xb, double t, const Vector5d &xa, const Vector2d &u, double h, const VectorXd *p, Matrix5d *A=0, Matrix52d *B=0, Matrix5Xd *C=0)

Public Attributes

double dx
 distance between left and right tires
double dy
 distance between front and back axles

Detailed Description

A standard unicycle model with 2nd order dynamics. This is often used to model simple wheeled robots or fixed-wing aircraft.

The state is $ \bm x = (x,y,\theta,v,\omega) \in\mathbb{R}^5$ and controls are $ \bm u = (u_1,u_2) \in\mathbb{R}^5$ correspond to forward acceleration and turn rate acceleration.

Author: Marin Kobilarov marin(at)jhu.edu


Constructor & Destructor Documentation


Member Function Documentation

double Unicycle::Step ( Vector5d xb,
double  t,
const Vector5d xa,
const Vector2d &  u,
double  h,
const VectorXd *  p,
Matrix5d A = 0,
Matrix52d B = 0,
Matrix5Xd C = 0 
)

Member Data Documentation

distance between left and right tires

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

distance between front and back axles


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