updateError

public void updateError(double error)

As opposed to updating position against a target position, this just sets the error to some specified value.

Parameters

error

The error specified.