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