19 #ifndef ROBOTIS_MNAMIPULATOR_TRAJECTORY_GENERATOR_H_ 20 #define ROBOTIS_MNAMIPULATOR_TRAJECTORY_GENERATOR_H_ 27 #if defined(__OPENCR__) 32 #include <eigen3/Eigen/Eigen> 33 #include <eigen3/Eigen/LU> 34 #include <eigen3/Eigen/QR> 74 bool makeJointTrajectory(
double move_time,
78 Eigen::MatrixXd getMinimumJerkCoefficient();
99 bool makeTaskTrajectory(
double move_time,
103 Eigen::MatrixXd getMinimumJerkCoefficient();
131 void setMoveTime(
double move_time);
132 void setPresentTime(
double present_time);
133 void setStartTimeToPresentTime();
134 void setStartTime(
double start_time);
135 double getMoveTime();
136 double getTickTime();
151 void setCustomTrajectoryOption(
Name trajectory_name,
const void* arg);
152 void setPresentControlToolName(
Name present_control_tool_name);
153 Name getPresentCustomTrajectoryName();
154 Name getPresentControlToolName();
160 void updatePresentWaypoint(
Kinematics* kinematics);
161 void setPresentJointWaypoint(
JointWaypoint joint_value_vector);
162 void setPresentTaskWaypoint(
Name tool_name,
TaskWaypoint tool_position_value_vector);
190 bool makeCustomTrajectory(
Name trajectory_name,
JointWaypoint start_way_point,
const void *arg);
197 bool makeCustomTrajectory(
Name trajectory_name,
TaskWaypoint start_way_point,
const void *arg);
205 bool setToolGoalPosition(
Name tool_name,
double tool_goal_position);
211 bool setToolGoalValue(
Name tool_name,
JointValue tool_goal_value);
217 double getToolGoalPosition(
Name tool_name);
222 #endif // ROBOTIS_MNAMIPULATOR_TRAJECTORY_GENERATOR_H_
Name present_custom_trajectory_name_
enum robotis_manipulator::_TrajectoryType TrajectoryType
Eigen::MatrixXd minimum_jerk_coefficient_
void calcCoefficient(Point start, Point goal, double move_time)
Eigen::VectorXd getCoefficient()
Name present_control_tool_name_
std::map< Name, CustomTaskTrajectory * > cus_task_
std::vector< JointValue > JointWaypoint
std::map< Name, CustomJointTrajectory * > cus_joint_
Eigen::MatrixXd minimum_jerk_coefficient_
Eigen::VectorXd coefficient_
MinimumJerk minimum_jerk_trajectory_generator_
TrajectoryType trajectory_type_
MinimumJerk minimum_jerk_trajectory_generator_
uint8_t coefficient_size_
uint8_t coefficient_size_