Public Member Functions | Public Attributes
New_dynamics Class Reference

This is an example of customize Dynamics class. More...

Inheritance diagram for New_dynamics:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 New_dynamics (Robot_basic *robot_)
 Constructor.
virtual void plot ()
 Customize plot function.

Public Attributes

bool first_pass_plot
int i
Robot_basicrobot
RowVector tout
Matrix xout

Detailed Description

This is an example of customize Dynamics class.

This class enherite from Dynamics class. At every time frame the new virtual plot functions record the current time and the robot joints positions. The data can then be used to create a plot.

Definition at line 63 of file demo_2dof_pd.cpp.


Constructor & Destructor Documentation

Constructor.

Definition at line 80 of file demo_2dof_pd.cpp.


Member Function Documentation

void New_dynamics::plot ( ) [virtual]

Customize plot function.

Record the time (tout) and the joints positions (xout). This member function is call by the member function xdot.

Reimplemented from Dynamics.

Definition at line 94 of file demo_2dof_pd.cpp.


Member Data Documentation

First time in plot function.

Definition at line 70 of file demo_2dof_pd.cpp.

Temporary index.

Definition at line 73 of file demo_2dof_pd.cpp.

Robot_basic pointer.

Reimplemented from Dynamics.

Definition at line 69 of file demo_2dof_pd.cpp.

RowVector New_dynamics::tout

Output time vector.

Definition at line 71 of file demo_2dof_pd.cpp.

Output state vector.

Definition at line 72 of file demo_2dof_pd.cpp.


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


kni
Author(s): Martin Günther
autogenerated on Mon Aug 14 2017 02:44:13