19 #ifndef ROBOTIS_MANIPULATOR_MANAGER_H_ 20 #define ROBOTIS_MANIPULATOR_MANAGER_H_ 22 #if defined(__OPENCR__) 25 #include <eigen3/Eigen/Eigen> 39 virtual void setOption(
const void *arg) = 0;
52 virtual bool setEnvironments(
STRING param_name,
const void *arg) = 0;
53 virtual bool solveForwardDynamics(
Manipulator *manipulator, std::map<Name, double> joint_torque) = 0;
54 virtual bool solveInverseDynamics(
Manipulator manipulator, std::map<Name, double>* joint_torque) = 0;
66 virtual void init(std::vector<uint8_t> actuator_id,
const void *arg) = 0;
67 virtual void setMode(std::vector<uint8_t> actuator_id,
const void *arg) = 0;
68 virtual std::vector<uint8_t> getId() = 0;
70 virtual void enable() = 0;
71 virtual void disable() = 0;
73 virtual bool sendJointActuatorValue(std::vector<uint8_t> actuator_id, std::vector<ActuatorValue> value_vector) = 0;
74 virtual std::vector<ActuatorValue> receiveJointActuatorValue(std::vector<uint8_t> actuator_id) = 0;
76 bool findId(uint8_t actuator_id);
77 bool getEnabledState();
88 virtual void init(uint8_t actuator_id,
const void *arg) = 0;
89 virtual void setMode(
const void *arg) = 0;
90 virtual uint8_t getId() = 0;
92 virtual void enable() = 0;
93 virtual void disable() = 0;
98 bool findId(uint8_t actuator_id);
99 bool getEnabledState();
109 virtual void makeJointTrajectory(
double move_time,
JointWaypoint start,
const void *arg) = 0;
110 virtual void setOption(
const void *arg) = 0;
120 virtual void makeTaskTrajectory(
double move_time,
TaskWaypoint start,
const void *arg) = 0;
121 virtual void setOption(
const void *arg) = 0;
virtual void solveForwardKinematics(Manipulator *manipulator)=0
virtual bool solveInverseKinematics(Manipulator *manipulator, Name tool_name, Pose target_pose, std::vector< JointValue > *goal_joint_position)=0
void init(const M_string &remappings)
virtual Eigen::MatrixXd jacobian(Manipulator *manipulator, Name tool_name)=0
std::vector< JointValue > JointWaypoint
virtual ~CustomTaskTrajectory()
virtual void setOption(const void *arg)=0
virtual ~CustomJointTrajectory()