create an angle sensor around the given function that returns the angle . concode_field_sep PlaceHolder placeHolder concode_field_sep AngleSensor zero concode_elem_sep AngleSensor invert concode_elem_sep double getAngle concode_elem_sep double computeAngleChangeTo
AngleSensor function ( DoubleSupplier arg0 ) { return new AngleSensor ( ) { private volatile double zero = 0 ; @ Override public double getAngle ( ) { return arg0 . getAsDouble ( ) - zero ; } @ Override public AngleSensor zero ( ) { zero = arg0 . getAsDouble ( ) ; return this ; } } ; }