Symptoms when odom header frame and child_frame_id are swapped
In standard odometry messages, pose is in the odom frame while twist is in the child base frame. Swapping them scrambles motion estimates for local planners.
How to test it
Inspect live odometry messages to verify header and child frame names, then drive forward slowly and confirm velocity signs follow right-hand conventions.

ZHILIANHAI