Package trclib.subsystem
Class TrcPidConveyor.Parameters
java.lang.Object
trclib.subsystem.TrcPidConveyor.Parameters
- Enclosing class:
- TrcPidConveyor
This class contains all the parameters related to the conveyor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetMaxCapacity
(int capacity) This method sets the maximum number of objects the conveyor can hold.setMovePower
(double power) This method sets the conveyor move power.setObjectDistance
(double distance) This method sets the distance between objects inside the converyor.toString()
This method returns the string format of the PID conveyor parameters.
-
Field Details
-
objectDistance
public double objectDistance -
movePower
public double movePower -
maxCapacity
public int maxCapacity
-
-
Constructor Details
-
Parameters
public Parameters()
-
-
Method Details
-
toString
This method returns the string format of the PID conveyor parameters. -
setObjectDistance
This method sets the distance between objects inside the converyor.- Parameters:
distance
- specifies the distance between objects in the conveyor.- Returns:
- this parameter object.
-
setMovePower
This method sets the conveyor move power.- Parameters:
power
- specifies the motor power to move the object in the conveyor.- Returns:
- this parameter object.
-
setMaxCapacity
This method sets the maximum number of objects the conveyor can hold.- Parameters:
capacity
- specifies maximum number of objects the conveyor can hold.- Returns:
- this parameter object.
-