Officers wore virtual reality goggles and portable backpacks as they performed training scenarios with a focus on mental health.