Compass calibration on large vehicle

I want to do some experiments with Pixhawk on my car. I think it’s necessary to make compass calibration to have correct heading, because of large metal body of a car. How can I calibrate compass on it? Is there any workaround about calibrating compass on large vehicles that can’t be rotated against all axis? May it be done with two step calibration: one with common calibration procedure without car and second with common procedure inside a car in the same place and then somehow subtract offsets? After that I think autolearning may help.

First a warning - we the developers strongly recommend AGAINST putting ArduPilot on any vehicle that has a human (or animal for that matter) in it.

For large vehicles the normal method is to have the ArduPilot hardware including all compasses on a small board which can be easily held “near” where its going to be mounted. You can then do a mag cal and then mount the board. After that you can adjust the compass offsets by hand if you need to.

Thanks, Grant.