-
Method Summary
Combine two AStreams by adding their results together
Create a new FilteredAStream from the current stream
Create a new PollingAStream from the current stream
Combine two AStreams by subtracting their results together
-
Method Details
-
-
-
-
get
- Specified by:
get
in interface Supplier<Angle>
- Returns:
- next value in the stream
-
filtered
Create a new FilteredAStream from the current stream
- Parameters:
filters
- the filters you want to apply to the AStream
- Returns:
- The FilteredAStream
-
polling
Create a new PollingAStream from the current stream
- Parameters:
dt
- the time inbetween each poll of the AStream
- Returns:
- The PollingAStream
-
add
Combine two AStreams by adding their results together
- Parameters:
other
- other AStream to add to this one
- Returns:
- the resulting AStream after the sum
-
sub
Combine two AStreams by subtracting their results together
- Parameters:
other
- other AStream to subtract from this one
- Returns:
- the resulting AStream after the subtraction