32 #ifndef DYNAMICS_SIM_H 33 #define DYNAMICS_SIM_H 50 using namespace NEWMAT;
70 void set_time_frame(
const int nsteps);
71 void set_final_time(
const double tf);
Quaternion class definition.
double to
Initial simulation time.
Header file for trajectory generation class.
Header file for Control_Select class definitions.
Quaternion quatd
Desired orientation express by a quaternion.
virtual void plot()
Virtual plot functions.
int nsteps
Numbers of iterations between.
void Runge_Kutta4_Real_time(ReturnMatrix(*xdot)(Real time, const Matrix &xin, bool &exit, bool &init), const Matrix &xo, Real to, Real tf, int nsteps)
Fixed step size fourth-order Runge-Kutta integrator.
Robot_basic * robot
Pointer on Robot_basic class.
void Runge_Kutta4(ReturnMatrix(*xdot)(Real time, const Matrix &xin), const Matrix &xo, Real to, Real tf, int nsteps, RowVector &tout, Matrix &xout)
Fixed step size fourth-order Runge-Kutta integrator.
Trajectory class selection.
ColumnVector wpd
Desired end effector cartesian angular acceleration.
Trajectory_Select path_select
Instance of Trajectory_Select class.
Virtual base robot class.
Matrix xd
Statd vector derivative obtaint in xdot function.
The usual rectangular matrix.
bool first_pass_Kutta
First time in all Runge_Kutta4 functions.
static const char header_dynamics_sim_rcsid[]
RCS/CVS version.
ReturnMatrix xdot(Real t, const Matrix &x)
Control_Select control
Instance of Control_Select class.
Dynamics simulation handling class.
static Dynamics * instance
Static pointer on Dynamics class.