59 #ifdef _MSC_VER // Microsoft
62 #pragma warning (disable:4786)
75 using namespace NEWMAT;
80 #define EXTRAPOLLATION -2
81 #define NOT_IN_RANGE -3
92 short interpolating(
const Real t, ColumnVector & s);
93 short first_derivative(
const Real t, ColumnVector & ds);
94 short second_derivative(
const Real t, ColumnVector & dds);
105 #define JOINT_SPACE 1
106 #define CARTESIAN_SPACE 2
109 typedef std::map< Real, ColumnVector, less< Real > >
point_map;
120 Spl_path(
const std::string & filename);
122 short p(
const Real time, ColumnVector & p);
123 short p_pdot(
const Real time, ColumnVector & p, ColumnVector & pdot);
124 short p_pdot_pddot(
const Real time, ColumnVector & p, ColumnVector & pdot,
125 ColumnVector & pdotdot);
126 short get_type(){
return type; }
127 double get_final_time(){
return final_time; }
136 typedef std::map< Real, Quaternion, less< Real > >
quat_map;
150 short quat_w(
const Real t,
Quaternion & s, ColumnVector & w);
167 void set_trajectory(
const std::string & filename);