Package com.marswars.geometry
Class TightRope
java.lang.Object
com.marswars.geometry.TightRope
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
pose_a_
-
pose_b_
-
-
Constructor Details
-
TightRope
Create a TightRope between two poses- Parameters:
pose_a- Pose2d of one end of the tightropepose_b- Pose2d of the other end of the tightropename- Name of the tightrope for logging
-
-
Method Details
-
logPoints
public void logPoints()Log the two endpoints of the tightrope. These can be visualized using AdvantageScope to confirm that the tightropes are properly defined. -
getName
Get the name of the tightrope- Returns:
- the name of the tightrope
-