コード例 #1
0
                /**
                 * Gets the period of the given status frame.
                 *
                 * @param frame
                 *            Frame to get the period of.
                 * @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 Period of the given status frame.
                 */
                public int GetStatusFramePeriod(PigeonIMU_StatusFrame frame, int timeoutMs)
                {
                    int retval;

                    _ll.GetStatusFramePeriod(frame, out retval, timeoutMs);
                    return(retval);
                }