Ejemplo n.º 1
0
    /**
     * Gathers current state of angles information from encoder objects
     *
     * @returns    most recent angles information from encoder objects
     */
    public float[] Get_device_velocities(float[] angularVelocities)
    {
        mechanism.VelocityCalculation(angularVelocities);
        float[] endEffectorVelocity = mechanism.Get_velocity();

        return(endEffectorVelocity);
    }