The pad was made of a rubberized plu material wrapped around 6 plastic boards. Roughly 3ftx3ft.What do you mean by you launched from a "foldout pad".
What is that?
What's it made of?
What other metal was close by (within a couple of feet)?
What was the parking lot surface below your "foldout pad" made of?
If it was concrete, concrete has metal rebar in it that will usually throw a compass error.
The answers will the likely reveal the cause(s) of the compass/yaw error, prior to launch.
Melaterial of area was gravel and dirt.
DJI is replacing the drone free of charge and it to be a mechanical failure of some sort