32 #include "boost/numeric/ublas/matrix.hpp" 33 #include "boost/numeric/ublas/vector.hpp" 34 #include "boost/numeric/ublas/vector_proxy.hpp" 35 #include "boost/numeric/ublas/triangular.hpp" 36 #include "boost/numeric/ublas/lu.hpp" 37 #include "boost/numeric/ublas/io.hpp" 63 Exception("Wait parameter set to false", -71) {}
90 double totalTime(
double distance,
double acc,
double dec,
double vmax);
103 double relPosition(
double reltime,
double distance,
double acc,
double dec,
122 void splineCoefficients(
int steps,
double *timearray,
double *encoderarray,
123 double *arr_p1,
double *arr_p2,
double *arr_p3,
double *arr_p4);
136 bool checkJointSpeed(std::vector<int> lastsolution,
137 std::vector<int> solution,
double time);
153 CLMBase() : _maximumVelocity(20), _activatePositionController(true) {}
156 void movLM(
double X,
double Y,
double Z,
157 double Al,
double Be,
double Ga,
158 bool exactflag,
double vmax,
bool wait=
true,
int tolerance = 100,
long timeout =
TM_ENDLESS);
178 void movLM2P(
double X1,
double Y1,
double Z1,
double Al1,
double Be1,
179 double Ga1,
double X2,
double Y2,
double Z2,
double Al2,
double Be2,
180 double Ga2,
bool exactflag,
double vmax,
bool wait=
true,
181 int tolerance = 100,
long timeout =
TM_ENDLESS);
201 void movP2P(
double X1,
double Y1,
double Z1,
double Ph1,
double Th1,
202 double Ps1,
double X2,
double Y2,
double Z2,
double Ph2,
double Th2,
203 double Ps2,
bool exactflag,
double vmax,
bool wait=
true,
206 void setMaximumLinearVelocity(
double maximumVelocity);
207 double getMaximumLinearVelocity()
const;
212 void setActivatePositionController(
bool activate);
216 bool getActivatePositionController();
219 void moveRobotLinearTo(
220 double x,
double y,
double z,
221 double phi,
double theta,
double psi,
222 bool waitUntilReached =
true,
229 void moveRobotLinearTo(
230 std::vector<double> coordinates,
231 bool waitUntilReached =
true,
236 void moveRobotTo(
double x,
double y,
double z,
237 double phi,
double theta,
double psi,
238 bool waitUntilReached =
true,
int waitTimeout =
TM_ENDLESS);
244 void moveRobotTo(std::vector<double> coordinates,
bool waitUntilReached =
true,
int waitTimeout =
TM_ENDLESS);
#define TM_ENDLESS
timeout symbol for 'endless' waiting
bool _activatePositionController