Go to the documentation of this file.
25 int main(
int argc,
char* argv[]) {
62 ctraject->
Add(traject);
68 for (
double t=0.0; t <= traject->
Duration(); t+= dt) {
70 current_pose = traject->
Pos(t);
73 of << current_pose(i,j) <<
"\t";
82 for (
int segmentnr=0; segmentnr < path->
GetNrOfSegments(); segmentnr++) {
92 std::cout <<
"segment " << segmentnr <<
" runs from s="<<starts <<
" to s=" <<ends;
109 }
catch(
Error& error) {
virtual const char * Description() const
virtual double PathLength()
virtual double GetLengthToEndOfSegment(int i)
void Add(const Frame &F_base_point)
virtual void Add(Trajectory *elem)
A concrete implementation of a 3 dimensional vector class.
const double PI_2
the value of pi/2
virtual int GetType() const
represents a frame transformation in 3D space (rotation + translation)
const double PI
the value of pi
virtual IdentifierType getIdentifier() const =0
virtual Frame Pos(double time) const =0
virtual Path * GetSegment(int i)
virtual int GetNrOfSegments()
int main(int argc, char *argv[])
virtual double Duration() const =0
static Rotation RPY(double roll, double pitch, double yaw)
virtual void SetProfile(double pos1, double pos2)=0