DesignerTrajectoryCalculator Class Reference

Offers functionality to create TimedTrajectories from supplied Trajectories and points set by the user. More...

#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/TrajectoryCalculation/DesignerTrajectoryCalculator.h>

Public Member Functions

TimedTrajectory calculateTimeOptimalTrajectory (std::vector< std::vector< double >> &trajectory, std::vector< std::vector< double >> &userPoints, VirtualRobot::RobotNodeSetPtr rns, double maxDeviation, double accuracyFactor=1.0)
 Calculates a TimedTrajectory from the supplied trajectory and points set by user. More...
 
 DesignerTrajectoryCalculator (EnvironmentPtr environment)
 

Detailed Description

Offers functionality to create TimedTrajectories from supplied Trajectories and points set by the user.

Definition at line 16 of file DesignerTrajectoryCalculator.h.

Constructor & Destructor Documentation

◆ DesignerTrajectoryCalculator()

Definition at line 8 of file DesignerTrajectoryCalculator.cpp.

Member Function Documentation

◆ calculateTimeOptimalTrajectory()

armarx::TimedTrajectory calculateTimeOptimalTrajectory ( std::vector< std::vector< double >> &  trajectory,
std::vector< std::vector< double >> &  userPoints,
VirtualRobot::RobotNodeSetPtr  rns,
double  maxDeviation,
double  accuracyFactor = 1.0 
)

Calculates a TimedTrajectory from the supplied trajectory and points set by user.

Parameters
trajectoryA vector of floats representing the trajectory.
userPointsThe set of points defined by the user.
rnsThe RobotNodeSet used by the trajectory.
maxDeviationThe maximum deviation of the points along the trajectory.
accuracyFactorThe factor with which to scale the accuracy of the time optimal trajectory.
Returns
The created TimedTrajectory.

CREATE TRAJECTORY TO UNFOLD

Definition at line 13 of file DesignerTrajectoryCalculator.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: