Influence of uniaxial anisotropy on domain wall motion driven by spin torque