accurate foam pose estimation