Package com.marswars.geometry
Class LaunchCalculator.Builder
java.lang.Object
com.marswars.geometry.LaunchCalculator.Builder
- Enclosing class:
- LaunchCalculator
Builder class for convenient configuration of LaunchCalculator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the LaunchCalculatorwithLoggingPrefix(String logging_prefix) Sets the logging prefix for DogLog tunableswithLoopPeriod(double loop_period) Sets the robot loop periodwithMaxDistance(double max_distance) Sets the maximum valid distancewithMinDistance(double min_distance) Sets the minimum valid distancewithPhaseDelay(double phase_delay) Sets the phase delaywithRobotToLauncher(Transform2d transform) Sets the transform from robot center to launcher
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withLoggingPrefix
Sets the logging prefix for DogLog tunables -
withRobotToLauncher
Sets the transform from robot center to launcher -
withLoopPeriod
Sets the robot loop period -
withMinDistance
Sets the minimum valid distance -
withMaxDistance
Sets the maximum valid distance -
withPhaseDelay
Sets the phase delay -
build
Builds the LaunchCalculator
-