TimedTrajectory.h
Go to the documentation of this file.
1
#ifndef TIMEDTRAJECTORY_H
2
#define TIMEDTRAJECTORY_H
3
4
#include <
RobotAPI/libraries/core/Trajectory.h
>
5
#include <
ArmarXCore/core/exceptions/user/NotImplementedYetException.h
>
6
7
namespace
armarx
8
{
9
/**
10
* @class TimedTrajectory
11
* @brief A container for a Trajectory and a set of timestamps, representing the arrival of the Trajectory at userPoints.
12
*/
13
class
TimedTrajectory
14
{
15
private
:
16
//The Trajectory.
17
TrajectoryPtr
trajectory;
18
//Mapped times of the Trajectory reaching userpoints.
19
std::vector<double> userPoints;
20
public
:
21
/**
22
* @brief Creates a TimedTrajectory out of the supplied Trajectory and userpoints.
23
* @param trajectory The Trajectory to point to.
24
* @param userPoints The UserPoints.
25
* @return The set of userPoints.
26
*/
27
TimedTrajectory
(
armarx::TrajectoryPtr
trajectory, std::vector<double> userPoints);
28
/**
29
* @brief Returns the contained Trajectory.
30
* @return The contained Trajectory.
31
*/
32
const
armarx::TrajectoryPtr
getTrajectory
()
const
;
33
/**
34
* @brief Returns the userPoints.
35
* @return The set of userPoints.
36
*/
37
std::vector<double>
getUserPoints
()
const
;
38
};
39
}
40
#endif // TIMEDTRAJECTORY_H
armarx::TimedTrajectory::TimedTrajectory
TimedTrajectory(armarx::TrajectoryPtr trajectory, std::vector< double > userPoints)
Creates a TimedTrajectory out of the supplied Trajectory and userpoints.
Definition:
TimedTrajectory.cpp:4
armarx::TimedTrajectory::getUserPoints
std::vector< double > getUserPoints() const
Returns the userPoints.
Definition:
TimedTrajectory.cpp:15
IceInternal::Handle< Trajectory >
armarx::TimedTrajectory::getTrajectory
const armarx::TrajectoryPtr getTrajectory() const
Returns the contained Trajectory.
Definition:
TimedTrajectory.cpp:10
NotImplementedYetException.h
Trajectory.h
armarx::TimedTrajectory
A container for a Trajectory and a set of timestamps, representing the arrival of the Trajectory at u...
Definition:
TimedTrajectory.h:13
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
RobotComponents
gui-plugins
RobotTrajectoryDesignerGuiPlugin
TrajectoryCalculation
TimedTrajectory.h
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17