From documentation:
Sets the value for this property at the current time; or the default value if this property is not animatable. This function differs from setRawValue() in that it takes into account any controllers on the property such that calling setValue( getValue() ) should not change the value of the property.
The red bold part is not true. When I have Figure in default pose, and when I use pose controler which sets rotation of bone, this code will change the rotation. It will actualy double the value.
var b = Scene.getPrimarySelection();
print(b.getLabel());
b.getZRotControl().setValue(b.getZRotControl().getValue());
And the setRawValues does not exists:
TypeError: Result of expression 'b.getZRotControl().setRawValue' [undefined] is not a function.