Public Member Functions | Private Attributes | List of all members
robotis_manipulator::Trajectory Class Reference

#include <robotis_manipulator_trajectory_generator.h>

Public Member Functions

void addCustomTrajectory (Name trajectory_name, CustomJointTrajectory *custom_trajectory)
 
void addCustomTrajectory (Name trajectory_name, CustomTaskTrajectory *custom_trajectory)
 
bool checkTrajectoryType (TrajectoryType trajectory_type)
 
CustomJointTrajectorygetCustomJointTrajectory (Name name)
 
CustomTaskTrajectorygetCustomTaskTrajectory (Name name)
 
JointTrajectory getJointTrajectory ()
 
ManipulatorgetManipulator ()
 
double getMoveTime ()
 
Name getPresentControlToolName ()
 
Name getPresentCustomTrajectoryName ()
 
JointWaypoint getPresentJointWaypoint ()
 
TaskWaypoint getPresentTaskWaypoint (Name tool_name)
 
TaskTrajectory getTaskTrajectory ()
 
double getTickTime ()
 
double getToolGoalPosition (Name tool_name)
 getToolGoalPosition More...
 
JointValue getToolGoalValue (Name tool_name)
 
void initTrajectoryWaypoint (Manipulator actual_manipulator, Kinematics *kinematics=nullptr)
 
bool makeCustomTrajectory (Name trajectory_name, JointWaypoint start_way_point, const void *arg)
 makeCustomTrajectory More...
 
bool makeCustomTrajectory (Name trajectory_name, TaskWaypoint start_way_point, const void *arg)
 makeCustomTrajectory More...
 
bool makeJointTrajectory (JointWaypoint start_way_point, JointWaypoint goal_way_point)
 makeJointTrajectory More...
 
bool makeTaskTrajectory (TaskWaypoint start_way_point, TaskWaypoint goal_way_point)
 makeTaskTrajectory More...
 
JointWaypoint removeWaypointDynamicData (JointWaypoint value)
 
TaskWaypoint removeWaypointDynamicData (TaskWaypoint value)
 
void setCustomTrajectoryOption (Name trajectory_name, const void *arg)
 
void setManipulator (Manipulator manipulator)
 
void setMoveTime (double move_time)
 
void setPresentControlToolName (Name present_control_tool_name)
 
void setPresentJointWaypoint (JointWaypoint joint_value_vector)
 
void setPresentTaskWaypoint (Name tool_name, TaskWaypoint tool_position_value_vector)
 
void setPresentTime (double present_time)
 
void setStartTime (double start_time)
 
void setStartTimeToPresentTime ()
 
bool setToolGoalPosition (Name tool_name, double tool_goal_position)
 setToolGoalPosition More...
 
bool setToolGoalValue (Name tool_name, JointValue tool_goal_value)
 setToolGoalValue More...
 
void setTrajectoryType (TrajectoryType trajectory_type)
 
 Trajectory ()
 
void updatePresentWaypoint (Kinematics *kinematics)
 
 ~Trajectory ()
 

Private Attributes

std::map< Name, CustomJointTrajectory * > cus_joint_
 
std::map< Name, CustomTaskTrajectory * > cus_task_
 
JointTrajectory joint_
 
Manipulator manipulator_
 
Name present_control_tool_name_
 
Name present_custom_trajectory_name_
 
TaskTrajectory task_
 
Time trajectory_time_
 
TrajectoryType trajectory_type_
 

Detailed Description

Definition at line 111 of file robotis_manipulator_trajectory_generator.h.

Constructor & Destructor Documentation

robotis_manipulator::Trajectory::Trajectory ( )
inline

Definition at line 127 of file robotis_manipulator_trajectory_generator.h.

robotis_manipulator::Trajectory::~Trajectory ( )
inline

Definition at line 128 of file robotis_manipulator_trajectory_generator.h.

Member Function Documentation

void Trajectory::addCustomTrajectory ( Name  trajectory_name,
CustomJointTrajectory custom_trajectory 
)
void Trajectory::addCustomTrajectory ( Name  trajectory_name,
CustomTaskTrajectory custom_trajectory 
)
bool Trajectory::checkTrajectoryType ( TrajectoryType  trajectory_type)
CustomJointTrajectory * Trajectory::getCustomJointTrajectory ( Name  name)
CustomTaskTrajectory * Trajectory::getCustomTaskTrajectory ( Name  name)
JointTrajectory Trajectory::getJointTrajectory ( )
Manipulator * Trajectory::getManipulator ( )
double Trajectory::getMoveTime ( )
Name Trajectory::getPresentControlToolName ( )
Name Trajectory::getPresentCustomTrajectoryName ( )
JointWaypoint Trajectory::getPresentJointWaypoint ( )
TaskWaypoint Trajectory::getPresentTaskWaypoint ( Name  tool_name)
TaskTrajectory Trajectory::getTaskTrajectory ( )
double Trajectory::getTickTime ( )
double Trajectory::getToolGoalPosition ( Name  tool_name)

getToolGoalPosition

Parameters
tool_name
Returns

Definition at line 490 of file robotis_manipulator_trajectory_generator.cpp.

JointValue Trajectory::getToolGoalValue ( Name  tool_name)
void Trajectory::initTrajectoryWaypoint ( Manipulator  actual_manipulator,
Kinematics kinematics = nullptr 
)
bool Trajectory::makeCustomTrajectory ( Name  trajectory_name,
JointWaypoint  start_way_point,
const void *  arg 
)

makeCustomTrajectory

Parameters
trajectory_name
start_way_point
arg

Definition at line 446 of file robotis_manipulator_trajectory_generator.cpp.

bool Trajectory::makeCustomTrajectory ( Name  trajectory_name,
TaskWaypoint  start_way_point,
const void *  arg 
)

makeCustomTrajectory

Parameters
trajectory_name
start_way_point
arg

Definition at line 461 of file robotis_manipulator_trajectory_generator.cpp.

bool Trajectory::makeJointTrajectory ( JointWaypoint  start_way_point,
JointWaypoint  goal_way_point 
)

makeJointTrajectory

Parameters
start_way_point
goal_way_point

Definition at line 436 of file robotis_manipulator_trajectory_generator.cpp.

bool Trajectory::makeTaskTrajectory ( TaskWaypoint  start_way_point,
TaskWaypoint  goal_way_point 
)

makeTaskTrajectory

Parameters
start_way_point
goal_way_point

Definition at line 441 of file robotis_manipulator_trajectory_generator.cpp.

JointWaypoint Trajectory::removeWaypointDynamicData ( JointWaypoint  value)
TaskWaypoint Trajectory::removeWaypointDynamicData ( TaskWaypoint  value)
void Trajectory::setCustomTrajectoryOption ( Name  trajectory_name,
const void *  arg 
)
void Trajectory::setManipulator ( Manipulator  manipulator)
void Trajectory::setMoveTime ( double  move_time)
void Trajectory::setPresentControlToolName ( Name  present_control_tool_name)
void Trajectory::setPresentJointWaypoint ( JointWaypoint  joint_value_vector)
void Trajectory::setPresentTaskWaypoint ( Name  tool_name,
TaskWaypoint  tool_position_value_vector 
)
void Trajectory::setPresentTime ( double  present_time)
void Trajectory::setStartTime ( double  start_time)
void Trajectory::setStartTimeToPresentTime ( )
bool Trajectory::setToolGoalPosition ( Name  tool_name,
double  tool_goal_position 
)

setToolGoalPosition

Parameters
tool_name
tool_goal_position

Definition at line 477 of file robotis_manipulator_trajectory_generator.cpp.

bool Trajectory::setToolGoalValue ( Name  tool_name,
JointValue  tool_goal_value 
)

setToolGoalValue

Parameters
tool_name
tool_goal_value

Definition at line 484 of file robotis_manipulator_trajectory_generator.cpp.

void Trajectory::setTrajectoryType ( TrajectoryType  trajectory_type)
void Trajectory::updatePresentWaypoint ( Kinematics kinematics)

Member Data Documentation

std::map<Name, CustomJointTrajectory *> robotis_manipulator::Trajectory::cus_joint_
private

Definition at line 120 of file robotis_manipulator_trajectory_generator.h.

std::map<Name, CustomTaskTrajectory *> robotis_manipulator::Trajectory::cus_task_
private

Definition at line 121 of file robotis_manipulator_trajectory_generator.h.

JointTrajectory robotis_manipulator::Trajectory::joint_
private

Definition at line 118 of file robotis_manipulator_trajectory_generator.h.

Manipulator robotis_manipulator::Trajectory::manipulator_
private

Definition at line 116 of file robotis_manipulator_trajectory_generator.h.

Name robotis_manipulator::Trajectory::present_control_tool_name_
private

Definition at line 124 of file robotis_manipulator_trajectory_generator.h.

Name robotis_manipulator::Trajectory::present_custom_trajectory_name_
private

Definition at line 123 of file robotis_manipulator_trajectory_generator.h.

TaskTrajectory robotis_manipulator::Trajectory::task_
private

Definition at line 119 of file robotis_manipulator_trajectory_generator.h.

Time robotis_manipulator::Trajectory::trajectory_time_
private

Definition at line 115 of file robotis_manipulator_trajectory_generator.h.

TrajectoryType robotis_manipulator::Trajectory::trajectory_type_
private

Definition at line 114 of file robotis_manipulator_trajectory_generator.h.


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


robotis_manipulator
Author(s): Hye-Jong KIM , Darby Lim , Yong-Ho Na , Ryan Shim
autogenerated on Sat Oct 3 2020 03:14:51