code/WPILib/AnalogTrigger.cpp
/**
 * Configure the analog trigger to use a filtered value.
 * The analog trigger will operate with a 3 point average rejection filter. This is designed to
 * help with 360 degree pot applications for the period where the pot crosses through zero.
 */
Configure the analog trigger to use a filtered value.
The analog trigger will operate with a 3 point average rejection filter. This is designed to
help with 360 degree pot applications for the period where the pot crosses through zero.
Configure the analog trigger to use a filtered value . The analog trigger will operate with a 3 point average rejection filter . This is designed to help with 360 degree pot applications for the period where the pot crosses through zero .
void AnalogTrigger::SetFiltered(bool useFilteredValue)
{
	wpi_assert(m_trigger->readSourceSelect_Averaged(&status) == 0);
	m_trigger->writeSourceSelect_Filter(useFilteredValue, &status);
	wpi_assertCleanStatus(status);
}
void AnalogTrigger :: SetFiltered ( bool useFilteredValue ) { wpi_assert ( m_trigger -> readSourceSelect_Averaged ( & status ) == 0 ) ; m_trigger -> writeSourceSelect_Filter ( useFilteredValue , & status ) ; wpi_assertCleanStatus ( status ) ; }
Configure the analog trigger to use a filtered value.
Configure the analog trigger to use a filtered value .