UserWaypoint Class Reference

The UserWaypoint class represents a waypoint of the trajectory. More...

#include <RobotComponents/gui-plugins/RobotTrajectoryDesignerGuiPlugin/Model/UserWaypoint.h>

Public Member Functions

IKSelection getIKSelection () const
 Returns the VirtualRobot::IKSolver::CartesianSelection of the UserWaypoint. More...
 
bool getIsTimeOptimalBreakpoint () const
 Returns if the UserWaypoint is breakpoint. More...
 
std::vector< double > getJointAngles () const
 Returns the jointAngles of the UserWaypoint. More...
 
PoseBasePtr getPose ()
 Returns the PoseBasePtr of the UserWaypoint. More...
 
double getTimeOptimalTimestamp () const
 Returns the timeOptimalTimestamp of the UserWaypoint which is calculate by the TrajectoryCalculation. More...
 
double getUserTimestamp () const
 Returns the UserTimestamp. More...
 
void setIKSelection (const IKSelection &value)
 Set the new IKSelection of the UserWaypoint. More...
 
void setIsTimeOptimalBreakpoint (bool value)
 Set isTimeOptimalBreakpoint. More...
 
void setJointAngles (const std::vector< double > &value)
 Set the new JointAngles of the UserWaypoint. More...
 
void setPose (const PoseBasePtr &value)
 Set the new PoseBase of the UserWaypoint. More...
 
void setTimeOptimalTimestamp (double value)
 Set the time optimal timestamp of the UserWaypoint calculate by TrajectoryCalculation. More...
 
void setUserTimestamp (double value)
 Set the new UserDuration and tests if its greater than timeOptimalTimestamp. More...
 
 UserWaypoint (const UserWaypoint &source)
 
 UserWaypoint (PoseBasePtr newPose)
 UserWaypoint. More...
 

Detailed Description

The UserWaypoint class represents a waypoint of the trajectory.

Definition at line 47 of file UserWaypoint.h.

Constructor & Destructor Documentation

◆ UserWaypoint() [1/2]

UserWaypoint ( PoseBasePtr  newPose)

UserWaypoint.

Parameters
newPose

Definition at line 103 of file UserWaypoint.cpp.

◆ UserWaypoint() [2/2]

UserWaypoint ( const UserWaypoint source)

Definition at line 112 of file UserWaypoint.cpp.

Member Function Documentation

◆ getIKSelection()

IKSelection getIKSelection ( ) const

Returns the VirtualRobot::IKSolver::CartesianSelection of the UserWaypoint.

Returns
IKSelections

Definition at line 25 of file UserWaypoint.cpp.

+ Here is the caller graph for this function:

◆ getIsTimeOptimalBreakpoint()

bool getIsTimeOptimalBreakpoint ( ) const

Returns if the UserWaypoint is breakpoint.

Returns

Definition at line 37 of file UserWaypoint.cpp.

+ Here is the caller graph for this function:

◆ getJointAngles()

std::vector< double > getJointAngles ( ) const

Returns the jointAngles of the UserWaypoint.

Returns
jointAngles

Definition at line 6 of file UserWaypoint.cpp.

+ Here is the caller graph for this function:

◆ getPose()

PoseBasePtr getPose ( )

Returns the PoseBasePtr of the UserWaypoint.

Returns
PoseBasePtr

Definition at line 92 of file UserWaypoint.cpp.

+ Here is the caller graph for this function:

◆ getTimeOptimalTimestamp()

double getTimeOptimalTimestamp ( ) const

Returns the timeOptimalTimestamp of the UserWaypoint which is calculate by the TrajectoryCalculation.

Returns
timeOptimalTimestamp

Definition at line 49 of file UserWaypoint.cpp.

+ Here is the caller graph for this function:

◆ getUserTimestamp()

double getUserTimestamp ( ) const

Returns the UserTimestamp.

Returns
userTimestamp

Definition at line 72 of file UserWaypoint.cpp.

+ Here is the caller graph for this function:

◆ setIKSelection()

void setIKSelection ( const IKSelection value)

Set the new IKSelection of the UserWaypoint.

Parameters
iKSelection

Definition at line 31 of file UserWaypoint.cpp.

+ Here is the call graph for this function:

◆ setIsTimeOptimalBreakpoint()

void setIsTimeOptimalBreakpoint ( bool  value)

Set isTimeOptimalBreakpoint.

Parameters
isbreakpoint or not

Definition at line 43 of file UserWaypoint.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setJointAngles()

void setJointAngles ( const std::vector< double > &  value)

Set the new JointAngles of the UserWaypoint.

Parameters
newJointAngles

Definition at line 12 of file UserWaypoint.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPose()

void setPose ( const PoseBasePtr &  value)

Set the new PoseBase of the UserWaypoint.

Parameters
newPoseBasePtr

Definition at line 98 of file UserWaypoint.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTimeOptimalTimestamp()

void setTimeOptimalTimestamp ( double  value)

Set the time optimal timestamp of the UserWaypoint calculate by TrajectoryCalculation.

Parameters
timeoptimal Timestamp

Definition at line 55 of file UserWaypoint.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setUserTimestamp()

void setUserTimestamp ( double  value)

Set the new UserDuration and tests if its greater than timeOptimalTimestamp.

Parameters
usertimestamp

Definition at line 78 of file UserWaypoint.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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