Пример #1
0
                /**
                 * Set the declination for compass. Declination is the difference between
                 * Earth Magnetic north, and the geographic "True North".
                 *
                 * @param angleDegOffset  Degrees to set Compass Declination to.
                 * @param timeoutMs
                 *            Timeout value in ms. If nonzero, function will wait for
                 *            config success and report an error if it times out.
                 *            If zero, no blocking or checking is performed.
                 * @return Error Code generated by function. 0 indicates no error.
                 */
                public ErrorCode SetCompassDeclination(float angleDegOffset, int timeoutMs)
                {
                    ErrorCode retval = _ll.SetCompassDeclination(angleDegOffset, timeoutMs);

                    return(retval);
                }