def get_pitch(index=1):
    if (not isinstance(index, (int, float))):
        return 0
    value = neurons_blocking_read('m_motion_sensor', 'get_pitch', (INQUIRE_ID, PITCH_ID), index)
    if (value != None):
        return value[0]
    else:
        return 0
def get_pitch(index=1):
    if (not isinstance(index, (int, float))):
        return 0
    value = neurons_blocking_read('m_motion_sensor', 'get_pitch', (INQUIRE_ID, PITCH_ID), index)
    if (value != None):
        return value[0]
    else:
        return 0