Class ProtobufArmFeedforward

java.lang.Object
us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
org.wpilib.math.controller.proto.detail.ProtobufArmFeedforward
All Implemented Interfaces:
Cloneable

public final class ProtobufArmFeedforward extends us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward> implements Cloneable
Protobuf type ProtobufArmFeedforward
  • Method Details

    • newInstance

      public static ProtobufArmFeedforward newInstance()
      Returns:
      a new empty instance of ProtobufArmFeedforward
    • hasKs

      public boolean hasKs()
      optional double ks = 1;
      Returns:
      whether the ks field is set
    • clearKs

      public ProtobufArmFeedforward clearKs()
      optional double ks = 1;
      Returns:
      this
    • getKs

      public double getKs()
      optional double ks = 1;
      Returns:
      the ks
    • setKs

      public ProtobufArmFeedforward setKs(double value)
      optional double ks = 1;
      Parameters:
      value - the ks to set
      Returns:
      this
    • hasKg

      public boolean hasKg()
      optional double kg = 2;
      Returns:
      whether the kg field is set
    • clearKg

      public ProtobufArmFeedforward clearKg()
      optional double kg = 2;
      Returns:
      this
    • getKg

      public double getKg()
      optional double kg = 2;
      Returns:
      the kg
    • setKg

      public ProtobufArmFeedforward setKg(double value)
      optional double kg = 2;
      Parameters:
      value - the kg to set
      Returns:
      this
    • hasKv

      public boolean hasKv()
      optional double kv = 3;
      Returns:
      whether the kv field is set
    • clearKv

      public ProtobufArmFeedforward clearKv()
      optional double kv = 3;
      Returns:
      this
    • getKv

      public double getKv()
      optional double kv = 3;
      Returns:
      the kv
    • setKv

      public ProtobufArmFeedforward setKv(double value)
      optional double kv = 3;
      Parameters:
      value - the kv to set
      Returns:
      this
    • hasKa

      public boolean hasKa()
      optional double ka = 4;
      Returns:
      whether the ka field is set
    • clearKa

      public ProtobufArmFeedforward clearKa()
      optional double ka = 4;
      Returns:
      this
    • getKa

      public double getKa()
      optional double ka = 4;
      Returns:
      the ka
    • setKa

      public ProtobufArmFeedforward setKa(double value)
      optional double ka = 4;
      Parameters:
      value - the ka to set
      Returns:
      this
    • hasDt

      public boolean hasDt()
      optional double dt = 5;
      Returns:
      whether the dt field is set
    • clearDt

      public ProtobufArmFeedforward clearDt()
      optional double dt = 5;
      Returns:
      this
    • getDt

      public double getDt()
      optional double dt = 5;
      Returns:
      the dt
    • setDt

      public ProtobufArmFeedforward setDt(double value)
      optional double dt = 5;
      Parameters:
      value - the dt to set
      Returns:
      this
    • copyFrom

      Specified by:
      copyFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • mergeFrom

      Overrides:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • clear

      public ProtobufArmFeedforward clear()
      Specified by:
      clear in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • clearQuick

      public ProtobufArmFeedforward clearQuick()
      Overrides:
      clearQuick in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • writeTo

      public void writeTo(us.hebi.quickbuf.ProtoSink output) throws IOException
      Specified by:
      writeTo in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
      Throws:
      IOException
    • computeSerializedSize

      protected int computeSerializedSize()
      Specified by:
      computeSerializedSize in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • mergeFrom

      public ProtobufArmFeedforward mergeFrom(us.hebi.quickbuf.ProtoSource input) throws IOException
      Specified by:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
      Throws:
      IOException
    • writeTo

      public void writeTo(us.hebi.quickbuf.JsonSink output) throws IOException
      Overrides:
      writeTo in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
      Throws:
      IOException
    • mergeFrom

      public ProtobufArmFeedforward mergeFrom(us.hebi.quickbuf.JsonSource input) throws IOException
      Overrides:
      mergeFrom in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
      Throws:
      IOException
    • clone

      public ProtobufArmFeedforward clone()
      Specified by:
      clone in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class us.hebi.quickbuf.ProtoMessage<ProtobufArmFeedforward>
    • parseFrom

      public static ProtobufArmFeedforward parseFrom(byte[] data) throws us.hebi.quickbuf.InvalidProtocolBufferException
      Throws:
      us.hebi.quickbuf.InvalidProtocolBufferException
    • parseFrom

      public static ProtobufArmFeedforward parseFrom(us.hebi.quickbuf.ProtoSource input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProtobufArmFeedforward parseFrom(us.hebi.quickbuf.JsonSource input) throws IOException
      Throws:
      IOException
    • getFactory

      public static us.hebi.quickbuf.MessageFactory<ProtobufArmFeedforward> getFactory()
      Returns:
      factory for creating ProtobufArmFeedforward messages
    • getDescriptor

      public static us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()
      Returns:
      this type's descriptor.