Rossby waves and eddy-mean flow interaction in the shallow-water system