Ejemplo n.º 1
0
        public void SendRelJointCommand(JacoJointCommand cmd)
        {
            m_LastCmd = DateTime.Now;
            m_Arm.ConfigurationsManager.SetAngularControl();

            if (cmd.shoulder_pitch < -CMD_EPSILON)
            {
                m_Cmd.InclineLR = -1;
            }
            else if (cmd.shoulder_pitch > CMD_EPSILON)
            {
                m_Cmd.InclineLR = 1;
            }
            else
            {
                m_Cmd.InclineLR = 0;
            }
        }
Ejemplo n.º 2
0
        public void SendRelJointCommand(JacoJointCommand cmd)
        {
            m_LastCmd = DateTime.Now;
            m_Arm.ConfigurationsManager.SetAngularControl();

            if (cmd.shoulder_pitch < -CMD_EPSILON)
                m_Cmd.InclineLR = -1;
            else if (cmd.shoulder_pitch > CMD_EPSILON)
                m_Cmd.InclineLR = 1;
            else
                m_Cmd.InclineLR = 0;
        }