kinova jaco2 控制机械臂动作

c++  kinova jaco2  控制机械臂动作

 

void RobotThread::initPoint1()
{
    pointToSend.Position.Type = ANGULAR_VELOCITY;

    pointToSend.Position.Actuators.Actuator1 = 8;
    pointToSend.Position.Actuators.Actuator2 = 4;
    pointToSend.Position.Actuators.Actuator3 = 9;
    pointToSend.Position.Actuators.Actuator4 = 6;
    pointToSend.Position.Actuators.Actuator5 = 2;
    pointToSend.Position.Actuators.Actuator6 = 28; 

    pointToSend.Position.Fingers.Finger1 = 0;
    pointToSend.Position.Fingers.Finger2 = 0;
    pointToSend.Position.Fingers.Finger3 = 0;
}

 

int(*VCSendBasicTrajectory)(TrajectoryPoint command);

 

VCSendBasicTrajectory = (int(*)(TrajectoryPoint)) GetProcAddress(commandLayer_handle, "SendBasicTrajectory");

 

 

 

 

 

###############################

posted @ 2021-11-20 16:17  西北逍遥  阅读(184)  评论(0编辑  收藏  举报