Class Transform2D


  • public class Transform2D
    extends Object
    2D pose data structure class
    • Constructor Detail

      • Transform2D

        public Transform2D​(double x,
                           double y,
                           double theta)
        Parameters:
        x - Distance in meters in the X direction
        y - Distance in meters in the Y direction
        theta - Angle in radians between -PI and PI
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • getTheta

        public double getTheta()
      • getPositionVector

        public org.apache.commons.math3.geometry.euclidean.twod.Vector2D getPositionVector()
      • putToNetworkTable

        public void putToNetworkTable​(String networkTablesPath)