Being a retired plumber, I would remove the carpet, and place some type of drip pan under the washer.....I have seen far too many washer leaks that destroyed flooring under them. (In residential uses.) In a moving, shaking mobile RV, probably even more important. just my opinion.
Joe & Sandy
2015 Chevy 2500HD Crew Cab 4X4 6.0 "Gasser"
2014 Wildwood Heritage Glen 282RK TT
2018 "FROG!" To Alaska