private byte radiansToBrads(double angleRadians){
  return (byte)Math.round(angleRadians * 128 / Math.PI);
}

private byte radiansToBrads ( double angleRadians ) { return ( byte ) Math . round ( angleRadians * 128 / Math . PI ) ; }
converts angle in radians to angle in binary radians
