/** * Configures the period of each velocity sample. * Every 1ms a position value is sampled, and the delta between that sample * and the position sampled kPeriod ms ago is inserted into a filter. * kPeriod is configured with this function. * * @param period * Desired period for the velocity measurement. @see * #VelocityMeasPeriod * @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 ConfigVelocityMeasurementPeriod(CANifierVelocityMeasPeriod period, int timeoutMs) { ErrorCode retval = _ll.ConfigVelocityMeasurementPeriod(period, timeoutMs); return(retval); }