This demo file shows a two degree of freedom robots controller by a pd controller. The robot is define by the file "conf/rr_dh.conf", while the controller is defined by the file "conf/pd_2dof.conf". The desired joint trajectory is defined by the file "conf/q_2dof.dat";
Definition in file demo_2dof_pd.cpp.
#include "gnugraph.h"
#include "controller.h"
#include "control_select.h"
#include "dynamics_sim.h"
#include "robot.h"
#include "trajectory.h"
Go to the source code of this file.
Classes | |
| class | New_dynamics |
| This is an example of customize Dynamics class. More... | |
Functions | |
| int | main () |
Variables | |
| static const char | rcsid [] = "$Id: demo_2dof_pd.cpp,v 1.2 2006/05/16 16:27:43 gourdeau Exp $" |
| RCS/CVS version. | |
1.5.1