Package frc.spectrumLib.sim
Interface Mount
public interface Mount
A simulated component that other mechanisms attach to. A mounted mechanism reads these values
each period to work out its own canvas position.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAngle()Current angle in radians.doubleHorizontal displacement from where this mount started, in metres.doubleVertical displacement from where this mount started, in metres.doubleAttachment point X in metres.doubleAttachment point Y in metres.
-
Method Details
-
getMountType
Mount.MountType getMountType() -
getDisplacementX
double getDisplacementX()Horizontal displacement from where this mount started, in metres. -
getDisplacementY
double getDisplacementY()Vertical displacement from where this mount started, in metres. -
getAngle
double getAngle()Current angle in radians. -
getMountX
double getMountX()Attachment point X in metres. -
getMountY
double getMountY()Attachment point Y in metres.
-