Class Twist2D


  • public class Twist2D
    extends Object
    2D twist data structure class
    • Field Detail

      • ZERO

        public static final Twist2D ZERO
    • Constructor Detail

      • Twist2D

        public Twist2D​(double x,
                       double y,
                       double omega)
        Parameters:
        x - Linear velocity in X direction in meters per second
        y - Linear velocity in Y direction in meters per second
        omega - Angular velocity counter-clockwise in radians per second
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • getOmega

        public double getOmega()
      • putToNetworkTable

        public void putToNetworkTable​(String networkTablesPath)