/** * 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); }