code/WPILib/AnalogTrigger.cpp
/**
 * Configure the analog trigger to use the averaged vs. raw values.
 * If the value is true, then the averaged value is selected for the analog trigger, otherwise
 * the immediate value is used.
 */
Configure the analog trigger to use the averaged vs. raw values.
If the value is true, then the averaged value is selected for the analog trigger, otherwise
the immediate value is used.
Configure the analog trigger to use the averaged vs . raw values . If the value is true then the averaged value is selected for the analog trigger otherwise the immediate value is used .
void AnalogTrigger::SetAveraged(bool useAveragedValue)
{
	wpi_assert(m_trigger->readSourceSelect_Filter(&status) == 0);
	m_trigger->writeSourceSelect_Averaged(useAveragedValue, &status);
	wpi_assertCleanStatus(status);
}
void AnalogTrigger :: SetAveraged ( bool useAveragedValue ) { wpi_assert ( m_trigger -> readSourceSelect_Filter ( & status ) == 0 ) ; m_trigger -> writeSourceSelect_Averaged ( useAveragedValue , & status ) ; wpi_assertCleanStatus ( status ) ; }
Configure the analog trigger to use the averaged vs. raw values.
Configure the analog trigger to use the averaged vs . raw values .