Base class for prior on gravity Example:
- measurement is direction of gravity in navigation frame nG
- reference is direction of z axis in body frame bF This factor will give zero error if nG is opposite direction of bF
Version of GravityFactor for Rot3
Version of GravityFactor for Pose3