def reset_rotation(axis='all', index=1):
    if (not isinstance(index, (int, float))):
        return
    if (axis == 'x'):
        neurons_request('m_motion_sensor', 'reset_x', (), index)
    elif (axis == 'y'):
        neurons_request('m_motion_sensor', 'reset_y', (), index)
    elif (axis == 'z'):
        neurons_request('m_motion_sensor', 'reset_z', (), index)
    elif (axis == 'all'):
        neurons_request('m_motion_sensor', 'reset_x', (), index)
        neurons_request('m_motion_sensor', 'reset_y', (), index)
        neurons_request('m_motion_sensor', 'reset_z', (), index)
def reset_rotation(axis='all', index=1):
    if (not isinstance(index, (int, float))):
        return
    if (axis == 'x'):
        neurons_request('m_motion_sensor', 'reset_x', (), index)
    elif (axis == 'y'):
        neurons_request('m_motion_sensor', 'reset_y', (), index)
    elif (axis == 'z'):
        neurons_request('m_motion_sensor', 'reset_z', (), index)
    elif (axis == 'all'):
        neurons_request('m_motion_sensor', 'reset_x', (), index)
        neurons_request('m_motion_sensor', 'reset_y', (), index)
        neurons_request('m_motion_sensor', 'reset_z', (), index)