ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

基于kinova jaco2机械臂的仿真模拟

2021-11-25 07:31:05  阅读:257  来源: 互联网

标签:仿真 control degree jaco2 will kinova mode angular unit


基于kinova jaco2机械臂的仿真模拟

 

struct AngularInfo
{
    /**
     * As an example if the current control mode is angular position the unit will be degree but if the control mode is angular velocity
     * then the unit will be degree per second.
     * @brief This is the value related to the first actuator. Unit depends on the context it's been used.
     */
    float Actuator1;

    /**
     * As an example if the current control mode is angular position the unit will be degree but if the control mode is angular velocity
     * then the unit will be degree per second.
     * @brief This is the value related to the second actuator. Unit depends on the context it's been used.
     */
    float Actuator2;

    /**
     * As an example if the current control mode is angular position the unit will be degree but if the control mode is angular velocity
     * then the unit will be degree per second.
     * @brief This is the value related to the third actuator. Unit depends on the context it's been used.
     */
    float Actuator3;

    /**
     * As an example if the current control mode is angular position the unit will be degree but if the control mode is angular velocity
     * then the unit will be degree per second.
     * @brief This is the value related to the actuator #4. Unit depends on the context it's been used.
     */
    float Actuator4;

    /**
     * As an example if the current control mode is angular position the unit will be degree but if the control mode is angular velocity
     * then the unit will be degree per second.
     * @brief This is the value related to the actuator #5. Unit depends on the context it's been used.
     */
    float Actuator5;

    /**
     * As an example if the current control mode is angular position the unit will be degree but if the control mode is angular velocity
     * then the unit will be degree per second.
     * @brief This is the value related to the actuator #6. Unit depends on the context it's been used.
     */
    float Actuator6;

    /**
    * As an example if the current control mode is angular position the unit will be degree but if the control mode is angular velocity
    * then the unit will be degree per second.
    * @brief This is the value related to the actuator #7. Unit depends on the context it's been used.
    */
    float Actuator7;


    /**
     * This method will initialises all the values to 0
     */
    void InitStruct()
    {
        Actuator1 = 0.0f;
        Actuator2 = 0.0f;
        Actuator3 = 0.0f;
        Actuator4 = 0.0f;
        Actuator5 = 0.0f;
        Actuator6 = 0.0f;
        Actuator7 = 0.0f;
    }
};

 

 

//That is a device you can communicate with via this library.
struct KinovaDevice
{
    //The serial number of the device. If you are communicating with more than 1 device, this will be used to identify
    //the devices.
    char SerialNumber[SERIAL_LENGTH];

    //The model of the device.
    char Model[SERIAL_LENGTH];

    //Those variables represents the code version - Major.Minor.Release
    int VersionMajor;
    int VersionMinor;
    int VersionRelease;

    //The type of the device.
    int DeviceType;

    //This is a device ID used by the API. User should not use it.
    int DeviceID;
};

 

 

 

 

 

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

标签:仿真,control,degree,jaco2,will,kinova,mode,angular,unit
来源: https://www.cnblogs.com/herd/p/15601133.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有