use of com.neuronrobotics.sdk.commands.bcs.pid.ResetPIDCommand in project java-bowler by NeuronRobotics.
the class LegacyPidNamespaceImp method ResetPIDChannel.
/* (non-Javadoc)
* @see com.neuronrobotics.sdk.namespace.bcs.pid.IPidControlNamespace#ResetPIDChannel
*/
@Override
public boolean ResetPIDChannel(int group, int valueToSetCurrentTo) {
BowlerDatagram rst = getDevice().send(new ResetPIDCommand((char) group, valueToSetCurrentTo));
if (rst == null)
return false;
int val = GetPIDPosition(group);
firePIDResetEvent(group, val);
return true;
}
Aggregations