src/main/cpp/Modules/TalonFXDiffSwerveModule.cpp
void TalonFXDiffSwerveModule::ConfigureNeutralOnLOS(bool enable) {
	double value = enable ? 0 : 1;
	_master.ConfigSetParameter(
		ParamEnum::eRemoteSensorClosedLoopDisableNeutralOnLOS,
		value,
		0x00,
		0x00,
		kTimeoutMs
	);
}
// ================================================================
// Configure neutral on loss of signal
Configure neutral on loss of signal
Configure neutral on loss of signal
void TalonFXDiffSwerveModule::ConfigureNeutralOnLOS(bool enable) {
	double value = enable ? 0 : 1;
	_master.ConfigSetParameter(
		ParamEnum::eRemoteSensorClosedLoopDisableNeutralOnLOS,
		value,
		0x00,
		0x00,
		kTimeoutMs
	);
}
void TalonFXDiffSwerveModule :: ConfigureNeutralOnLOS ( bool enable ) { double value = enable ? 0 : 1 ; _master . ConfigSetParameter ( ParamEnum :: eRemoteSensorClosedLoopDisableNeutralOnLOS , value , 0x00 , 0x00 , kTimeoutMs ) ; }
Configure neutral on loss of signal
Configure neutral on loss of signal