What about washing all the other places where baby's poop can get? (Legs, feet, hands, arms with some difficulty, all the way up the back, etc)
You can pretty much put water everywhere on a human body, as long as you make sure that they can still breath.
Legs and arms and the back etc are fairly trivial to clean with a showerhead. Skinfolds are where I would expect problems.
Btw, your system doesn't need to handle all corner cases of cleaning to be useful. It needs to not hurt anyone (in all cases); handle most common cases of cleaning; and ideally alert you when it can't clean some spots.
But even a system that can't alert you is still useful for a parent, because the parent can still look over the child afterwards.
But perhaps sons are worse?
I suspect the shooting guns robots will be used against populations the owner considers sub-human, and reliability (accuracy in this context) is not a concern as long as it doesn't turn around 180degs.
Whether you consider your opponent in a war sub-human or not is completely irrelevant to all the engineering problems you have to solve here.
Reliability is absolutely important, because you want that opposing tank or helicopter or soldier etc to no longer be opposing you. (But, of course, reliability is only one aspect, and engineers make lots and lots of trade-offs.)
What context do you have in mind where you need a robot to shoot people?
That machine will look like a bean bag couch in rough shape of a giant human hand, with few of cooperative work robotic arms. The couch part hugs and secures all limbs of the baby to into the party escort submission position, then the cobots move in to find the disassembly markers on the diaper to tear it open to remove it. Then a showerhead, then a hair dryer, then baby powder sprayer can be brought out and ran to clean any residues and take care of rashes. Finally, the new diaper can be brought in, baby wrapped, and the double sided tapes on it lightly pressed on to secure it.
The entire machine would probably cost less than 10 million USD per unit if mass produced at reasonable scales, and most technological elements needed in such machines would be readily available.